Difference between revisions of "Template:MCFloorOverviewDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
imported>Elaeagnifolia
Line 44: Line 44:
 
# Get the material from the comma-separated list variable
 
# Get the material from the comma-separated list variable
 
-->{{#vardefine:matLoopItem| {{#explode:{{#var:floorMaterials}}|,|{{#var:i}} }} }}<!--
 
-->{{#vardefine:matLoopItem| {{#explode:{{#var:floorMaterials}}|,|{{#var:i}} }} }}<!--
-->{{Icon|Material|{{#var:matLoopItem}}|size=20px|text=1}} x{{#var:{{#var:matLoopItem}}}}<br/>
+
-->{{Icon|Material|{{#var:{{{1|}}}matLoopItem}}|size=20px|text=1}} x{{#var:{{#var:{{{1|}}}matLoopItem}}}}<br/>
 
}}<!--
 
}}<!--
 
-->{{#ifeq:{{#var:eldwaterFloorTotal}} | 0 | | {{Icon|Resource|Eldwater|size=20px|text=1}} x{{formatnum:{{#var:eldwaterFloorTotal}}}} }}
 
-->{{#ifeq:{{#var:eldwaterFloorTotal}} | 0 | | {{Icon|Resource|Eldwater|size=20px|text=1}} x{{formatnum:{{#var:eldwaterFloorTotal}}}} }}

Revision as of 16:19, 26 December 2019