Template:Tag: Difference between revisions

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