Template:FlagboxDoc3: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(New page: <noinclude>Forced Newline. Do Not Remove Me.</noinclude> ==Usage== ===Variables=== This flagbox takes two variables: *"{{{1}}}" where you should enter {{{2}}}. *"{{{3}}}" where you should ...)
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
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|{{{7}}}}}}|11={{{11|{{{8}}}}}}|12={{{12|{{{9}}}}}}}}<noinclude>[[Category:Flagboxes|*{{PAGENAME}}]]</noinclude>
==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}}}}}}|2={{{11|{{{8}}}}}}|3={{{12|{{{9}}}}}} }}</includeonly>
 
<includeonly><includeonly>__NOEDITSECTION__ __NOTOC__[[Category:Flagboxes|{{PAGENAME}}]]</includeonly></includeonly>

Latest revision as of 14:04, 23 May 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