Zuletzt bearbeitet vor einem Monat
von Xineohp1506

Vorlage:Tag: Unterschied zwischen den Versionen

K (1 Version von wpen:Template:Tag importiert)
(Use {{Yesno}} and TemplateStyles (match {{xtag}}))
Zeile 1: Zeile 1:
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
<onlyinclude>{{#if:{{yesno|{{{plain|}}}}}||
Opening tag
{{#if:{{yesno|{{{wrap|}}}}}||
-->{{#switch:{{{2|pair}}}
<templatestyles src="Template:Nowrap/styles.css" />
  |c|close =
}}<code class="mw-highlight {{#if:{{yesno|{{{wrap|}}}}}||nowrap}}">
  |e|empty|s|single|v|void
}}{{#switch:{{{2|pair}}}
  |o|open
|c|close = <!--nothing-->
  |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
|s|single
}}<!--
|o|open
Content between tags
|p|pair   = {{#tag:span|&lrm;&lt;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
-->{{#switch:{{{2|pair}}}
}}{{#switch:{{{2|pair}}}
  |c|close = {{{content|}}}
|c|close = {{{content|}}}
  |e|empty|s|single|v|void = &#32;&#47;&gt;
|s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
  |o|open = &gt;{{{content|}}}
|o|open   = {{#tag:span|&gt;|class="p"}}{{{content|}}}
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
|p|pair   = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
}}<!--
}}{{#switch:{{{2|pair}}}
Closing tag
|s|single
-->{{#switch:{{{2|pair}}}
|o|open   = <!--nothing-->
  |e|empty|s|single|v|void
|c|close
  |o|open =
|p|pair   = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
  |c|close
}}{{#if:{{yesno|{{{plain|}}}}}||
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
</code>
}}<!--
}}</onlyinclude>
--></code><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->

Version vom 29. November 2024, 01:16 Uhr

‎<tag>...‎</tag>