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

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{#if: {{{torque|<noinclude>12</noinclude>}}}|
+
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Part/torque|{{{torque<noinclude>|12</noinclude>}}}|{{{torque drain|}}}|{{{pitch torque|}}}|{{{yaw torque|}}}|{{{roll torque|}}}|type=Module}}
{{Infobox/Part/torque|{{{torque<noinclude>|12</noinclude>}}}|{{{torque drain|}}}|{{{pitch torque|}}}|{{{yaw torque|}}}|{{{roll torque|}}}|type=Module}}}}
+
{{#if: {{{power consumption|}}}|
{{#if: {{{power consumption|<noinclude>2</noinclude>}}}|
 
 
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{power consumption}}} * 60)}}|2}}&nbsp;{{mark|echu}}/{{dict|min}}}}}}
 
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{power consumption}}} * 60)}}|2}}&nbsp;{{mark|echu}}/{{dict|min}}}}}}
 
{{if|expr|{{{crew|0<noinclude>3</noinclude>}}}>0|
 
{{if|expr|{{{crew|0<noinclude>3</noinclude>}}}>0|
Line 10: Line 9:
  
 
{{Parameter table|name=text|parameters=
 
{{Parameter table|name=text|parameters=
{{Parameter row|torque|Maximum SAS torque|Not set/Hidden}}
+
{{Parameter row|torque|Maximum SAS torque}}
 
{{Parameter row|pitch torque|Maximum pitch torque.|<tt>{{{torque}}}</tt>|1}}
 
{{Parameter row|pitch torque|Maximum pitch torque.|<tt>{{{torque}}}</tt>|1}}
 
{{Parameter row|yaw torque|Maximum yaw torque.|<tt>{{{torque}}}</tt>|1}}
 
{{Parameter row|yaw torque|Maximum yaw torque.|<tt>{{{torque}}}</tt>|1}}
Line 16: Line 15:
 
{{Parameter row|torque drain|The amount of power drained by the reaction wheels. Automatically calculated with <tt>type</tt> set to <tt>Module</tt> of {{Tl|Infobox/Part/torque}}.|Not set|1}}
 
{{Parameter row|torque drain|The amount of power drained by the reaction wheels. Automatically calculated with <tt>type</tt> set to <tt>Module</tt> of {{Tl|Infobox/Part/torque}}.|Not set|1}}
 
{{Parameter row|power consumption|Electric power required to run the probe in {{mark|echu}}/s.|Not set/Hidden}}
 
{{Parameter row|power consumption|Electric power required to run the probe in {{mark|echu}}/s.|Not set/Hidden}}
{{Parameter row|crew|Crew capacity. Not required if <tt>{{{power consumption}}}</tt> set.}}
+
{{Parameter row|crew|Crew capacity. Not required if <tt>{{{power consumption}}}</tt> is set.}}
{{Parameter row|crew req|Required crew to be operable. Not required if <tt>{{{power consumption}}}</tt> set.|<tt>1</tt>}}
+
{{Parameter row|crew req|Required crew to be operable. Not required if <tt>{{{power consumption}}}</tt> is set.|<tt>1</tt>}}
{{Parameter row|mp|Monopropellant storage for EVA. Must be given also in the main template. Not required if <tt>{{{power consumption}}}</tt> set.|Not set/Hidden}}
+
{{Parameter row|mp|Monopropellant storage for EVA. Must be given also in the main template. Not required if <tt>{{{power consumption}}}</tt> is set.|Not set/Hidden}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 11:40, 14 April 2018

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.

Name Optional Description Default
torque No Maximum SAS torque
pitch torque Yes Maximum pitch torque. {{{torque}}}
yaw torque Yes Maximum yaw torque. {{{torque}}}
roll torque Yes Maximum roll torque. {{{torque}}}
torque drain Yes The amount of power drained by the reaction wheels. Automatically calculated with type set to Module of {{Infobox/Part/torque}}. Not set
power consumption Yes Electric power required to run the probe in ⚡/s. Not set/Hidden
crew No Crew capacity. Not required if {{{power consumption}}} is set.
crew req Yes Required crew to be operable. Not required if {{{power consumption}}} is set. 1
mp Yes Monopropellant storage for EVA. Must be given also in the main template. Not required if {{{power consumption}}} is set. Not set/Hidden