Difference between revisions of "Template:GenericAbility"
Jump to navigation
Jump to search
>Eave m (change chain coability ordering to be name-based) |
>FlareKyn (Hiding fields that shouldn't exist yet, but could be used in the future) |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 21: | Line 21: | ||
{{!}}} | {{!}}} | ||
}}<!-- end of abilities | }}<!-- 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 40: | Line 41: | ||
{{!}}} | {{!}}} | ||
}}<!-- end of co-abilities | }}<!-- 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 | ||
| Line 56: | Line 58: | ||
{{!}}} | {{!}}} | ||
}}<!-- end of chain co-abilities | }}<!-- 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.}} | ||
}}<!-- | }}<!-- | ||