Template:UserboxDoc1: Difference between revisions
From The Urban Dead Wiki
Jump to navigationJump to search
The Rooster (talk | contribs) No edit summary |
The Rooster (talk | contribs) (Restoring) |
||
Line 8: | Line 8: | ||
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}=}}{{{3}}}'''<nowiki>}}</nowiki>}} | {{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}=}}{{{3}}}'''<nowiki>}}</nowiki>}} | ||
this would produce | |||
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{4|{{{3}}}}}} }}</includeonly | <includeonly>{{ {{PAGENAME}}|{{{1}}}={{{4|{{{3}}}}}} }}</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
Variable
This userbox takes one variable: "{{{1}}}" where you should enter {{{2}}}.
For example, if you were to enter "{{{3}}}" using this code:
{{UserboxDoc1|{{{1}}}={{{3}}}}}
this would produce