Template:BBDW Grimoire Table: Difference between revisions

Template page
m (sized up icons too since some grimoires had their full art set to their icon as well)
m (hide characters column if no characters are provided)
Line 15: Line 15:
|{{tt|{{bbdw|placeholder}}|{{{fxdesc|}}}</i>}}
|{{tt|{{bbdw|placeholder}}|{{{fxdesc|}}}</i>}}
}}</td>
}}</td>
<td>{{#arraymap:{{{characters|}}}|,|x|[[{{#sub:x|0|{{#pos:x|,}}}}|x]]}}</td>
{{#if:{{{characters|}}}|<td>{{#arraymap:{{{characters|}}}|,|x|[[{{#sub:x|0|{{#pos:x|,}}}}|x]]}}</td>}}
<td style="max-width:300px;">{{{fxdesc|}}}{{#if:{{{flavortext|}}}|<hr>{{{flavortext|}}}}}</td>
<td style="max-width:300px;">{{{fxdesc|}}}{{#if:{{{flavortext|}}}|<hr>{{{flavortext|}}}}}</td>
</tr>
</tr>

Revision as of 03:50, 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
}}