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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
m (Can't find anything related to usage depending on the part type)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Line|{{lang|en=Pitch torque|fr=Force d'inclinaison (Nord-Sud)|de=Nickdrehmoment|ru=Крутящий момент по тангажу|pl=Siła Pułapu|hr=Poprečni moment sile|zh-cn=俯仰扭矩|ko=피치 회전력|ja=ピッチトルク|hu=Bólintó&nbsp;nyomaték}}|{{#if: {{{3|}}}|{{{3}}}|{{{1<noinclude>|42</noinclude>}}}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Line|{{lang|en=Yaw torque|fr=Force d'inclinaison (Ouest-Est)|de=Gierdrehmoment|ru=Крутящий момент по рысканию|pl=Siła wychylenia|hr=okomiti moment sile|zh-cn=偏航扭矩|ko=요 회전력|ja=ヨートルク|hu=Fordító&nbsp;nyomaték}}|{{#if: {{{4|}}}|{{{4}}}|{{{1<noinclude>|42</noinclude>}}}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}
+
</noinclude>{{#ifexpr: {{{pitch torque|0}}}={{{yaw torque|0}}} and {{{yaw torque|0}}}={{{roll torque|0<noinclude>1</noinclude>}}}|{{Infobox/Line|{{Infobox/Part/Dict|torque}}|{{{pitch torque}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}|
{{Infobox/Line|{{lang|en=Roll torque|fr= Force de Pivot|de=Rolldrehmoment|ru=Крутящий момент по крену|pl=Siła obrotu|hr=uzdužni moment sile|zh-cn=翻滚扭矩|ko=롤 회전력|ja=ロールトルク|hu=Csűrő&nbsp;nyomaték}}|{{#if: {{{5|}}}|{{{5}}}|{{{1<noinclude>|42</noinclude>}}}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|pitch torque}}|{{{pitch torque<noinclude>|15</noinclude>}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}
{{Infobox/Line|{{Infobox/Part/Dict|torque req}}|2=style="padding:0px;" {{!}} {{(!}} style="border-spacing: 0px; border-collapse: collapse;"
+
{{Infobox/Line|{{Infobox/Part/Dict|yaw torque}}|{{{yaw torque<noinclude>|6</noinclude>}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}
{{!}} rowspan="2" style="padding: 0px 2px 0px 0px;" {{!}} <abbr title="Maximum per axis: {{#expr: {{#if: {{{2|}}}|{{{2}}}|{{{1<noinclude>|42</noinclude>}}} * {{#switch: {{lc:{{{type|}}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|roll torque}}|{{{roll torque<noinclude>|6</noinclude>}}}&nbsp;{{dict|k}}{{dict|N}}·{{dict|m}}}}}}
|dedicated=0.015
+
{{Infobox/Line|{{Infobox/Part/Dict|ele-req}}|2=style="padding:0px;" {{!}} {{(!}} style="border-spacing: 0px; border-collapse: collapse;"
|module
+
{{!}} rowspan="2" style="padding: 0px 2px 0px 0px;" {{!}} <abbr title="Maximum per axis: {{{usage<noinclude>|0.5</noinclude>}}}&nbsp;{{mark|echu}}/{{dict|s}}">{{Formatnum|{{#expr: {{{usage<noinclude>|0.5</noinclude>}}}/{{{pitch torque<noinclude>|15</noinclude>}}}}}|3}}</abbr>
|#default=0.1}}}}}} {{mark|echu}}/{{dict|s}}">{{Formatnum|{{#if: {{{2|}}}|{{#expr: {{{2}}}/{{{1}}}}}|{{#switch: {{lc:{{{type|}}}}}
 
|dedicated=0.015
 
|module
 
|#default=0.1}}}}|3}}</abbr>
 
 
{{!}} style="text-align:center;border-bottom:1px solid #000;font-size:x-small;padding:0px;" {{!}} {{mark|echu}}
 
{{!}} style="text-align:center;border-bottom:1px solid #000;font-size:x-small;padding:0px;" {{!}} {{mark|echu}}
 
{{!}}-
 
{{!}}-
 
{{!}} style="text-align:center;font-size:x-small;padding:0px;" {{!}} {{dict|s}}·{{dict|k}}{{dict|N}}·{{dict|m}}
 
{{!}} style="text-align:center;font-size:x-small;padding:0px;" {{!}} {{dict|s}}·{{dict|k}}{{dict|N}}·{{dict|m}}
{{!)}}}}<noinclude>}}
+
{{!)}}}}<noinclude>
 +
}}
  
 
This template adds four lines about the torque properties. The electricity requirement in the part configuration is usually given as the maximum amount of electricity drained in one axis. This value is required for the second parameter and not the electricity required per second and per kilonewton–meter.
 
This template adds four lines about the torque properties. The electricity requirement in the part configuration is usually given as the maximum amount of electricity drained in one axis. This value is required for the second parameter and not the electricity required per second and per kilonewton–meter.
  
{{Parameter Table|name=both|parameters=
+
{{Parameter table|name=both|parameters=
{{Parameter row|1|Maximum SAS torque in kN·m}}
+
{{Parameter row|pitch torque|Maximum pitch torque in kN·m.}}
{{Parameter row|2|The maximum amount of power drained by the reaction wheels in {{mark|echu}}/s.|<tt>{{{torque}}}</tt> × <tt>{{{type}}}</tt>}}
+
{{Parameter row|yaw torque|Maximum yaw torque in kN·m.}}
{{Parameter row|3|Maximum pitch torque in kN·m.|<tt>{{{torque}}}</tt>}}
+
{{Parameter row|roll torque|Maximum roll torque in kN·m.}}
{{Parameter row|4|Maximum yaw torque in kN·m.|<tt>{{{torque}}}</tt>}}
+
{{Parameter row|usage|The maximum amount of power drained by the reaction wheels in {{mark|echu}}/s.}}
{{Parameter row|5|Maximum roll torque in kN·m.|<tt>{{{torque}}}</tt>}}
 
{{Parameter row|type|Default electric usages depending of the type of the part. The value is case insensitive.
 
* Dedicated: 0.015 {{mark|echu}}/(s·kN·m)
 
* Module: 0.1 {{mark|echu}}/(s·kN·m).|<tt>module</tt>|default paragraphed=y}}
 
 
}}
 
}}
  
{{Subcategory|metatemplates}}</noinclude>
+
{{Subcategory|modules}}</noinclude>

Latest revision as of 19:09, 9 September 2024

Pitch torque 15 kN·m
Yaw torque 6 kN·m
Roll torque 6 kN·m
Electricity required
0.033
s·kN·m

This template adds four lines about the torque properties. The electricity requirement in the part configuration is usually given as the maximum amount of electricity drained in one axis. This value is required for the second parameter and not the electricity required per second and per kilonewton–meter.

#/Name Optional Description Default
pitch torque No Maximum pitch torque in kN·m.
yaw torque No Maximum yaw torque in kN·m.
roll torque No Maximum roll torque in kN·m.
usage No The maximum amount of power drained by the reaction wheels in ⚡/s.