Difference between revisions of "Template:Infobox/Part/unit"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (Add parameter info, check against lowercase) |
m (Add eva as resource) |
||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{1<noinclude>|sf</noinclude>}}}}} | {{#switch: {{lc:{{{1<noinclude>|sf</noinclude>}}}}} | ||
− | |lf|ox|mp|sf|or={{Mark|fuelu}} | + | |lf|ox|mp|sf|or|eva={{Mark|fuelu}} |
|xg={{mark|lgu}} | |xg={{mark|lgu}} | ||
|ia={{mark|airu}} | |ia={{mark|airu}} | ||
Line 9: | Line 9: | ||
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
{{Parameter row|1|Abbreviated resource type. The following values are supported (not case sensitive): | {{Parameter row|1|Abbreviated resource type. The following values are supported (not case sensitive): | ||
− | * <tt>lf</tt>, <tt>ox</tt>, <tt>mp</tt>, <tt>sf</tt>, <tt>or</tt>: {{Mark|fuelu}} | + | * <tt>lf</tt>, <tt>ox</tt>, <tt>mp</tt>, <tt>sf</tt>, <tt>or</tt>, <tt>eva</tt>: {{Mark|fuelu}} |
* <tt>xg</tt>: {{mark|lgu}} | * <tt>xg</tt>: {{mark|lgu}} | ||
* <tt>ia</tt>: {{mark|airu}} | * <tt>ia</tt>: {{mark|airu}} |
Revision as of 20:44, 9 September 2024
Shows the unit for a resource type. Accepts one parameter with the abbreviated type.
Name | Optional | Description | Default |
---|---|---|---|
1 | No | Abbreviated resource type. The following values are supported (not case sensitive):
If the value is not known, shows nothing. |