Template:Type: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (TheWombatGuru moved page Template:Energytype to Template:Type)
(potential bugfix for Infobox rows that use the Quality template v3)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#explode: {{{1}}}|{{#explode: {{{1}}}| |-1}}|0}} {{#switch: {{lc: {{#explode: {{{1}}}| |-1}} }}
{{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
| burner = ([[Fuel{{If language suffix}}|{{Translation|burner}}]]
| burner = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Fuel{{If language suffix}}|{{Translation|burner}}]])
| electric = ([[Electric network{{If language suffix}}|{{Translation|electric}}]]
| electric = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Electric system{{If language suffix}}|{{Translation|electric}}]])
| explosion | explosive = (explosive
| explosion | explosive = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Damage{{If language suffix}}|explosive]])
| physical = (physical
| physical = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}} ([[Damage{{If language suffix}}|physical]])
| poison = /s (poison
| poison = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}/s ([[Damage{{If language suffix}}|poison]])
| laser = (laser
| laser = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}([[Damage{{If language suffix}}|laser]])
| #default = {{Translation|TO BE ADDED DON"T FORGET}}
}}<noinclude>
}})
 
{{Documentation}}
[[Category:Templates]]
</noinclude>

Latest revision as of 21:00, 30 October 2024