Difference between revisions of "Template:Tag"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<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}}}|close=|empty|single|void|open|pair=&lt;{{#if:{{{link|}}}|[[wikipedia:HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}
 
-->{{#switch:{{{2|pair}}}|close=|empty|single|void|open|pair=&lt;{{#if:{{{link|}}}|[[wikipedia:HTML element#{{{1|tag}}}|{{{1|tag}}}]]|{{{1|tag}}}}}{{#if:{{{params|{{{attribs|}}}}}}|&#32;{{{params|{{{attribs}}}}}}}}

Revision as of 23:27, 21 July 2020

<tag>…</tag>