Difference between revisions of "Template:Tag"
From D&D 5e
(parameter shortcuts, optimize) |
(Established convention uses "..." to seperate begin- and end tags with no content.) |
||
Line 7: | Line 7: | ||
|c|close = {{{content|}}} | |c|close = {{{content|}}} | ||
|s|single =  /> | |s|single =  /> | ||
− | |o|open | + | |o|open = >{{{content|}}} |
− | |p|pair = >{{{content|}}} | + | |p|pair = >{{{content|...}}} |
}}{{#switch:{{{2|pair}}} | }}{{#switch:{{{2|pair}}} | ||
|s|single | |s|single |
Revision as of 15:10, 19 June 2011
{{#switch:pair
|c|close = |s|single |o|open |p|pair = <tag{{#if:| {{{params}}}}}
}}{{#switch:pair
|c|close = |s|single = /> |o|open = > |p|pair = >...
}}{{#switch:pair
|s|single |o|open = |c|close |p|pair = </tag>
}}
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. |