Template:Tag: Difference between revisions

    m>Gadget850
    (add comment)
    m>Edokter
    (Improvement on last change)
    Line 1: Line 1:
    {{#ifeq: {{{1|}}}|comment|<code class="nowrap">&lt;!--{{{content|...}}}--&gt;
    <code class="nowrap">{{#switch:{{{2|pair}}}
    |<code class="nowrap">{{#switch:{{{2|pair}}}
      |c|close  = <!--nothing-->
      |c|close  = <!--nothing-->
      |s|single
      |s|single
    Line 9: Line 8:
      |s|single = &#32;&#47;&gt;
      |s|single = &#32;&#47;&gt;
      |o|open  = &gt;{{{content|}}}
      |o|open  = &gt;{{{content|}}}
      |p|pair  = &gt;{{{content|...}}}
      |p|pair  = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
    }}{{#switch:{{{2|pair}}}
    }}{{#switch:{{{2|pair}}}
      |s|single
      |s|single
      |o|open  = <!--nothing-->
      |o|open  = <!--nothing-->
      |c|close
      |c|close
      |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
      |p|pair  = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
    }}</code>
    }}</code><noinclude>
    }}<noinclude>
    {{documentation}}
    {{documentation}}
    </noinclude>
    </noinclude>