Template:Tag
Revision as of 18:17, 26 July 2018 by Wikipedia_Templates>SMcCandlish (These are called attributes; no one who does HTML calls them "parameters".)
{{#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>}}
}}
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create]