Template:Tag: Difference between revisions

m
56 revisions imported from templatewiki:Template:Tag
m (Changed protection level of Template:Tag: Allowing Protected Template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
m (56 revisions imported from templatewiki:Template:Tag)
 
(21 intermediate revisions by 8 users not shown)
Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
Opening tag
|c|close = <!--nothing-->
<code style="white-space:nowrap;"->{{#switch:{{{2|pair}}}
|s|single
|c|close =
|o|open
|e|empty|s|single|v|void
|p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
|o|open
}}{{#switch:{{{2|pair}}}
|p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
|c|close = {{{content|}}}
}}<!--
|s|single = &#32;&#47;&gt;
Content between tags
|o|open = &gt;{{{content|}}}
}}-->{{#switch:{{{2|pair}}}
|p|pair = &gt;{{{content|...}}}
}}{{#switch: |c|close = {{{2content|pair}}}
|e|empty|s|single|v|void = &#32;&#47;&gt;
|o|open = <!--nothing-->&gt;{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|c|close
}}<!--
|p|pair = &lt;&#47;{{{1|tag}}}&gt;
Closing tag
}}</code><noinclude>
-->{{#switch:{{{2|pair}}}
{{documentation}}
|e|empty|s|single|v|void
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
}}--></code><noinclude>
{{Documentation}}
</noinclude>