Template:UserboxDoc3: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
The Rooster (talk | contribs) (Additionally disabling categorisation) |
The Rooster (talk | contribs) (Restoring) |
||
Line 11: | Line 11: | ||
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}=}}{{{7}}}<nowiki>|</nowiki>{{Switch|{{{3}}}|case: 2=|default={{{3}}}=}}{{{8}}}<nowiki>|</nowiki>{{Switch|{{{5}}}|case: 3=|default={{{5}}}=}}{{{9}}}'''<nowiki>}}</nowiki>}} | {{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}=}}{{{7}}}<nowiki>|</nowiki>{{Switch|{{{3}}}|case: 2=|default={{{3}}}=}}{{{8}}}<nowiki>|</nowiki>{{Switch|{{{5}}}|case: 3=|default={{{5}}}=}}{{{9}}}'''<nowiki>}}</nowiki>}} | ||
this would produce | |||
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{10|{{{7}}}}}}|{{{3}}}={{{11|{{{8}}}}}}|{{{5}}}={{{12|{{{9}}}}}} }}</includeonly | <includeonly>{{ {{PAGENAME}}|{{{1}}}={{{10|{{{7}}}}}}|{{{3}}}={{{11|{{{8}}}}}}|{{{5}}}={{{12|{{{9}}}}}} }}</includeonly> | ||
__NOEDITSECTION__ __NOTOC__ | __NOEDITSECTION__ __NOTOC__[[Category:{{ucfirst:{{{box|userbox}}}es}}|<noinclude>*</noinclude>{{PAGENAME}}]] |
Latest revision as of 06:46, 10 June 2010
Forced Newline. Do Not Remove Me.
Usage
Variables
This userbox takes three variables:
- "{{{1}}}" where you should enter {{{2}}}.
- "{{{3}}}" where you should enter {{{4}}}.
- "{{{5}}}" where you should enter {{{6}}}.
For example, if you were to enter "{{{7}}}", "{{{8}}}" and "{{{9}}}" using this code:
{{UserboxDoc3|{{{1}}}={{{7}}}|{{{3}}}={{{8}}}|{{{5}}}={{{9}}}}}
this would produce