Template:Size: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
added xl and 2x sizes in nested output
Tag: 2017 source edit
Added known issue of leading whitespace
Tag: 2017 source edit
Line 1: Line 1:
<noinclude>
<noinclude>
'''Known issue''': This template creates a leading whitespace. Use without adding a whitespace as a workaround, e.g., "This engine is<nowiki>{{Size|LG}}</nowiki> and quite shiny."
<templatedata>
<templatedata>
{
{

Revision as of 21:56, 8 September 2024

Known issue: This template creates a leading whitespace. Use without adding a whitespace as a workaround, e.g., "This engine is{{Size|LG}} and quite shiny."

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