Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Size: Difference between revisions

Template page
(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>XS</font></b></code>||}}
{{#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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SizeSize size

Part size

Suggested values
XS SM MD LG XL 2X
Example
SM, LG, etc.
Stringrequired

The part size will appear on the article as per: XS SM MD LG XL 2X


MediaWiki Appliance - Powered by TurnKey Linux