Difference between revisions of "Template:Infobox/Part/unit"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Add eva as resource)
m (Formatting)
 
Line 1: Line 1:
{{#switch: {{lc:{{{1<noinclude>|sf</noinclude>}}}}}
+
<includeonly>{{#switch: {{lc:{{{1<noinclude>|sf</noinclude>}}}}}
 
|lf|ox|mp|sf|or|eva={{Mark|fuelu}}
 
|lf|ox|mp|sf|or|eva={{Mark|fuelu}}
 
|xg={{mark|lgu}}
 
|xg={{mark|lgu}}
 
|ia={{mark|airu}}
 
|ia={{mark|airu}}
|ec={{mark|echu}}}}<noinclude>
+
|ec={{mark|echu}}}}</includeonly><noinclude>
 
 
 
Shows the unit for a resource type. Accepts one parameter with the abbreviated type.
 
Shows the unit for a resource type. Accepts one parameter with the abbreviated type.
  

Latest revision as of 09:46, 21 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):
  • lf, ox, mp, sf, or, eva: Units of fuel
  • xg: Xenon unit
  • ia: Air unit
  • ec: ⚡

If the value is not known, shows nothing.