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)
(potential bugfix for Infobox rows that use the Quality template v2)
Line 1: Line 1:
{{#explode:{{{1}}}| |0}} {{#explode:{{{1}}}| |1}} {{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
{{#vardefine|unit|{{lc:{{#explode:{{{1}}}| |-1}}}}}}{{#replace:{{{1}}}|{{#switch:{{#var:unit}}|<nowiki> </nowiki>}} {{#switch:{{#var:unit}}
| burner = ([[Fuel{{If language suffix}}|{{Translation|burner}}]])
| burner = ([[Fuel{{If language suffix}}|{{Translation|burner}}]])
| electric = ([[Electric system{{If language suffix}}|{{Translation|electric}}]])
| electric = ([[Electric system{{If language suffix}}|{{Translation|electric}}]])

Revision as of 20:56, 30 October 2024

{{#vardefine|unit|{{{1}}}}}{{#replace:{{{1}}}|