Изменения
Перейти к навигации
Перейти к поиску
Строка 1:
Строка 1:
− +
+
+
+
+
− +
− |e|empty|s|single|v|void +
− +
+
+
+
+
− +
− +
− |e|empty|s|single|v|void =  /> +
− +
− +
− +
− |e|empty|s|single|v|void +
− +
+
+
+
+
− +
−
−
стилизация на основе Модуль:Template call code/styles.css
<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 =
|s|single
|o|open
|o|open
|p|pair = <{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}| {{{params|{{{attribs}}}}}}}}
|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}}}|!--|-->|</{{{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>
{{Documentation}}
</noinclude>