Technical Help

From The Urban Dead Wiki

Jump to: navigation, search

Community PortalGeneral DiscussionWiki QuestionsTechnical HelpFeatured ArticlesDid You KnowHelp Out

Technical Help
The Technical Help page is for more technical questions relating to wiki code.

Questions relating to the game itself should be placed in the FAQ, less technical questions should be placed under Wiki Questions and general discussion should go at the General Discussion page. Please check the Help section to check if your question is answered already.

Not getting a response? Try contacting these knowledgeable users directly:

When starting a new discussion on this page, please add it at the bottom with a relevant title. Please sign all comments using four tides (~~~~), or the sign button.

Older discussions will periodically be moved into archives.

[edit] Pretty new page...

Just set this up - everyone okay with this?

Anyway, is there a way on my user page to make those sidebars always equal the same length in pixels, even when I'll be changing the individual templates (thus just adding a few blank lines not a solution.) Linkthewindow  Talk  02:32, 22 March 2009 (UTC)

Doubt it, though height:ypx can set the height, but if the content is more than the limit set then it will exceed it. --  AHLGTH 02:01, 30 March 2009 (BST)

[edit] Includeonly parsing

I'm stumped by this one, I'm currently attempting to create some boilerplate documentation for flagboxes for consistancy and to reduce server load (less in the noinclude tags)

I've run across something weird with the parser, see Template:FlagboxDoc1 and Template:FlagboxDoc2.

Here's an example with less of the other nasty details of the template:

I want to use a variable call to display some text that may include wiki-code. However I want the text to be displayed and not parsed. So I wrapped the variable in nowiki tags.

<nowiki>{{{1}}}</nowiki>

Of course now the parser doesn't treat the variable as a variable. So I needed the template to accept the variable, and when used spawn some nowiki tags so whatever that variable was called with would not be further parsed. No problem, just wrap the nowiki tags in their own personal escort of includeonly tags, thus the nowiki would only be applied when the template was used, and after the variable had turned into code.

<includeonly><nowiki></includeonly>{{{1}}}<includeonly></includeonly></nowiki>

Even getting my example to work above is being annoying, the closing nowiki should appear inside the includeonly's of course. I figure the combination of nowiki and includeonly tags is screwing up what I think the parser should be doing. Maybe I have to nowiki the nowiki tags to stop them accidentally nowiking the includeonly's?

<includeonly><nowiki><nowiki></includeonly>{{{1}}}<includeonly></nowiki></includeonly></nowiki>

Well, that's just making the parser fail even more, a conglomeration of nowiki tags, including a surrounding pair outside this example is really fucking things up.

I figured maybe escaping some of the angle brackets but I do need the tags evaluated, the usual escaping trick only works for showing tag examples though templates.

This is confusing, but I'll try and round things up:

I want to call a template with a variable that may contain code: EG:

{{TemplateO'Doom|[[Example page|Some Hyperlink]]}}

and I want that displayed as plain text on viewing the page:

[[Example page|Some Hyperlink]]

as opposed to the usual situation where the wiki would then go and turn that into a link like so:

Some Hyperlink

Am I missing something really obvious, or what? -- User:The Rooster RoosterDragon User talk:The Rooster 16:29, 18 July 2009 (BST)

Is it safe to assume that you solved this problem?--The General T Sys U! P! F! 20:49, 11 August 2009 (BST)
Nobody responded, I didn't really solve it but instead used a workaround. I pass the normal version and a nowiki'ed version if needed now. It's not too bad, but it'd be nice to be able to get rid of the redundancy if anybody has some bright ideas. -- User:The Rooster RoosterDragon User talk:The Rooster 23:27, 11 August 2009 (BST)

[edit] Help!

I accidentally uploaded this: Image:Redmoonrise.png. I grabbed the wrong file and I want it deleted! Where do I request this? --SarahElaine 00:42, 11 November 2009 (UTC)

The pages for deletion are found at A/D and A/SD depending on circumstances. I've put this one up for you and it should be sorted shortly, there's nothing more you need to do in this case. -- To know the face of God is to know madness....Praise knowledge! Mischief! Mayhem! The Rogues Gallery! 00:49, 11 November 2009 (UTC)
Personal tools
advertising
project wonderful