Difference between revisions of "Template:Tag"

From Summertime Saga Wiki
Jump to: navigation, search
(Created page with "<onlyinclude><code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!-- Opening tag -->{{#...")
 
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><code class="{{#ifeq:{{{wrap|}}}|yes|wrap|nowrap}}" style="{{#ifeq:{{{style|}}}|plain|border:none;background:transparent;|{{{style|}}}}}"><!--
+
<code style="{{#ifeq:{{{nowrap|}}}|yes|white-space:nowrap;|white-space:normal;}}{{#ifeq:{{{style|}}}|plain|border:none; background:transparent; |{{{style|}}}}}"><!--
 
  Opening tag
 
  Opening tag
-->{{#switch:{{{2|pair}}}
+
-->{{#switch:{{{2|pair}}}|close=|empty|single|void|open|pair=&lt;{{{1|tag}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
  |c|close =
 
  |e|empty|s|single|v|void
 
  |o|open
 
  |p|pair = &lt;{{#if:{{{link|}}}|[[HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
 
 
  }}<!--
 
  }}<!--
 
  Content between tags
 
  Content between tags
-->{{#switch:{{{2|pair}}}
+
-->{{#switch:{{{2|pair}}}|close={{{content|}}}|empty|single|void=&#32;&#47;&gt;|open=&gt;{{{content|}}}|pair={{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|}}}
  |c|close = {{{content|}}}
 
  |e|empty|s|single|v|void = &#32;&#47;&gt;
 
  |o|open = &gt;{{{content|}}}
 
  |p|pair = {{#ifeq:{{{1|tag}}}|!--||&gt;}}{{{content|...}}}
 
 
  }}<!--
 
  }}<!--
 
  Closing tag
 
  Closing tag
-->{{#switch:{{{2|pair}}}
+
-->{{#switch:{{{2|pair}}}|empty|single|void|open=|close|pair={{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
  |e|empty|s|single|v|void
+
  }}</code><noinclude>[[Category:Templates]]</noinclude>
  |o|open =
 
  |c|close
 
  |p|pair = {{#ifeq:{{{1|tag}}}|!--|--&gt;|&lt;&#47;{{{1|tag}}}&gt;}}
 
  }}<!--
 
--></code></onlyinclude><noinclude>[[Category:Templates]]</noinclude>
 

Latest revision as of 14:28, 22 July 2020

<tag>…</tag>