Difference between revisions of "Refining/RefiningTableRow"

From Space Engineers Wiki
Jump to: navigation, search
(Template for refining stats table rows)
 
(Removed unused variables)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{#vardefine:matefficiency|{{#show:Mod:Vanilla/CubeBlock/BlastFurnace|?MaterialEfficiency#-n}}}}
+
<noinclude>{| class="wikitable sortable"
{{#vardefine:refspeed|{{#show:Mod:Vanilla/CubeBlock/BlastFurnace|?RefineSpeed#-n}}}}
 
{| class="wikitable sortable"
 
 
!style="text-align:center;" | Ore
 
!style="text-align:center;" | Ore
 
!style="text-align:center;" data-sort-type="number" | Processing<br/>Time
 
!style="text-align:center;" data-sort-type="number" | Processing<br/>Time
Line 19: Line 17:
 
{{#vardefine:INGOTSPERSECOND | {{#expr:{{#var:INGOTSPERORE}} * {{#var:OREPERSECOND}}}}}}
 
{{#vardefine:INGOTSPERSECOND | {{#expr:{{#var:INGOTSPERORE}} * {{#var:OREPERSECOND}}}}}}
 
{{#vardefine:SECONDSPERINGOT | {{#expr: 1 / {{#var:INGOTSPERSECOND}}}}}}
 
{{#vardefine:SECONDSPERINGOT | {{#expr: 1 / {{#var:INGOTSPERSECOND}}}}}}
|style="text-align:left;"|[[File:{{#show:{{#var:ORE}}|?Icon}}|32px|link={{#show:{{#var:ORE}}|?Main article#-}}]]&nbsp;[[{{translate|{{#var:ORE}}}}]]
+
|style="text-align:left;" data-sort-value="{{translate|{{#var:ORE}}}}"|[[File:{{#show:{{#var:ORE}}|?Icon}}|32px|link={{#show:{{#var:ORE}}|?Main article#-}}]]&nbsp;[[{{translate|{{#var:ORE}}}}]]
 
|style="text-align:right;"|{{#expr:{{#var:SECONDSPERORE}} round 3}} s/kg
 
|style="text-align:right;"|{{#expr:{{#var:SECONDSPERORE}} round 3}} s/kg
 
|style="text-align:right;"|{{#expr:{{#var:INGOTSPERORE}} * 100}}%
 
|style="text-align:right;"|{{#expr:{{#var:INGOTSPERORE}} * 100}}%
Line 25: Line 23:
 
|style="text-align:right;"|{{#expr:{{#var:INGOTSPERSECOND}} round 3}} kg/s
 
|style="text-align:right;"|{{#expr:{{#var:INGOTSPERSECOND}} round 3}} kg/s
 
|style="text-align:right;"|{{#expr:{{#var:SECONDSPERINGOT}} round 3}} s/kg
 
|style="text-align:right;"|{{#expr:{{#var:SECONDSPERINGOT}} round 3}} s/kg
|style="text-align:left;"|<!--
+
|style="text-align:left;" data-sort-value="{{translate|{{{2|Mod:Vanilla/Ingot/Iron}}}}}"|<!--
 
-->[[File:{{#show:{{{2|Mod:Vanilla/Ingot/Iron}}}|?Icon}}|32px|link={{#show:{{{2}}}|?Main article#-}}]]&nbsp;[[{{translate|{{{2|Mod:Vanilla/Ingot/Iron}}}}}]]<!--
 
-->[[File:{{#show:{{{2|Mod:Vanilla/Ingot/Iron}}}|?Icon}}|32px|link={{#show:{{{2}}}|?Main article#-}}]]&nbsp;[[{{translate|{{{2|Mod:Vanilla/Ingot/Iron}}}}}]]<!--
 
-->{{#if: {{{3|}}}|<br/>[[File:{{#show:{{{3}}}|?Icon}}|32px|link={{#show:{{{3}}}|?Main article#-}}]]&nbsp;[[{{translate|{{{3}}}}}]]}}<!--
 
-->{{#if: {{{3|}}}|<br/>[[File:{{#show:{{{3}}}|?Icon}}|32px|link={{#show:{{{3}}}|?Main article#-}}]]&nbsp;[[{{translate|{{{3}}}}}]]}}<!--

Latest revision as of 18:09, 14 November 2020

Ore Processing
Time
Combined
Efficiency
Consumption Production Production
Time
Result
Iron Ore Icon.png Iron Ore 0.05 s/kg 70% 20 kg/s 14 kg/s 0.071 s/kg link=Some part "<nowiki>...</nowiki>" of the query was not understood. Some subquery has no valid condition. Iron Ingot

Usage:

{{:Refining/RefiningTableRow|ore|ingot[|ingot2][|ingot3][|ingot4][|RefinerySpeed=speed][|RefineryEfficiency=efficiency]}}