Template:Type: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(potential bugfix for Infobox rows that use the Quality template v3)
(Add heat and fuel as types for energy consumption)
 
Line 1: Line 1:
{{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
{{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
| heat  = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|heat]])
| fuel  = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|{{Translation|fuel}}]])
| burner = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|{{Translation|burner}}]])
| burner = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|{{Translation|burner}}]])
| electric = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Electric system{{If language suffix}}|{{Translation|electric}}]])
| electric = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Electric system{{If language suffix}}|{{Translation|electric}}]])

Latest revision as of 18:33, 12 November 2024