Difference between revisions of "Template:Infobox/Part/cargo"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (Update) |
m (Formatting) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Infobox/Part/preview|</noinclude> | + | <noinclude>{{Infobox/Part/preview| |
− | {{Infobox/Line|{{Infobox/Part/Dict| | + | </noinclude>{{Infobox/Line|{{Infobox/Part/Dict|volume itself}}|{{#ifeq: {{{volume|<noinclude>50</noinclude>}}}|-1|{{Dict|none}}|{{{volume<noinclude>|50</noinclude>}}} {{Dict|l}}}}}}{{if|expr|{{{volume|0<noinclude>50</noinclude>}}} > -1|{{if||{{{stack|<noinclude>3</noinclude>}}}| |
− | {{Infobox/Line|{{Infobox/Part/Dict|Stacking capacity}}|{{{stack<noinclude>|3</noinclude>}}} {{Dict|units}}}}}} | + | {{Infobox/Line|{{Infobox/Part/Dict|Stacking capacity}}|{{{stack<noinclude>|3</noinclude>}}} {{Dict|units}}}}}}}}<noinclude> |
− | <noinclude>}} | + | }} |
{{Tl|Infobox/Part}} module for [[Parts/Cargo#Equipment|cargo parts]] that can be manipulated in EVA Construction or stored in an inventory. Not limited to parts that fall under the ingame "Cargo" category. | {{Tl|Infobox/Part}} module for [[Parts/Cargo#Equipment|cargo parts]] that can be manipulated in EVA Construction or stored in an inventory. Not limited to parts that fall under the ingame "Cargo" category. | ||
Line 8: | Line 8: | ||
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
{{Parameter row|volume|Packed volume. If volume is -1, displays as None, and is considered a part that cannot be stored (but can be manipulated in EVA Construction).}} | {{Parameter row|volume|Packed volume. If volume is -1, displays as None, and is considered a part that cannot be stored (but can be manipulated in EVA Construction).}} | ||
− | {{Parameter row|stack|Stacking capacity, if not set defaults to 1.|Not set / 1}} | + | {{Parameter row|stack|Stacking capacity, if not set defaults to 1. Hidden if volume is -1.|Not set / 1}} |
}} | }} | ||
{{Subcategory|modules}}</noinclude> | {{Subcategory|modules}}</noinclude> |
Latest revision as of 09:22, 21 September 2024
Packed volume | 50 l | |
Stacking capacity | 3 units |
{{Infobox/Part}} module for cargo parts that can be manipulated in EVA Construction or stored in an inventory. Not limited to parts that fall under the ingame "Cargo" category.
Name | Optional | Description | Default |
---|---|---|---|
volume | No | Packed volume. If volume is -1, displays as None, and is considered a part that cannot be stored (but can be manipulated in EVA Construction). | |
stack | Yes | Stacking capacity, if not set defaults to 1. Hidden if volume is -1. | Not set / 1 |