Difference between revisions of "Weapon Grid"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
>LikableBrute
(Replaced content with "{{:Weapon Grid/Sword}}")
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{WeaponListHeader}}
+
{{:Weapon Grid/Sword}}
{{WeaponListFilter}}
 
 
 
<div style="display:flex;flex-wrap:wrap;justify-content:center;margin-top:10px">
 
{{#invoke:CargoQuery|main
 
|q?tables=Weapons
 
|q?fields=_pageName=Name,BaseId,FormId,ElementalType,Type,Rarity
 
|q?where=WeaponName!="Zethia's Staff" AND ReleaseDate <= NOW()
 
|template=WeaponGridEntry
 
|q?groupBy=_pageName
 
|q?orderBy=
 
    CASE ElementalType
 
    WHEN 'Flame' THEN 1
 
    WHEN 'Water' THEN 2
 
    WHEN 'Wind' THEN 3
 
    WHEN 'Light' THEN 4
 
    WHEN 'Shadow' THEN 5
 
    ELSE 6
 
    END ASC,
 
    CASE Type
 
    WHEN 'Sword' THEN 1
 
    WHEN 'Blade' THEN 2
 
    WHEN 'Dagger' THEN 3
 
    WHEN 'Axe' THEN 4
 
    WHEN 'Lance' THEN 5
 
    WHEN 'Bow' THEN 6
 
    WHEN 'Wand' THEN 7
 
    WHEN 'Staff' THEN 8
 
    ELSE 0
 
    END ASC,
 
    Rarity DESC, Id DESC
 
|q?limit=999
 
}}
 
</div>
 

Latest revision as of 21:33, 6 April 2020