Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:BBDW Grimoire Table: Difference between revisions

Template page
(Created page with "<includeonly> <tr> <td>{{#if:{{{icon|}}}|[[File:{{{icon|}}}|45x45px]]}}</td> <td>{{#if:{{{pgname|}}}|[[{{{pgname|}}}|{{{namejp|}}}<br/>{{{nameen|}}}]] |{{{namejp|}}}<br/>{{{na...")
 
m (added columns to display minatk, minhp, mindef, characters)
Line 1: Line 1:
<includeonly>
<includeonly>
<tr>
<tr>
<td>{{#if:{{{icon|}}}|[[File:{{{icon|}}}|45x45px]]}}</td>
<td>{{#if:{{{icon|}}}|[[File:{{{icon|}}}|45px]]
|{{#if:{{{image|}}}|[[File:{{{image|}}}|45px]]}}
}}</td>
<td>{{#if:{{{pgname|}}}|[[{{{pgname|}}}|{{{namejp|}}}<br/>{{{nameen|}}}]]
<td>{{#if:{{{pgname|}}}|[[{{{pgname|}}}|{{{namejp|}}}<br/>{{{nameen|}}}]]
|{{{namejp|}}}<br/>{{{nameen|}}} }}</td>
|{{{namejp|}}}<br/>{{{nameen|}}} }}</td>
<td>{{{rarity|}}}</td>
<td>{{{rarity|}}}</td>
<td>{{{cost|}}}</td>
<td>{{{cost|}}}</td>
<td>{{{minatk|}}}</td>
<td>{{{minhp|}}}</td>
<td>{{{mindef|}}}</td>
<td>{{#if:{{{fxicon|}}}|
<td>{{#if:{{{fxicon|}}}|
{{tt|[[File:{{{fxicon|}}}|45px|link=]]|{{{fxdesc|}}} }}
{{tt|[[File:{{{fxicon|}}}|45px|link=]]|{{{fxdesc|}}} }}
|{{tt|{{bbdw|placeholder}}|{{{fxdesc|}}}</i>}}
|{{tt|{{bbdw|placeholder}}|{{{fxdesc|}}}</i>}}
}}</td>
}}</td>
<td>{{{characters|}}}</td>
</tr>
</tr>
</includeonly><noinclude>
</includeonly><noinclude>
Line 17: Line 23:
{{#cargo_query:
{{#cargo_query:
|tables=BBDW_Grimoires=g
|tables=BBDW_Grimoires=g
|fields=g.icon,g.pgname,g.nameen,g.namejp
|fields=g.icon,g.image,g.pgname,g.nameen,g.namejp
,g.rarity,g.cost
,g.rarity,g.cost,g.minatk,g.minhp,g.mindef
,g.fxicon,g.fxdesc,g.flavortext
,g.fxicon,g.fxdesc,g.flavortext
,g.characters
,g.characters

Revision as of 04:14, 17 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
}}