Template:UserboxDoc3: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(Additionally disabling categorisation)
(Restoring)
 
Line 11: Line 11:
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}&#61;}}{{{7}}}<nowiki>|</nowiki>{{Switch|{{{3}}}|case: 2=|default={{{3}}}&#61;}}{{{8}}}<nowiki>|</nowiki>{{Switch|{{{5}}}|case: 3=|default={{{5}}}&#61;}}{{{9}}}'''<nowiki>}}</nowiki>}}
{{CodeInline|<nowiki>{{</nowiki>'''{{PAGENAME}}<nowiki>|</nowiki>{{Switch|{{{1}}}|case: 1=|default={{{1}}}&#61;}}{{{7}}}<nowiki>|</nowiki>{{Switch|{{{3}}}|case: 2=|default={{{3}}}&#61;}}{{{8}}}<nowiki>|</nowiki>{{Switch|{{{5}}}|case: 3=|default={{{5}}}&#61;}}{{{9}}}'''<nowiki>}}</nowiki>}}


<noinclude>this would produce
this would produce
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{10|{{{7}}}}}}|{{{3}}}={{{11|{{{8}}}}}}|{{{5}}}={{{12|{{{9}}}}}} }}</includeonly></noinclude>
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{10|{{{7}}}}}}|{{{3}}}={{{11|{{{8}}}}}}|{{{5}}}={{{12|{{{9}}}}}} }}</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

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