Difference between revisions of "Template:Tag"

From Timelines
Jump to: navigation, search
(add comment)
(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>

Revision as of 09:15, 17 October 2014

<tag>...</tag>

Template documentation[create]