Шаблон:Tag: различия между версиями

176 байт добавлено ,  2 года назад
нет описания правки
(Керла агӀо: «<{{#ifeq: {{{style|}}} | regular | span | code }} class="{{#ifeq: {{{wrap|}}} | yes | wrap | nowrap }}" style="{{#switch: {{{style|}}} | plain = border:none; background:t...»)
 
Нет описания правки
 
Строка 1: Строка 1:
<{{#ifeq: {{{style|}}} | regular | span | code }} class="{{#ifeq: {{{wrap|}}} | yes | wrap | nowrap }}" style="{{#switch: {{{style|}}}
{{#ifeq: {{{style|}}} | regular | <templatestyles src="Модуль:Template call code/styles.css" /> }}<{{#ifeq: {{{style|}}} | regular | span | code }} class="{{#ifeq: {{{wrap|}}} | yes | wrap | nowrap }}" style="{{#switch: {{{style|}}}
| plain = border:none; background:transparent;
| plain = border:none; background:transparent;
| regular =
| regular =
Строка 11: Строка 11:
   |p|pair = {{#ifeq: {{{1|tag}}}
   |p|pair = {{#ifeq: {{{1|tag}}}
     | !--
     | !--
     | {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">&lt;!--</span> | &lt;!-- }}
     | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;!--</span> | &lt;!-- }}
     | {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">&lt;</span> | &lt; }}{{{1|tag}}}{{#if: {{{params|{{{p|}}}}}} | &#32;{{{params|{{{p|}}}}}} }}
     | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;</span> | &lt; }}{{{1|tag}}}{{#if: {{{params|{{{p|}}}}}} | &#32;{{{params|{{{p|}}}}}} }}
     }}
     }}
  }}<!--
  }}<!--
Строка 18: Строка 18:
-->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }}
-->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }}
   |c|close = {{{content|{{{c|}}}}}}
   |c|close = {{{content|{{{c|}}}}}}
   |s|single = &#32;{{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">/&gt;</span> | /&gt; }}
   |s|single = &#32;{{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">/&gt;</span> | /&gt; }}
   |o|open = {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">&gt;</span> | &gt; }}{{{content|{{{c|}}}}}}
   |o|open = {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&gt;</span> | &gt; }}{{{content|{{{c|}}}}}}
   |p|pair = {{#ifeq: {{{1|tag}}} | !-- || {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">&gt;</span> | &gt; }} }}{{{content|{{{c|}}}}}}
   |p|pair = {{#ifeq: {{{1|tag}}} | !-- || {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&gt;</span> | &gt; }} }}{{{content|{{{c|}}}}}}
  }}<!--
  }}<!--
  Closing tag
  Closing tag
Строка 29: Строка 29:
   |p|pair = {{#ifeq: {{{1|tag}}}
   |p|pair = {{#ifeq: {{{1|tag}}}
     | !--
     | !--
     | {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">--&gt;</span> | --&gt; }}
     | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">--&gt;</span> | --&gt; }}
     | {{#ifeq: {{{style|}}} | regular | <span class="wp-templatelink">&lt;/</span>{{{1|tag}}}<span class="wp-templatelink">&gt;</span> | &lt;/{{{1|tag}}}&gt; }}
     | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;/</span>{{{1|tag}}}<span class="ts-templateCallCode-weak">&gt;</span> | &lt;/{{{1|tag}}}&gt; }}
     }}
     }}
  }}<!--
  }}<!--
--></{{#ifeq: {{{style|}}} | regular | span | code }}><noinclude>{{doc}}</noinclude>
--></{{#ifeq: {{{style|}}} | regular | span | code }}><noinclude>{{doc}}</noinclude>