Difference between revisions of "Electricity/SourcesTableRow"

From Space Engineers Wiki
Jump to: navigation, search
(Created page with "Row template for the Electricity sources overview table. <pre><nowiki>{{:Electricity/SourcesTableRow|<mod block page>}}</nowiki></pre> {| class="wikitable sortable" |- !...")
 
(Using kW instead of MW in Mass Efficiency and Energy Density)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
! data-sort-type="number"| Mass Efficiency
 
! data-sort-type="number"| Mass Efficiency
 
! data-sort-type="number"| Energy Density
 
! data-sort-type="number"| Energy Density
<onlyinclude>
+
<onlyinclude>|- {{#vardefine:SOURCE|{{{1|Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock}}}}}
|- {{#vardefine:SOURCE|{{{1|Mod:Vanilla/CubeBlock/LargeBlockBatteryBlock}}}}}
 
 
| [[File:{{#switch:{{#vardefineecho:CUBESIZE|{{#show:{{#var:SOURCE}}|?CubeSize#-n}}}}|Large=Large_Ship_Icon.png|Small=Small_Ship_Icon.png}}|32px|link=]]&nbsp;{{#var:CUBESIZE}}
 
| [[File:{{#switch:{{#vardefineecho:CUBESIZE|{{#show:{{#var:SOURCE}}|?CubeSize#-n}}}}|Large=Large_Ship_Icon.png|Small=Small_Ship_Icon.png}}|32px|link=]]&nbsp;{{#var:CUBESIZE}}
 
| data-sort-value="{{translate|{{#var:SOURCE}}}}"| [[File:{{#show:{{#var:SOURCE}}|?Icon}}|32px|link=]]&nbsp;[[{{#show:{{#var:SOURCE}}|?Main article#-}}|{{translate|{{#var:SOURCE}}}}]]
 
| data-sort-value="{{translate|{{#var:SOURCE}}}}"| [[File:{{#show:{{#var:SOURCE}}|?Icon}}|32px|link=]]&nbsp;[[{{#show:{{#var:SOURCE}}|?Main article#-}}|{{translate|{{#var:SOURCE}}}}]]
Line 20: Line 19:
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:MASS| {{#show:{{#var:SOURCE}}|?Mass#-n}}}}}}&nbsp;kg
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:MASS| {{#show:{{#var:SOURCE}}|?Mass#-n}}}}}}&nbsp;kg
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:POWER| {{#show:{{#var:SOURCE}}|?MaxPowerOutput#-n}}}}&nbsp;MW}}
 
| style="text-align:right;"| {{formatnum:{{#vardefineecho:POWER| {{#show:{{#var:SOURCE}}|?MaxPowerOutput#-n}}}}&nbsp;MW}}
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:POWER}} / {{#var:MASS}} * 1000 round 0}}}}&nbsp;MW/kg
+
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:POWER}} / {{#var:MASS}} * 1000000 round 0}}}}&nbsp;kW/kg
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:POWER}} / {{#var:VOLUME}} round 0}}}}&nbsp;MW/{{m3}}
+
| style="text-align:right;"| {{formatnum:{{#expr: {{#var:POWER}} / {{#var:VOLUME}} * 1000 round 0}}}}&nbsp;kW/{{m3}}
 
</onlyinclude>
 
</onlyinclude>
 
|}
 
|}
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 18:44, 18 February 2022

Row template for the Electricity sources overview table.

{{:Electricity/SourcesTableRow|<mod block page>}}
Block size Energy Source Dimensions Volume Mass Max Output Mass Efficiency Energy Density
Large Ship Icon.png Large Battery Icon.png Battery 1,1,1 15.625 m3 3,845 kg 12 MW 3,121 kW/kg 768 kW/m3