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

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