Difference between revisions of "Template:Weapon Progression Table"
Jump to navigation
Jump to search
>Canim44 (Added fifth row to future-proof template) |
>LikableBrute |
||
| 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=]]}} | {{#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= | + | {{#switch:{{#cargo_query:tables=Weapons|fields=5|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--> | ||
! style="width: 33%" {{!}} Tier 1 | ! style="width: 33%" {{!}} Tier 1 | ||
| Line 55: | Line 55: | ||
{{!}} style="padding:1em;" {{!}} {{#invoke:CargoQuery|main|q?tables=Weapons|q?fields=WeaponName|template=Weapon progression entry|q?where=CraftGroupId={{{craftGroupId|0}}} AND ParentCraftNodeId=204|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=204|delimiter=<br/>|q?orderBy=CraftNodeId|q?groupBy=_pageName|default=<center>-</center>}} | ||
{{!}}} | {{!}}} | ||
| − | |5={{{!}} class="wikitable lightblue" style="margin:auto; width:100%"<!-- | + | |5={{{!}} class="wikitable lightblue" style="margin:auto; width:100%"<!--5 level--> |
! style="width: 33%" {{!}} Tier 1 | ! style="width: 33%" {{!}} Tier 1 | ||
! style="width: 33%" {{!}} Tier 2 | ! style="width: 33%" {{!}} Tier 2 | ||
Revision as of 12:59, 16 July 2019
Error: Table Weapons not found.