More actions
(Adding some template level info) Tag: 2017 source edit |
(Added template description and tweaking parser) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 22: | Line 21: | ||
"required": true | "required": true | ||
} | } | ||
} | }, | ||
"description": "Use this template to include a stylized part size string in an article. Requires the Size parameter, selected from a provided list." | |||
} | } | ||
</templatedata> | </templatedata> | ||
The part size will appear on the article as per: | The part size will appear on the article as per: | ||
<code><b><font color=#E04949>XS</font></b></code> | <code><b><font color=#E04949>XS</font></b></code> | ||
Line 35: | Line 34: | ||
</noinclude> | </noinclude> | ||
{{#ifeq:XS|{{{Size}}}|<code><b><font color=#ff0000> | {{#ifeq:XS|{{{Size}}}|<code><b><font color=#ff0000>{{{Size}}}</font></b></code>||}} |
Revision as of 19:29, 8 September 2024
Use this template to include a stylized part size string in an article. Requires the Size parameter, selected from a provided list.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Size | Size size | Part size
| String | required |
The part size will appear on the article as per:
XS
SM
MD
LG
XL
2X