Template:Type: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Add heat and fuel as types for energy consumption)
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#explode: {{{1}}}| |0}} {{#explode: {{{1}}}| |1}} ({{#switch: {{#explode: {{{1}}}| |2}}
{{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
| electric = [[Electric network{{If language suffix}}|{{Translation|electric}}]]
| heat  = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|heat]])
| burner = [[Fuel{{If language suffix}}|{{Translation|burner}}]]
| fuel  = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|{{Translation|fuel}}]])
| #default = {{Translation|TO BE ADDED DON"T FORGET}}
| 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}}]])
| explosion | explosive = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Damage{{If language suffix}}|explosive]])
| physical = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Damage{{If language suffix}}|physical]])
| poison = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}/s ([[Damage{{If language suffix}}|poison]])
| laser = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}([[Damage{{If language suffix}}|laser]])
}}<noinclude>
 
{{Documentation}}
[[Category:Templates]]
</noinclude>

Latest revision as of 18:33, 12 November 2024