Template:Tag: Difference between revisions

From Vigyanwiki
Template>Gadget850
(tt → code)
m (1 revision imported)
 
(31 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
{{#if:{{{plain|}}}|
|close
  |<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}">
  |single  = <!--nothing-->
|open
|pair
|#default = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&gt;
}}{{#switch:{{{2|pair}}}
}}{{#switch:{{{2|pair}}}
  |open
  |c|close  = <!--nothing-->
|close
  |s|single
  |single  = <!--nothing-->
|o|open
  |pair
  |p|pair  = {{#tag:span|&lrm;&lt;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
  |#default = {{{content|}}}
}}{{#switch:{{{2|pair}}}
}}{{#switch:{{{2|pair}}}
  |open
  |c|close = {{{content|}}}
  |single  = <!--nothing-->
  |s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
|close
|o|open  = {{#tag:span|&gt;|class="p"}}{{{content|}}}
  |pair
|p|pair  = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
|#default = &lt;&#47;{{{1|tag}}}&gt;
}}{{#switch:{{{2|pair}}}
}}{{#switch:{{{2|pair}}}
  |single  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&#47;&gt;
  |s|single
}}</code><noinclude>
|o|open   = <!--nothing-->
{{documentation}}
|c|close
|p|pair  = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
}}{{#if:{{{plain|}}}|
|</code>
}}<noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:25, 18 September 2023

‎<tag>...‎</tag>

Template documentation