Difference between revisions of "Template:Infobox/Part/command module"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Remove torque and monopropellant because not all modules have them. Use the appropriate templates)
m (Formatting)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>
+
<noinclude>{{Infobox/Part/preview|
{{#ifexpr: {{{crew|0<noinclude>3</noinclude>}}}>0|{{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}}|{{{crew req|1}}}}}}}
+
</noinclude>{{#ifexpr: {{{crew|0<noinclude>3</noinclude>}}}>0|{{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}}|{{{crew req|1}}}}}}}
 
{{#if: {{{power consumption|<noinclude>0.05</noinclude>}}}|
 
{{#if: {{{power consumption|<noinclude>0.05</noinclude>}}}|
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: {{{power consumption<noinclude>|0.05</noinclude>}}}*60}}|2}}&nbsp;{{mark|echu}}/{{dict|min}}}}}}<noinclude>}}
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: {{{power consumption<noinclude>|0.05</noinclude>}}}*60}}|2}}&nbsp;{{mark|echu}}/{{dict|min}}}}}}<noinclude>
 +
}}
  
 
{{Tl|Infobox/Part}} module for [[command module]]s. Either <code>power consumption</code> or <code>crew</code> must be set.
 
{{Tl|Infobox/Part}} module for [[command module]]s. Either <code>power consumption</code> or <code>crew</code> must be set.

Revision as of 15:27, 13 September 2024

Crew capacity (max) {{{capacity}}} Crew
Electricity required 3.00 ⚡/min

{{Infobox/Part}} module for command modules. Either power consumption or crew must be set.

Name Optional Description Default
crew Yes Crew capacity. Not required if {{{power consumption}}} is set. 0
crew req Yes Required crew to be operable. Not required if {{{power consumption}}} is set. 1
power consumption Yes Electric power required to run the probe in ⚡/s. Not set/Hidden