Template:Tag: Difference between revisions

From Antigua and Barbuda Calypso
Content added Content deleted
m (Reverted edits by 61.36.134.214 (talk) to last revision by Dantman)
 
(add 'wrap' for long samples)
Line 1: 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-->
-->{{#switch:{{{2|pair}}}
|s|single
|c|close =
|o|open
|s|single
|p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
|o|open
}}{{#switch:{{{2|pair}}}
|p|pair = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
|c|close = {{{content|}}}
}}<!--
|s|single = &#32;&#47;&gt;
Content between tags
|o|open = &gt;{{{content|}}}
-->{{#switch:{{{2|pair}}}
|p|pair = &gt;{{{content|...}}}
}}{{#switch:{{{2|pair}}}
|c|close = {{{content|}}}
|s|single
|s|single = &#32;&#47;&gt;
|o|open = <!--nothing-->
|o|open = &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}}
|s|single
|o|open =
|c|close
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:37, 17 February 2015

<tag>...</tag>

Documentation icon Template documentation[create]