Difference between revisions of "Template:Tag"
From D&D 5e
(expand) |
(fix) |
||
Line 1: | Line 1: | ||
<tt>{{#switch:{{{3|pair}} | <tt>{{#switch:{{{3|pair}} | ||
+ | |close | ||
+ | |single = <!--nothing--> | ||
|open | |open | ||
|pair | |pair | ||
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki>></nowiki> | |#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}}<nowiki>></nowiki> | ||
}}{{#switch:{{{3|pair}}} | }}{{#switch:{{{3|pair}}} | ||
+ | |open | ||
+ | |close | ||
+ | |single = | ||
|pair | |pair | ||
|#default = {{{2|}}} | |#default = {{{2|}}} | ||
}}{{#switch:{{{3|pair}}} | }}{{#switch:{{{3|pair}}} | ||
+ | |open | ||
+ | |single = <!--nothing--> | ||
|close | |close | ||
|pair | |pair |
Revision as of 07:05, 31 January 2009
{{#switch:{Template:3
|close |single = |open |pair |#default = <tag{{#if:| {{{params}}}}}>
}}{{#switch:pair
|open |close |single = |pair |#default =
}}{{#switch:pair
|open |single = |close |pair |#default = </tag>
}}{{#switch:pair
|single = <tag{{#if:| {{{params}}}}} />
}}
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |