Template:Tag: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(add comment)
m (56 revisions imported from templatewiki:Template:Tag)
 
(19 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
{{#ifeq: {{{1|}}}|comment|<code class="nowrap">&lt;!--{{{content|...}}}--&gt;
Opening tag
|<code class="nowrap">{{#switch:{{{2|pair}}}
-->{{#switch:{{{2|pair}}}
|c|close = <!--nothing-->
|c|close =
|s|single
|e|empty|s|single|v|void
|o|open
|o|open
|p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
|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
|s|single = &#32;&#47;&gt;
-->{{#switch:{{{2|pair}}}
|o|open = &gt;{{{content|}}}
|p|pair = &gt;{{{content|...}}}
|c|close = {{{content|}}}
|e|empty|s|single|v|void = &#32;&#47;&gt;
}}{{#switch:{{{2|pair}}}
|o|open = &gt;{{{content|}}}
|s|single
|p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|o|open = <!--nothing-->
}}<!--
|c|close
Closing tag
|p|pair = &lt;&#47;{{{1|tag}}}&gt;
-->{{#switch:{{{2|pair}}}
}}</code>
|e|empty|s|single|v|void
}}<noinclude>
|o|open =
{{documentation}}
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 16:55, 30 March 2021

<tag>...</tag>

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]