Template:Size: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
Starting template for part size display, testing parser functions
Tag: 2017 source edit
 
Adding some template level info
Tag: 2017 source edit
Line 25: Line 25:
}
}
</templatedata>
</templatedata>
The part size will appear on the article as per:
<code><b><font color=#E04949>XS</font></b></code>
<code><b><font color=#E0A400>SM</font></b></code>
<code><b><font color=#93E000>MD</font></b></code>
<code><b><font color=#00E0A8>LG</font></b></code>
<code><b><font color=#49ABE0>XL</font></b></code>
<code><b><font color=#A978DA>2X</font></b></code>
</noinclude>
</noinclude>


{{#ifeq: XS | {{{Size}}} |<code><font color=#ff0000> XS </font></code>||}}
{{#ifeq:XS|{{{Size}}}|<code><b><font color=#ff0000>XS</font></b></code>||}}

Revision as of 21:22, 8 September 2024


No description.

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