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 v2)
(Undo revision 203932 by Untitled7 (talk))
Tag: Undo
Line 1: Line 1:
{{#vardefine|unit|{{lc:{{#explode:{{{1}}}| |-1}}}}}}{{#replace:{{{1}}}|{{#switch:{{#var:unit}}|<nowiki> </nowiki>}} {{#switch:{{#var:unit}}
{{#explode:{{{1}}}| |0}} {{#explode:{{{1}}}| |1}} {{#switch:{{lc:{{#explode:{{{1}}}| |-1}}}}
| 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:57, 30 October 2024