Template:FlagboxDoc3: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>Forced Newline. Do Not Remove Me.</noinclude>
{{UserboxDoc3|box=flagbox|1={{{1}}}|2={{{2}}}|3={{{3}}}|4={{{4}}}|5={{{5}}}|6={{{6}}}|7={{{7}}}|8={{{8}}}|9={{{9}}}|10={{{10}}}|11={{{11}}}|12={{{12}}}}}
==Usage==
===Variables===
This flagbox takes two 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:
 
{{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>}}
 
this would produce
<includeonly>{{ {{PAGENAME}}|{{{1}}}={{{10|{{{7}}}}}}|{{{3}}}={{{11|{{{8}}}}}}|{{{5}}}={{{12|{{{9}}}}}} }}</includeonly>
 
__NOEDITSECTION__ __NOTOC__[[Category:Flagboxes|<noinclude>*</noinclude>{{PAGENAME}}]]

Revision as of 16:29, 16 February 2010

Usage

Variables

This flagbox 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:

{{FlagboxDoc3|{{{1}}}={{{7}}}|{{{3}}}={{{8}}}|{{{5}}}={{{9}}}}}

this would produce Template loop detected: Template:UserboxDoc3