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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m (use named parameters)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|{{Infobox/Part/Dict|crew}}|{{{1<noinclude>|3</noinclude>}}}|{{{2|<noinclude>1</noinclude>}}}|type1={{lang|en=maximum|pl=maksymalna|ru=максимальная|ja=最大|hu=max.}}|type2={{lang|en=required|pl=wymagana|de=mindestens|ru=требуемая|ja=必要|hu=szük.}}}}<noinclude>}}
+
<noinclude>{{Infobox/Part/preview|
 +
</noinclude>{{#if: {{{required|<noinclude>1</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 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