Difference between revisions of "Template:Tag"
From Summertime Saga Wiki
m |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <code | + | <code style="{{#ifeq:{{{nowrap|}}}|yes|white-space:nowrap;|white-space:normal;}}{{#ifeq:{{{style|}}}|plain|border:none; background:transparent; |{{{style|}}}}}"><!-- |
Opening tag | Opening tag | ||
− | -->{{#switch:{{{2|pair}}} | + | -->{{#switch:{{{2|pair}}}|close=|empty|single|void|open|pair=<{{{1|tag}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}} |
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
Content between tags | Content between tags | ||
− | -->{{#switch:{{{2|pair}}} | + | -->{{#switch:{{{2|pair}}}|close={{{content|}}}|empty|single|void= />|open=>{{{content|}}}|pair={{#ifeq:{{{1|tag}}}|!--||>}}{{{content|…}}} |
− | |||
− | |||
− | |||
− | |||
}}<!-- | }}<!-- | ||
Closing tag | Closing tag | ||
− | -->{{#switch:{{{2|pair}}} | + | -->{{#switch:{{{2|pair}}}|empty|single|void|open=|close|pair={{#ifeq:{{{1|tag}}}|!--|-->|</{{{1|tag}}}>}} |
− | + | }}</code><noinclude>[[Category:Templates]]</noinclude> | |
− | |||
− | |||
− | |||
− | }} | ||
− |
Latest revision as of 14:28, 22 July 2020
<tag>…</tag>