Difference between revisions of "Template:Infobox/Part/torque"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!the torque parameter is numbered;) |
(+different default values;) |
||
Line 2: | Line 2: | ||
{{Infobox/Line|{{lang|en=Yaw torque|de=Gierdrehmoment|pl=Siła wychylenia|zh-cn=偏航扭矩|ko=요 회전력}}|{{#if: {{{4|}}}|{{{4}}}|{{{1}}}}} kN·m}} | {{Infobox/Line|{{lang|en=Yaw torque|de=Gierdrehmoment|pl=Siła wychylenia|zh-cn=偏航扭矩|ko=요 회전력}}|{{#if: {{{4|}}}|{{{4}}}|{{{1}}}}} kN·m}} | ||
{{Infobox/Line|{{lang|en=Roll torque|de=Rolldrehmoment|pl=Siła obrotu|zh-cn=翻滚扭矩|ko=롤 회전력}}|{{#if: {{{5|}}}|{{{5}}}|{{{1}}}}} kN·m}} | {{Infobox/Line|{{lang|en=Roll torque|de=Rolldrehmoment|pl=Siła obrotu|zh-cn=翻滚扭矩|ko=롤 회전력}}|{{#if: {{{5|}}}|{{{5}}}|{{{1}}}}} kN·m}} | ||
− | {{Infobox/Line|{{Infobox/Part/Dict|torque req}}|2=<abbr title="Maximum per axis: {{#expr: {{#if: {{{2|}}}|{{{2}}}|{{{1}}} * 0.1}}}} E/s">{{#expr: {{#if: {{{2|}}}|{{{2}}}|{{{1}}} * 0.1}}/{{{1}}}}} E/(s·kN·m)</abbr>}}</includeonly><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. | + | {{Infobox/Line|{{Infobox/Part/Dict|torque req}}|2=<abbr title="Maximum per axis: {{#expr: {{#if: {{{2|}}}|{{{2}}}|{{{1}}} * {{#switch: {{lc:{{{type|}}}}} |
+ | |dedicated=0.015 | ||
+ | |module | ||
+ | |#default=0.1}}}}}} E/s">{{#expr: {{#if: {{{2|}}}|{{{2}}}|{{{1}}} * {{#switch: {{lc:{{{type|}}}}} | ||
+ | |dedicated=0.015 | ||
+ | |module | ||
+ | |#default=0.1}}}}/{{{1}}}}} E/(s·kN·m)</abbr>}}</includeonly><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. | ||
− | {{Parameter Table|name= | + | {{Parameter Table|name=both|parameters= |
{{Parameter Row|1|Maximum SAS torque in kN·m}} | {{Parameter Row|1|Maximum SAS torque in kN·m}} | ||
− | {{Parameter Row|2|The maximum amount of power drained by the reaction wheels in E/s| | + | {{Parameter Row|2|The maximum amount of power drained by the reaction wheels in E/s.|<tt>{{{torque}}}</tt> × <tt>{{{type}}}</tt>}} |
{{Parameter Row|3|Maximum pitch torque in kN·m.|<tt>{{{torque}}}</tt>}} | {{Parameter Row|3|Maximum pitch torque in kN·m.|<tt>{{{torque}}}</tt>}} | ||
{{Parameter Row|4|Maximum yaw torque in kN·m.|<tt>{{{torque}}}</tt>}} | {{Parameter Row|4|Maximum yaw torque in kN·m.|<tt>{{{torque}}}</tt>}} | ||
{{Parameter Row|5|Maximum roll torque in kN·m.|<tt>{{{torque}}}</tt>}} | {{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 E/(s·kN·m) | ||
+ | * Module: 0.1 E/(s·kN·m).|<tt>module</tt>|default paragraphed=y}} | ||
}} | }} | ||
{{Subcategory|metatemplates}}</noinclude> | {{Subcategory|metatemplates}}</noinclude> |
Revision as of 20:06, 6 January 2014
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.