Template:Tag: Difference between revisions
Appearance
__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|}}} | 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 = | ||
|s|single | |||
|o|open | |o|open | ||
|p|pair = | |p|pair = {{#ifeq: {{{1|tag}}} | ||
| !-- | |||
| {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak"><!--</span> | <!-- }} | |||
| {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak"><</span> | < }}{{{1|tag}}}{{#if: {{{params|{{{p|}}}}}} |  {{{params|{{{p|}}}}}} }} | |||
}} | |||
}}<!-- | }}<!-- | ||
Content between tags | Content between tags | ||
-->{{#switch:{{{2|pair | -->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }} | ||
|c|close = {{{content|}}} | |c|close = {{{content|{{{c|}}}}}} | ||
|s|single =  {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">/></span> | /> }} | |||
|o|open = >{{{content|}}} | |o|open = {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">></span> | > }}{{{content|{{{c|}}}}}} | ||
|p|pair = {{#ifeq:{{{1|tag}}}|!--||>}}{{{content| | |p|pair = {{#ifeq: {{{1|tag}}} | !-- || {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">></span> | > }} }}{{{content|{{{c|}}}}}} | ||
}}<!-- | }}<!-- | ||
Closing tag | Closing tag | ||
-->{{#switch:{{{2|pair | -->{{#switch: {{#if: {{{2|}}} | {{{2|}}} | pair }} | ||
|s|single | |||
|o|open = | |o|open = | ||
|c|close | |c|close | ||
|p|pair = {{#ifeq:{{{1|tag}}}|!--|-->|<& | |p|pair = {{#ifeq: {{{1|tag}}} | ||
| !-- | |||
| {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak">--></span> | --> }} | |||
| {{#ifeq: {{{style|}}} | regular | <span class="ts-templateCallCode-weak"></</span>{{{1|tag}}}<span class="ts-templateCallCode-weak">></span> | </{{{1|tag}}}> }} | |||
}} | |||
}}<!-- | }}<!-- | ||
--></code><noinclude> | --></{{#ifeq: {{{style|}}} | regular | span | code }}><noinclude>{{doc}}</noinclude> | ||
{{ | |||
</noinclude> | |||
Latest revision as of 11:14, 22 December 2025
<tag></tag>Page Template:Шаблон:Doc/styles.css has no content.
| Этому шаблону не хватает документации. |
Во избежание поломок эту страницу могут редактировать только администраторы!