Difference between revisions of "Dragon Grid"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>@DeletedUser41383047
>LikableBrute
m (Undo revision 47605 by LikableBrute (talk))
 
(30 intermediate revisions by 4 users not shown)
Line 3: Line 3:
  
 
<div style="display:flex;flex-wrap:wrap;justify-content:center">
 
<div style="display:flex;flex-wrap:wrap;justify-content:center">
{{#cargo_query:tables=Dragons
+
{{#invoke:CargoQuery|main
|fields=_pageName=PageName,Name,ElementalType=Element,BaseId=InternalId,Rarity,Title=Title,Abilities11
+
|q?tables=Dragons
|format=template
+
|q?fields=_pageName=PageName,FullName=Name,ElementalType=Element,BaseId=InternalId,Rarity,Availability,Title=Title,Abilities11
|where=IsPlayable!=0
+
|q?where=IsPlayable!=0 AND ReleaseDate <= NOW()
 
|template=DragonGridEntry
 
|template=DragonGridEntry
|group by=_pageName
+
|q?limit=999
|named args=yes
+
|q?groupBy=_pageName
|order by=  
+
|q?orderBy= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC
    CASE ElementalType
 
    WHEN 'Flame' THEN 1
 
    WHEN 'Water' THEN 2
 
    WHEN 'Wind' THEN 3
 
    WHEN 'Light' THEN 4
 
    WHEN 'Shadow' THEN 5
 
    ELSE 0
 
    END ASC,  
 
    Rarity DESC, Id DESC
 
 
}}
 
}}
 
</div>
 
</div>

Latest revision as of 22:25, 15 April 2019

Lua error: Error: Table Dragons not found..