Template:Type: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Untitled7 (talk | contribs)
potential bugfix for Infobox rows that use the Quality template v3
Add link to bioflux to food
 
(3 intermediate revisions by 2 users not shown)
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}}]])
Line 6: Line 8:
| poison = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}/s ([[Damage{{If language suffix}}|poison]])
| 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]])
| laser = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}([[Damage{{If language suffix}}|laser]])
| nutrients = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}([[Nutrients{{If language suffix}}|nutrients]])
| food = {{#sub:{{{1}}}|0|-{{#len:{{#explode:{{{1}}}| |-1}}}}}}([[Bioflux{{If language suffix}}|food]])
}}<noinclude>
}}<noinclude>



Latest revision as of 18:24, 25 April 2025