Difference between revisions of "Template:GenericAbility"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(adding chain coab disambiguation as well)
>FlareKyn
(Hiding fields that shouldn't exist yet, but could be used in the future)
 
(13 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||==Chain 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;"
 
{{{!}} class="wikitable sortable" style="text-align:center;"
 
! Name
 
! Name
! Might Value
 
 
! Adventurers with Co-Ability
 
! Adventurers with Co-Ability
 
{{!}}-
 
{{!}}-
Line 51: Line 52:
 
|q?where=GenericName ="{{#titleparts: {{PAGENAME}} }}"
 
|q?where=GenericName ="{{#titleparts: {{PAGENAME}} }}"
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
|q?orderBy=PartyPowerWeight DESC, Id DESC
+
|q?orderBy=_pageName DESC, Id DESC
 
|template=ChainCoAbilitySimpleTableEntry
 
|template=ChainCoAbilitySimpleTableEntry
 
|default={{Row|-|-}}
 
|default={{Row|-|-}}
 
}}
 
}}
 
{{!}}}
 
{{!}}}
}}
+
}}<!-- 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||==Materials==
+
-->{{#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