Technical Help
From The Urban Dead Wiki
Community Portal – General Discussion – Wiki Questions – Technical Help – Featured Articles – Did You Know – Help 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 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:ypxcan 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:
and I want that displayed as plain text on viewing the page:
as opposed to the usual situation where the wiki would then go and turn that into a link like so:
Am I missing something really obvious, or what? --
RoosterDragon
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)
[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)
