Template:BBDW Grimoire Table: Difference between revisions

Template page
m (added a column displaying effect and (English) flavortext (without needing to hover) since the icons are all placeholders currently)
m (show skill effect even if there isn't flavor text)
Line 16: Line 16:
}}</td>
}}</td>
<td>{{#arraymap:{{{characters|}}}|,|x|[[{{#sub:x|0|{{#pos:x|,}}}}|x]]}}</td>
<td>{{#arraymap:{{{characters|}}}|,|x|[[{{#sub:x|0|{{#pos:x|,}}}}|x]]}}</td>
{{#if:{{{flavortext|}}}|<td style="max-width:300px;">{{{fxdesc|}}}<hr>{{{flavortext|}}}</td>}}
<td style="max-width:300px;">{{{fxdesc|}}}{{#if:{{{flavortext|}}}|<hr>{{{flavortext|}}}}}</td>
</tr>
</tr>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 04:45, 18 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
}}