Difference between revisions of "Tag"

From blackwiki
Jump to navigation Jump to search
test>Gadget850
(tt → code)
m (52 revisions imported)
 
(24 intermediate revisions by 7 users not shown)
Line 1: Line 1:
−
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
+
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
−
|close
+
Opening tag
−
|single  = <!--nothing-->
+
-->{{#switch:{{{2|pair}}}
−
|open
+
  |c|close =
−
|pair
+
  |e|empty|s|single|v|void
−
|#default = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&gt;
+
   |o|open
−
}}{{#switch:{{{2|pair}}}
+
  |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
−
|open
+
}}<!--
−
|close
+
Content between tags
−
|single   = <!--nothing-->
+
-->{{#switch:{{{2|pair}}}
−
|pair
+
  |c|close = {{{content|}}}
−
|#default = {{{content|}}}
+
  |e|empty|s|single|v|void = &#32;&#47;&gt;
−
}}{{#switch:{{{2|pair}}}
+
  |o|open = &gt;{{{content|}}}
−
|open
+
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
−
|single  = <!--nothing-->
+
}}<!--
−
|close
+
Closing tag
−
|pair
+
-->{{#switch:{{{2|pair}}}
−
|#default = &lt;&#47;{{{1|tag}}}&gt;
+
  |e|empty|s|single|v|void
−
}}{{#switch:{{{2|pair}}}
+
   |o|open =
−
|single  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}&#47;&gt;
+
  |c|close
−
}}</code><noinclude>
+
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
−
{{documentation}}
+
}}<!--
 +
--></code><noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:13, 20 September 2020

<tag>...</tag>

Documentation[create]