Module:Tag: Difference between revisions

From Wayne's Dusty Box of Words
ll>SMcCandlish
(These are called attributes; no one who does HTML calls them "parameters".)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 11:20, 8 February 2022

{{#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>}}
}}

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}