Template:Tag: Difference between revisions

    From Nonbinary Wiki
    m>Gadget850
    (add comment)
    m (55 revisions imported from templatewiki:Template:Tag)
     
    (18 intermediate revisions by 7 users not shown)
    Line 1: Line 1:
    {{#ifeq: {{{1|}}}|comment|<code class="nowrap">&lt;!--{{{content|...}}}--&gt;
    <code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
    |<code class="nowrap">{{#switch:{{{2|pair}}}
    Opening tag
    |c|close = <!--nothing-->
    -->{{#switch:{{{2|pair}}}
    |s|single
      |c|close =
    |o|open
      |e|empty|s|single|v|void
    |p|pair   = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
      |o|open
    }}{{#switch:{{{2|pair}}}
      |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
    |c|close = {{{content|}}}
    }}<!--
    |s|single = &#32;&#47;&gt;
    Content between tags
    |o|open   = &gt;{{{content|}}}
    -->{{#switch:{{{2|pair}}}
    |p|pair   = &gt;{{{content|...}}}
      |c|close = {{{content|}}}
    }}{{#switch:{{{2|pair}}}
      |e|empty|s|single|v|void = &#32;&#47;&gt;
    |s|single
      |o|open = &gt;{{{content|}}}
    |o|open   = <!--nothing-->
      |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
    |c|close
    }}<!--
    |p|pair   = &lt;&#47;{{{1|tag}}}&gt;
    Closing tag
    }}</code>
    -->{{#switch:{{{2|pair}}}
    }}<noinclude>
      |e|empty|s|single|v|void
    {{documentation}}
      |o|open =
      |c|close
      |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
    }}<!--
    --></code><noinclude>
    {{Documentation}}
    </noinclude>
    </noinclude>

    Latest revision as of 09:59, 16 November 2019

    <tag>...</tag>

    Template documentation[create]