Difference between revisions of "Template:GenericAbility"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
m
>FlareKyn
(Hiding fields that shouldn't exist yet, but could be used in the future)
 
(17 intermediate revisions by one other user not shown)
Line 20: Line 20:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
}}
+
}}<!-- end of abilities
{{#ifeq:{{#cargo_query:tables=CoAbilities|where=GenericName="{{#titleparts: {{PAGENAME}} }}"|default=0}}|0||==Co-Abilities==
+
-->{{#ifeq:{{#cargo_query:tables=CoAbilities|where=GenericName="{{#titleparts: {{PAGENAME}} }}"|default=0}}|0||<nowiki></nowiki>
 +
==Co-Abilities==
 
{{{!}} class="wikitable sortable" style="text-align:center;"
 
{{{!}} class="wikitable sortable" style="text-align:center;"
 
! Name
 
! Name
 
! Might Value
 
! Might Value
! Adventurers with Co-Ability
+
! Adventurers with Co-Ability<!-- Hiding these as there currently aren't any Wyrmprints or Dragons with co-abilities, but there is the possibility of them being added in the future
 
! Wyrmprints with Co-Ability
 
! Wyrmprints with Co-Ability
! Dragons with Co-Ability
+
! Dragons with Co-Ability-->
 
{{!}}-
 
{{!}}-
 
{{#invoke:CargoQuery|main
 
{{#invoke:CargoQuery|main
Line 39: Line 40:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
 +
}}<!-- end of co-abilities
 +
-->{{#ifeq:{{#cargo_query:tables=ChainCoAbilities|where=GenericName="{{#titleparts: {{PAGENAME}} }}"|default=0}}|0||<nowiki></nowiki>
 +
==Chain Co-Abilities==
 +
{{{!}} class="wikitable sortable" style="text-align:center;"
 +
! Name
 +
! Adventurers with Co-Ability
 +
{{!}}-
 +
{{#invoke:CargoQuery|main
 +
|q?tables=ChainCoAbilities
 +
|q?fields=Id=Id,_pageName=Name,PartyPowerWeight
 +
|q?where=GenericName ="{{#titleparts: {{PAGENAME}} }}"
 +
|q?groupBy=_pageName
 +
|q?orderBy=_pageName DESC, Id DESC
 +
|template=ChainCoAbilitySimpleTableEntry
 +
|default={{Row|-|-}}
 
}}
 
}}
{{#ifeq:{{#cargo_query:tables=Materials|where=Name LIKE "{{#titleparts: {{PAGENAME}} }}" OR Name LIKE "{{#sub:{{#titleparts: {{PAGENAME}} }}|0|-1}}"|default=0}}|0||==Materials==
+
{{!}}}
 +
}}<!-- end of chain co-abilities
 +
-->{{#ifeq:{{#cargo_query:tables=Materials|where=Name LIKE "{{#titleparts: {{PAGENAME}} }}" OR Name LIKE "{{#sub:{{#titleparts: {{PAGENAME}} }}|0|-1}}"|default=0}}|0||<nowiki></nowiki>
 +
==Materials==
 
{{#cargo_query:tables=Materials|where=Name LIKE "{{#titleparts: {{PAGENAME}} }}" OR Name LIKE "{{#sub:{{#titleparts: {{PAGENAME}} }}|0|-1}}"|format=ul|order by=Id|default=None.}}
 
{{#cargo_query:tables=Materials|where=Name LIKE "{{#titleparts: {{PAGENAME}} }}" OR Name LIKE "{{#sub:{{#titleparts: {{PAGENAME}} }}|0|-1}}"|format=ul|order by=Id|default=None.}}
 
}}<!--
 
}}<!--

Latest revision as of 10:59, 17 May 2020