Difference between revisions of "Template:Tag"
From Summertime Saga Wiki
m |
m |
||
Line 1: | Line 1: | ||
− | <code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- | + | <code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none; background:transparent; |{{{style|}}}}}"><!-- |
Opening tag | Opening tag | ||
-->{{#switch:{{{2|pair}}} | -->{{#switch:{{{2|pair}}} | ||
− | + | |close = | |
− | + | |empty|single|void | |
− | + | |open | |
− | + | |pair = <{{#if:{{{link|}}}|[[wikipedia:HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{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> | --></code><noinclude>[[Category:Templates]]</noinclude> |
Revision as of 14:43, 20 July 2020
<tag>...</tag>