Jump to content

Template:Tag: Difference between revisions

From WikiJournal
__en>SMcCandlish
These are called attributes; no one who does HTML calls them "parameters".
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{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;
| regular =
| {{{style|}}}
}}"><!--
  Opening tag
  Opening tag
-->{{#switch:{{{2|pair}}}
-->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }}
   |c|close =
   |c|close =
   |e|empty|s|single|v|void
   |s|single
   |o|open
   |o|open
   |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
   |p|pair = {{#ifeq: {{{1|tag}}}
    | !--
    | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;!--</span> | &lt;!-- }}
    | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;</span> | &lt; }}{{{1|tag}}}{{#if: {{{params|{{{p|}}}}}} | &#32;{{{params|{{{p|}}}}}} }}
    }}
  }}<!--
  }}<!--
  Content between tags
  Content between tags
-->{{#switch:{{{2|pair}}}
-->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }}
   |c|close = {{{content|}}}
   |c|close = {{{content|{{{c|}}}}}}
   |e|empty|s|single|v|void = &#32;&#47;&gt;
   |s|single = &#32;{{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">/&gt;</span> | /&gt; }}
   |o|open = &gt;{{{content|}}}
   |o|open = {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&gt;</span> | &gt; }}{{{content|{{{c|}}}}}}
   |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
   |p|pair = {{#ifeq: {{{1|tag}}} | !-- || {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&gt;</span> | &gt; }} }}{{{content|{{{c|}}}}}}
  }}<!--
  }}<!--
  Closing tag
  Closing tag
-->{{#switch:{{{2|pair}}}
-->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }}
   |e|empty|s|single|v|void
   |s|single
   |o|open =
   |o|open =
   |c|close
   |c|close
   |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
   |p|pair = {{#ifeq: {{{1|tag}}}
    | !--
    | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">--&gt;</span> | --&gt; }}
    | {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">&lt;/</span>{{{1|tag}}}<span class="ts-templateCallCode-weak">&gt;</span> | &lt;/{{{1|tag}}}&gt; }}
    }}
  }}<!--
  }}<!--
--></code><noinclude>
--></{{#ifeq: {{{style|}}} | regular | span | code }}><noinclude>{{doc}}</noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 11:14, 22 December 2025

<tag></tag>Page Template:Шаблон:Doc/styles.css has no content.

Категория:Шаблоны:Недокументированные

Во избежание поломок эту страницу могут редактировать только администраторы!