Template:Tag: Difference between revisions

Jump to navigation Jump to search
Undid revision 3905257 by 2600:1702:1350:87D0:5491:691B:8A51:8E1C (talk)
(These are called attributes; no one who does HTML calls them "parameters".)
 
(Undid revision 3905257 by 2600:1702:1350:87D0:5491:691B:8A51:8E1C (talk))
Line 1:
{{#if:{{{plain|}}}|
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
|<code style="white-space:nowrap">
Opening tag
-->}}{{#switch:{{{2|pair}}}
|c|close = <!--nothing-->
|e|empty |s|single|v|void
|o|open
|p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
-->}}{{#switch:{{{2|pair}}}
}}<!--
|c|close = {{{content|}}}
Content between tags
|e|empty |s|single|v|void = &#32;&#47;&gt;
-->{{#switch:{{{2|pair}}}
|co|closeopen = &gt;{{{content|}}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|e|empty|s|single|v|void = &#32;&#47;&gt;
|o|open = &gt;}}{{#switch:{{{content2|pair}}}
|s|single
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|o|open = <!--nothing-->
}}<!--
|c|close
Closing tag
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
-->{{#switch:{{{2|pair}}}
}}{{#if:{{{plain|}}}|
|e|empty|s|single|v|void
|</code>
|o|open =
--></code>}}<noinclude>
|c|close
{{documentation}}
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu