Difference between revisions of "Template:MCFloorOverviewDisplay"
Jump to navigation
Jump to search
imported>Elaeagnifolia |
imported>Elaeagnifolia |
||
| Line 40: | Line 40: | ||
| <nowiki/><!-- | | <nowiki/><!-- | ||
# 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 | + | -->{{#vardefine:i| {{#expr: {{#var:i}}+1 }} }} |
| + | * {{Icon|Material|{{#var:matLoopItem}}|size=20px|text=1}} x{{#var:{{#var:matLoopItem}}}} | ||
}}<!-- | }}<!-- | ||
-->{{#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}}}} }} | ||