Перейти до вмісту

Шаблон:Tag: відмінності між версіями

м
Імпортовано 1 версія з wikipedia:Template:Tag
(Undo revision 693723104 by 165.154.228.59 (talk))
м (Імпортовано 1 версія з wikipedia:Template:Tag)
Рядок 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
{{#if:{{{plain|}}}|
Opening tag
|<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}">
}}-->{{#switch:{{{2|pair}}}
|c|close = <!--nothing-->
|e|empty|s|single|v|void
|o|open
|p|pair = &lt;{{#tagif:span{{{link|&lrm;&lt;|class="p"}}}|[[HTML element#{{#{1|tag:span}}}|{{{1|tag}}}]]|class="nt"{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
}}<!--
}}{{#switch:{{{2|pair}}}
Content between tags
|c|close = {{{content|}}}
}}-->{{#switch:{{{2|pair}}}
|s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
|oc|open close = {{#tag:span|&gt;|class="p"}}{{{content|}}}
|e|empty|s|single|v|void = &#32;&#47;&gt;
|p|pair = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
}}{{#switch: |o|open = &gt;{{{2content|pair}}}
|p|pair = {{#tagifeq:span{{{1|tag}}}|!--||&gt;|class="p"}}{{{content|...}}}
|s|single
}}<!--
|o|open = <!--nothing-->
Closing tag
|c|close
-->{{#switch:{{{2|pair}}}
|p|pair = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
|e|empty|s|single|v|void
}}{{#if:{{{plain|}}}|
|o|open =
|</code>
|c|close
}}<noinclude>
|p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
}}--></code><noinclude>
{{Documentation}}
</noinclude>
Куки допомагають нам здійснювати наші сервіси. Використовуючи наші сервіси, Ви погоджуєтесь на використання куків.