Template:Tag: Difference between revisions

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

Latest revision as of 18:25, 18 September 2023

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

Template documentation