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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{Infobox/Line|{{lang|en=Pitch torque|de=Nickdrehmoment}}|{{#if: {{{pitch torque|}}}|{{{pitch torque}}}|{{{torque}}}}}}} {{Infobox/Line|{{lang|en=Yaw torque|de=Gi...")
 
m (*changed parameter names to numbers;)
Line 1: Line 1:
<includeonly>{{Infobox/Line|{{lang|en=Pitch torque|de=Nickdrehmoment}}|{{#if: {{{pitch torque|}}}|{{{pitch torque}}}|{{{torque}}}}}}}
+
<includeonly>{{Infobox/Line|{{lang|en=Pitch torque|de=Nickdrehmoment}}|{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}}}}
{{Infobox/Line|{{lang|en=Yaw torque|de=Gierdrehmoment}}|{{#if: {{{yaw torque|}}}|{{{yaw torque}}}|{{{torque}}}}}}}
+
{{Infobox/Line|{{lang|en=Yaw torque|de=Gierdrehmoment}}|{{#if: {{{4|}}}|{{{4}}}|{{{1}}}}}}}
{{Infobox/Line|{{lang|en=Roll torque|de=Rolldrehmoment}}|{{#if: {{{roll torque|}}}|{{{roll torque}}}|{{{torque}}}}}}}
+
{{Infobox/Line|{{lang|en=Roll torque|de=Rolldrehmoment}}|{{#if: {{{5|}}}|{{{5}}}|{{{1}}}}}}}
{{Infobox/Line|{{Infobox/Part/Dict|torque req}}|{{#if: {{{torque drain|}}}|{{{torque drain}}}|{{#expr: {{{torque}}} * 0.1}}}}&nbsp;E/s}}</includeonly><noinclude>This template adds four lines about the torque properties.
+
{{Infobox/Line|{{Infobox/Part/Dict|torque req}}|{{#if: {{{2|}}}|{{{2}}}|{{#expr: {{{1}}} * 0.1}}}}&nbsp;E/s}}</includeonly><noinclude>This template adds four lines about the torque properties.
  
{{Parameter Table|name=text|parameters=
+
{{Parameter Table|name=number|parameters=
{{ParameterRow|torque|Maximum SAS torque}}
+
{{ParameterRow|1|Maximum SAS torque}}
{{ParameterRow|pitch torque|Maxmimum pitch torque|<tt>{{{torque}}}</tt>}}
+
{{ParameterRow|2|The amount of power drained by the reaction wheels|10 % of the <tt>{{{torque}}}</tt>}}
{{ParameterRow|yaw torque|Maxmimum yaw torque|<tt>{{{torque}}}</tt>}}
+
{{ParameterRow|3|Maxmimum pitch torque|<tt>{{{torque}}}</tt>}}
{{ParameterRow|roll torque|Maxmimum roll torque|<tt>{{{torque}}}</tt>}}
+
{{ParameterRow|4|Maxmimum yaw torque|<tt>{{{torque}}}</tt>}}
{{ParameterRow|torque drain|The amount of power drained by the reaction wheels|10 % of the <tt>{{{torque}}}</tt>}}
+
{{ParameterRow|5|Maxmimum roll torque|<tt>{{{torque}}}</tt>}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 16:53, 28 July 2013

This template adds four lines about the torque properties.

Template:Parameter Table