Template:Tag: Difference between revisions

From Vigyanwiki
Template>Happy-melon
(make content a named param)
m (1 revision imported)
 
(36 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<tt>{{#switch:{{{2|pair}}}
{{#if:{{{plain|}}}|
|close
  |<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}">
  |single  = <!--nothing-->
|open
|pair
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki>></nowiki>
}}{{#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 = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki>
}}{{#switch:{{{2|pair}}}
}}{{#switch:{{{2|pair}}}
  |single  = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki> /></nowiki>
  |s|single
}}</tt><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