Template:UserboxDoc1: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
No edit summary
(Restoring)
 
Line 8: Line 8:
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}&#61;}}{{{3}}}'''<nowiki>}}</nowiki>}}
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}&#61;}}{{{3}}}'''<nowiki>}}</nowiki>}}


<noinclude>this would produce
this would produce
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{4|{{{3}}}}}} }}</includeonly></noinclude>
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{4|{{{3}}}}}} }}</includeonly>


__NOEDITSECTION__ __NOTOC__<noinclude>[[Category:{{ucfirst:{{{box|userbox}}}es}}|*{{PAGENAME}}]]</noinclude>
__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