Difference between revisions of "Template:Weapon Progression Table"
Jump to navigation
Jump to search
imported>LikableBrute m |
>Caledor92 m |
||
| Line 1: | Line 1: | ||
| − | {{#cargo_query:|tables=Weapons|fields=CONCAT('[[File:Icon Rarity Row ',Rarity,'.png|90px|link=]]')|where=CraftGroupId={{{craftGroupId|0}}} AND ParentCraftNodeId=0|delimiter=<br/>|order by=CraftNodeId|group by=_pageName|default=[[File:Unknown.png|90x21px|link=]]}} | + | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_query:|tables=Weapons|fields=CONCAT('[[File:Icon Rarity Row ',Rarity,'.png|90px|link=]]')|where=CraftGroupId={{{craftGroupId|0}}} AND ParentCraftNodeId=0|delimiter=<br/>|order by=CraftNodeId|group by=_pageName|default=[[File:Unknown.png|90x21px|link=]]}} |
{{#switch:{{#cargo_query:tables=Weapons|fields=COUNT(CraftNodeId)|where=ParentCraftNodeId=101 AND CraftGroupId={{{craftGroupId|0}}}|order by=CraftGroupId,CraftNodeId|group by=CraftGroupId|default=|delimiter=|no html}} | {{#switch:{{#cargo_query:tables=Weapons|fields=COUNT(CraftNodeId)|where=ParentCraftNodeId=101 AND CraftGroupId={{{craftGroupId|0}}}|order by=CraftGroupId,CraftNodeId|group by=CraftGroupId|default=|delimiter=|no html}} | ||
|1={{{!}} class="wikitable lightblue" style="margin:auto; width:100%" <!-- 1 level--> | |1={{{!}} class="wikitable lightblue" style="margin:auto; width:100%" <!-- 1 level--> | ||
| Line 76: | Line 76: | ||
{{!}} style="padding:1em;" {{!}} {{#invoke:CargoQuery|main|q?tables=Weapons|q?fields=WeaponName|template=Weapon progression entry|q?where=CraftGroupId={{{craftGroupId|0}}} AND ParentCraftNodeId=205|delimiter=<br/>|q?orderBy=CraftNodeId|q?groupBy=_pageName|default=<center>-</center>}} | {{!}} style="padding:1em;" {{!}} {{#invoke:CargoQuery|main|q?tables=Weapons|q?fields=WeaponName|template=Weapon progression entry|q?where=CraftGroupId={{{craftGroupId|0}}} AND ParentCraftNodeId=205|delimiter=<br/>|q?orderBy=CraftNodeId|q?groupBy=_pageName|default=<center>-</center>}} | ||
{{!}}} | {{!}}} | ||
| − | }} | + | }}</includeonly> |