Template:Size: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
removed known issue section
Tag: 2017 source edit
removed display examples to move to /doc
Tag: 2017 source edit
Line 25: Line 25:
"description": "Use this template to include a formatted part size tag in an article. Requires the Size parameter, selected from a provided list."
"description": "Use this template to include a formatted part size tag in an article. Requires the Size parameter, selected from a provided list."
}
}
</templatedata>
</templatedata></noinclude><includeonly>{{#invoke:Size|getSize|{{{Size}}}}}</includeonly>
The part size will appear on the article as per:
{{#invoke:Size|getSize|XS}}
{{#invoke:Size|getSize|SM}}
{{#invoke:Size|getSize|MD}}
{{#invoke:Size|getSize|LG}}
{{#invoke:Size|getSize|XL}}
{{#invoke:Size|getSize|2X}}
</noinclude><includeonly>{{#invoke:Size|getSize|{{{Size}}}}}</includeonly>

Revision as of 21:49, 6 December 2024

Use this template to include a formatted part size tag in an article. Requires the Size parameter, selected from a provided list.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SizeSize size 1

Part size

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