Difference between revisions of "Weapon Grid"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
imported>Elaeagnifolia
Line 3: Line 3:
  
 
<div style="display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px">
 
<div style="display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px">
{{#cargo_query:tables=Weapons
+
{{#invoke:CargoQuery|main
|fields=_pageName=Name,BaseId,FormId,ElementalType,Type,Rarity
+
|q?tables=Weapons
|where=WeaponName!="Zethia's Staff"
+
|q?fields=_pageName=Name,BaseId,FormId,ElementalType,Type,Rarity
|format=template
+
|q?where=WeaponName!="Zethia's Staff"
 
|template=WeaponGridEntry
 
|template=WeaponGridEntry
|named args=yes
+
|q?groupBy=_pageName
|group by=_pageName
+
|q?orderBy=  
|order by=  
 
 
     CASE ElementalType
 
     CASE ElementalType
 
     WHEN 'Flame' THEN 1
 
     WHEN 'Flame' THEN 1
Line 31: Line 30:
 
     END ASC,
 
     END ASC,
 
     Rarity DESC, Id DESC
 
     Rarity DESC, Id DESC
|limit=300
+
|q?limit=300
 
}}
 
}}
 
</div>
 
</div>

Revision as of 14:05, 29 January 2019

Lua error: Error: Table Weapons not found..