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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Use dict)
m (use named parameters)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{#if: {{{2|<noinclude>1</noinclude>}}}|
+
</noinclude>{{#if: {{{required|<noinclude>1</noinclude>}}}|
{{Infobox/Line|{{Infobox/Part/Dict|crew}}|{{{1<noinclude>|3</noinclude>}}}&nbsp;{{mark|crew}}|{{{2|<noinclude>1</noinclude>}}}&nbsp;{{mark|crew}}|type1={{Infobox/Part/Dict|max}}|type2={{Infobox/Part/Dict|required}}}}|{{Infobox/Line|{{Infobox/Part/Dict|crew}}|{{{1<noinclude>|3</noinclude>}}}&nbsp;{{mark|crew}}|type1={{Infobox/Part/Dict|max}}}}}}<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|crew}}|{{{capacity<noinclude>|3</noinclude>}}}&nbsp;{{mark|crew}}|{{{required<noinclude>|1</noinclude>}}}&nbsp;{{mark|crew}}|type1={{Infobox/Part/Dict|Max}}|type2={{Infobox/Part/Dict|required}}}}|{{Infobox/Line|{{Infobox/Part/Dict|crew}}|{{{capacity<noinclude>|3</noinclude>}}}&nbsp;{{mark|crew}}|type1={{Infobox/Part/Dict|max}}}}}}<noinclude>
 +
}}
  
 
{{Tl|Infobox/Part}} module for [[command module]]s.
 
{{Tl|Infobox/Part}} module for [[command module]]s.
  
 
{{Parameter table|parameters=
 
{{Parameter table|parameters=
{{Parameter row|1|Maximum crew capacity.}}
+
{{Parameter row|capacity|Maximum crew capacity for the module.}}
{{Parameter row|2|Required crew to make the module work.|Not set/Hidden}}
+
{{Parameter row|required|Required crew to make the module work.|Not set/Hidden}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 16:04, 13 September 2024

Crew capacity (maximum) Crew
(required) Crew

{{Infobox/Part}} module for command modules.

# Optional Description Default
capacity No Maximum crew capacity for the module.
required Yes Required crew to make the module work. Not set/Hidden