Difference between revisions of "Template:Tag"

From WarRocketWiki
Jump to navigation Jump to search
(These are called attributes; no one who does HTML calls them "parameters".)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 09:31, 14 December 2021

{{#switch:pair

 |c|close =
 |e|empty|s|single|v|void
 |o|open
 |p|pair = <{{#if:|tag|tag}}{{#if:| {{{attribs}}}}}
}}{{#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>}}
}}