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

From Kerbal Space Program Wiki
Jump to: navigation, search
m
(*allow crew on probe cores;)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Part/Torque|{{{torque<noinclude>|12</noinclude>}}}|{{{torque drain|}}}|{{{pitch torque|}}}|{{{yaw torque|}}}|{{{roll torque|}}}|type=Module}}
 
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Part/Torque|{{{torque<noinclude>|12</noinclude>}}}|{{{torque drain|}}}|{{{pitch torque|}}}|{{{yaw torque|}}}|{{{roll torque|}}}|type=Module}}
 
{{#if: {{{power consumption|}}}|
 
{{#if: {{{power consumption|}}}|
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{power consumption}}} * 60)}}}|2}}&nbsp;E/m}}|
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{power consumption}}} * 60)}}}|2}}&nbsp;E/m}}}}{{if|expr|{{{crew|0<noinclude>3</noinclude>}}}>0|
{{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}}|{{{crew req|<noinclude>1</noinclude>}}}}}}}
+
{{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}}|{{{crew req|1}}}}}}}
 
{{Infobox/Part/tank|mp={{{mp|<noinclude>30</noinclude>}}}}}<noinclude>}}
 
{{Infobox/Part/tank|mp={{{mp|<noinclude>30</noinclude>}}}}}<noinclude>}}
  
{{Tl|Infobox/Part}} module for [[command module]]s.
+
{{Tl|Infobox/Part}} module for [[command module]]s. Either <code>power consumption</code> or <code>crew</code> must be set.
  
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=

Revision as of 13:41, 12 October 2014

Torque {{{pitch torque}}} kN·m
Electricity required
0.000
s·kN·m
Crew capacity (max) {{{capacity}}} Crew
Monopropellant 30 Units of fuel

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

Template:Parameter Table