Difference between revisions of "Thruster/TableRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Show Power consumption in italics if isHydro is yes)
m (Added flame length)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
! data-sort-type="number"| Thrust-to-Size
 
! data-sort-type="number"| Thrust-to-Size
 
! data-sort-type="number"| Thrust-to-Power
 
! data-sort-type="number"| Thrust-to-Power
 +
! data-sort-type="number"| Flame Length
 
<onlyinclude>|- {{#vardefine:THRUSTER|{{{1|Mod:Vanilla/CubeBlock/LargeBlockLargeThrust}}}}}
 
<onlyinclude>|- {{#vardefine:THRUSTER|{{{1|Mod:Vanilla/CubeBlock/LargeBlockLargeThrust}}}}}
 
| [[File:{{#switch:{{#vardefineecho:CUBESIZE|{{#show:{{#var:THRUSTER}}|?CubeSize#-n}}}}|Large=Large_Ship_Icon.png|Small=Small_Ship_Icon.png}}|32px|link=]]&nbsp;{{#var:CUBESIZE}}
 
| [[File:{{#switch:{{#vardefineecho:CUBESIZE|{{#show:{{#var:THRUSTER}}|?CubeSize#-n}}}}|Large=Large_Ship_Icon.png|Small=Small_Ship_Icon.png}}|32px|link=]]&nbsp;{{#var:CUBESIZE}}
Line 22: Line 23:
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:FORCE| {{#expr: {{#show:{{#var:THRUSTER}}|?ForceMagnitude#-n}} / 1000}}}}}}&nbsp;kN
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:FORCE| {{#expr: {{#show:{{#var:THRUSTER}}|?ForceMagnitude#-n}} / 1000}}}}}}&nbsp;kN
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:MASS| {{#show:{{#var:THRUSTER}}|?Mass#-n}}}}}}&nbsp;kg
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:MASS| {{#show:{{#var:THRUSTER}}|?Mass#-n}}}}}}&nbsp;kg
| style="text-align:right;"| {{#ifeq: {{{isHydro|no}}}|yes|''}}{{formatnum:{{#vardefineecho:POWER| {{#show:{{#var:THRUSTER}}|?MaxPowerConsumption#-n}}}}}}&nbsp;MW{{#ifeq: {{{isHydro|no}}}|yes|''}}
+
| style="text-align:right;"| {{#ifeq: {{{isHydro|no}}}|no|{{formatnum:{{#vardefineecho:POWER| {{#show:{{#var:THRUSTER}}|?MaxPowerConsumption#-n}}}}}}&nbsp;MW|''N/A''}}
 
| style="text-align:right;"| {{#ifeq: {{{isHydro|no}}}|yes|{{formatnum:{{#expr: {{#vardefineecho:POWER| {{#show:{{#var:THRUSTER}}|?MaxPowerConsumption#-n}}}} / {{#expr:{{formatnum:{{#show: Hydrogen |?EnergyDensity}}|R}} * 1e-6}} round 0}}}}&nbsp;L/s|''N/A''}}
 
| style="text-align:right;"| {{#ifeq: {{{isHydro|no}}}|yes|{{formatnum:{{#expr: {{#vardefineecho:POWER| {{#show:{{#var:THRUSTER}}|?MaxPowerConsumption#-n}}}} / {{#expr:{{formatnum:{{#show: Hydrogen |?EnergyDensity}}|R}} * 1e-6}} round 0}}}}&nbsp;L/s|''N/A''}}
 
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:MASS}} * 1000 round 0}}}}&nbsp;N/kg
 
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:MASS}} * 1000 round 0}}}}&nbsp;N/kg
 
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:VOLUME}} round 0}}}}&nbsp;kN/{{m3}}
 
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:VOLUME}} round 0}}}}&nbsp;kN/{{m3}}
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:POWER}} round 0}}}}&nbsp;kN/MW</onlyinclude>
+
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:FORCE}} / {{#var:POWER}} round 0}}}}&nbsp;kN/MW
 +
| style="text-align:right;"| {{formatnum:{{#expr: {{#show:{{#var:THRUSTER}}|?MaxFlameLength#-n}} round 2}}}}&nbsp;m</onlyinclude>
 
|}
 
|}
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 00:56, 1 November 2020

Row template for the Thruster overview table.

{{:Thruster/TableRow|<mod block page>|isHydro=yes/no}}
Block size Thruster Dimensions Volume Maximum
Thrust
Mass Max Power
Consumption
Max Hydrogen
Consumption
Thrust-to-Mass Thrust-to-Size Thrust-to-Power Flame Length
Large Ship Icon.png Large Large Thruster Icon.png Large Ion Thruster 3,2,4 375 m3 4,320 kN 43,200 kg 33.6 MW N/A 100 N/kg 12 kN/m3 129 kN/MW 11.9 m