Template:BBDW Grimoire Table: Difference between revisions

Template page
(removed flavor text from effect description, removed tooltips from the status icon, pulled status icon from the list of statuses instead of from the girmoire itself)
m (fixed status icons not loading properly)
Line 13: Line 13:
<td>{{#cargo_query:tables=BBDW_Statuses
<td>{{#cargo_query:tables=BBDW_Statuses
|fields=icon=img,CONCAT('45px')=width,CONCAT('')=imglink
|fields=icon=img,CONCAT('45px')=width,CONCAT('')=imglink
|where=nameen='{{#var:FIRST_STATUS}}'
|where=nameen='{{#replace:{{#explode:{{{statuses|}}}|,}}|'|\'}}'
|format=template|template=Icon|named args=yes
|format=template|template=Icon|named args=yes
|default={{bbdw|placeholder}}
|default={{bbdw|placeholder}}

Revision as of 18:00, 27 February 2021

Displays Category:BBDW Grimoire information formatted nicely in a single table row.

Usage

{{#cargo_query:
|tables=BBDW_Grimoires=g
|fields=g.icon,g.image,g.pgname,g.nameen,g.namejp
,g.rarity,g.cost,g.minatk,g.minhp,g.mindef
,g.fxicon,g.fxdesc,g.flavortext
,g.characters
|order by=g.releasejp desc,g.rarity desc,g.namejp
|format=template
|template=BBDW_Grimoire_Table
|named args=yes
}}