Difference between revisions of "Template:MCFloorOverviewDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
imported>Elaeagnifolia
Line 32: Line 32:
 
|where=MC="{{#var:manaCircleName}}" AND Hierarchy="{{{1|}}}"
 
|where=MC="{{#var:manaCircleName}}" AND Hierarchy="{{{1|}}}"
 
|no html
 
|no html
}}|R}}}}}}<br/>
+
}}|R}}}}}}<br/><!--
{{#ifeq:{{#var:eldwaterFloorTotal}} | 0 | | {{Icon|Resource|Eldwater|size=20px|text=1}} x{{formatnum:{{#var:eldwaterFloorTotal}}}} }}
+
 
 +
# Material Loop
 +
-->{{#vardefine: i | 0 }}<!--
 +
-->{{#while:
 +
| {{#ifexpr: {{#var:i}} < {{#var:matCounter}} | true }}
 +
| <nowiki/><!--
 +
# Get the material from the comma-separated list variable
 +
-->{{#vardefine:matLoopItem| {{#explode:{{#var:floorMaterials}}|,|{{#var:i}} }} }}
 +
* {{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}}}} }}
 
}}
 
}}
 
{{Notable
 
{{Notable

Revision as of 16:02, 26 December 2019