Template:Tag

From ThinkServer
Revision as of 01:04, 6 August 2017 by >Train2104 (fix order of switch statements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#switch:pair

 |c|close =
 |e|empty|s|single|v|void
 |o|open
 |p|pair = <tag{{#if:| {{{params}}}}}
}}{{#switch:pair
 |c|close = 
 |e|empty|s|single|v|void =  />
 |o|open = >
 |p|pair = {{#ifeq:tag|!--||>}}...
}}{{#switch:pair
 |e|empty|s|single|v|void
 |o|open =
 |c|close
 |p|pair = {{#ifeq:tag|!--|-->|</tag>}}
}}