Template:Tag: Difference between revisions
From Vigyanwiki
Template>Edokter (I think this is a solution to a non-existing problem.) |
m (1 revision imported) |
||
(25 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
<code style="white-space:nowrap | {{#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 = <{{{1|tag}}}{{#if:{{{params|}}}| {{{params}}}}} | |p|pair = {{#tag:span|‎<|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}| {{{params}}}}} | ||
}}{{#switch:{{{2|pair}}} | }}{{#switch:{{{2|pair}}} | ||
|c|close = {{{content|}}} | |c|close = {{{content|}}} | ||
|s|single =  /> | |s|single =  {{#tag:span|/>|class="p"}} | ||
|o|open = >{{{content|}}} | |o|open = {{#tag:span|>|class="p"}}{{{content|}}} | ||
|p|pair = >{{{content|...}}} | |p|pair = {{#tag:span|>|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 = </{{{1|tag}}}> | |p|pair = {{#tag:span|‎</|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|>|class="p"}} | ||
}}</code><noinclude> | }}{{#if:{{{plain|}}}| | ||
{{ | |</code> | ||
}}<noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 18:25, 18 September 2023
<tag>...</tag>
Template documentation
[create]