Difference between revisions of "Template:MCNodeOverviewDisplay"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly> {| class="wikitable lightblue" style="width:100%" ! width:50% | Node Breakdown ! width:50% | Total Materials...")
 
imported>Elaeagnifolia
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>
{| class="wikitable lightblue" style="width:100%"
+
<div class="mc-node-overview-notable">
! width:50% | Node Breakdown
+
{{NotableWrap
! width:50% | Total Materials
+
|notables=
|-
+
{{Notable
|
+
|header=Node Breakdown
{{#cargo_query:tables=MCNodeType
+
|content=<div style="padding:1em;">
|fields=Id,NodeType
+
{{#invoke:CargoQuery|main
|where=NodeType NOT LIKE "%?%"
+
|q?tables=MCNodeType
|format=template
+
|q?fields=Id,NodeType
 +
|q?where=NodeType NOT LIKE "%?%"
 
|template=MCNodeBreakdown
 
|template=MCNodeBreakdown
|named args=yes
 
 
}}
 
}}
| {{MCTotalCostDisplay}}
+
</div>
|}
+
}}
</includeonly>
+
{{Notable
 +
|header=Total Materials
 +
|content={{MCTotalCostDisplay}}
 +
}}
 +
}}
 +
</div></includeonly>

Latest revision as of 18:50, 26 December 2019