Difference between revisions of "Template:Infobox/Part/command module"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m |
m |
||
Line 1: | Line 1: | ||
<noinclude>{{Infobox/Part/preview|</noinclude>{{#if: {{{torque|<noinclude>12</noinclude>}}}| | <noinclude>{{Infobox/Part/preview|</noinclude>{{#if: {{{torque|<noinclude>12</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}} {{mark|echu}}/{{dict|min}}}}}}{{if|expr|{{{crew|0<noinclude>3</noinclude>}}}>0| | + | {{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|{{Formatnum|{{#expr: ({{{power consumption}}} * 60)}}|2}} {{mark|echu}}/{{dict|min}}}}}} |
+ | {{if|expr|{{{crew|0<noinclude>3</noinclude>}}}>0| | ||
{{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}} {{mark|crew}}|{{{crew req|1}}} {{mark|crew}}}}}} | {{Infobox/Part/crew|{{{crew<noinclude>|3</noinclude>}}} {{mark|crew}}|{{{crew req|1}}} {{mark|crew}}}}}} | ||
{{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. Either <code>power consumption</code> or <code>crew</code> must be set. | + | {{Tl|Infobox/Part}} module for [[command module]]s. Either <code>torque</code>, <code>power consumption</code> or <code>crew</code> must be set. |
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
− | {{Parameter row|torque|Maximum SAS torque}} | + | {{Parameter row|torque|Maximum SAS torque|Not set/Hidden}} |
− | {{Parameter row|pitch torque|Maximum pitch torque.|<tt>{{{torque}}}</tt>}} | + | {{Parameter row|pitch torque|Maximum pitch torque.|<tt>{{{torque}}}</tt>|1}} |
− | {{Parameter row|yaw torque|Maximum yaw torque.|<tt>{{{torque}}}</tt>}} | + | {{Parameter row|yaw torque|Maximum yaw torque.|<tt>{{{torque}}}</tt>|1}} |
− | {{Parameter row|roll torque|Maximum roll torque.|<tt>{{{torque}}}</tt>}} | + | {{Parameter row|roll torque|Maximum roll torque.|<tt>{{{torque}}}</tt>|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/ | + | {{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 {{{power consumption}}} is not empty.}} | {{Parameter row|crew|Crew capacity. Not required if {{{power consumption}}} is not empty.}} |
Revision as of 08:24, 14 April 2018
Torque | {{{pitch torque}}} kN·m | ||||
Electricity required |
| ||||
Electricity required | 0.00 ⚡/min | ||||
Crew capacity | (max) | {{{capacity}}} | |||
Monopropellant | 30 |
{{Infobox/Part}} module for command modules. Either torque
, power consumption
or crew
must be set.
Name | Optional | Description | Default |
---|---|---|---|
torque | Yes | Maximum SAS torque | Not set/Hidden |
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 not empty. | |
crew req | Yes | Required crew to be operable. Not required if {{{power consumption}}} is not empty. | 1 |
mp | Yes | Monopropellant storage for EVA. Must be given also in the main template. Not required if {{{power consumption}}} is not empty. | Not set/Hidden |