Template:Tag: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| 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 13:43, 20 July 2020
<tag>...</tag>