Template:Tag: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon
expand
Ookami (talk | contribs)
m 52 revisions imported
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<tt>{{#switch:{{{3|pair}}
<code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
|open
Opening tag
|pair
-->{{#switch:{{{2|pair}}}
|#default = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki>></nowiki>
  |c|close =
}}{{#switch:{{{3|pair}}}
  |e|empty|s|single|v|void
|pair
  |o|open
|#default = {{{2|}}}
  |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
}}{{#switch:{{{3|pair}}}
}}<!--
|close
Content between tags
|pair
-->{{#switch:{{{2|pair}}}
|#default = <nowiki></</nowiki>{{{1|tag}}}<nowiki>></nowiki>
  |c|close = {{{content|}}}
}}{{#switch:{{{3|pair}}}
  |e|empty|s|single|v|void = &#32;&#47;&gt;
|single  = <nowiki><</nowiki>{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}<nowiki> /></nowiki>
  |o|open = &gt;{{{content|}}}
}}</tt><noinclude>
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
{{documentation}}
}}<!--
Closing tag
-->{{#switch:{{{2|pair}}}
  |e|empty|s|single|v|void
   |o|open =
  |c|close
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
}}<!--
--></code><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:59, 3 September 2020

<tag>...</tag>