More actions
m (fixed typos) |
m (added a separate column for the character name) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<tr> | <tr> | ||
<td>{{Icon|img={{{icon|}}}|imglink={{{pgname|}}} | <td>{{Icon|img={{{icon|}}}|imglink={{{pgname|}}}#{{{nameen|}}}|width=45px}}</td> | ||
<td>{{#if:{{{nameen|}}}|{{{nameen|}}}<br/>}}{{{namejp|}}}</td> | |||
<td>{{{baserarity|}}}<br/>{{bbdw|{{{baserarity|}}}}}</td> | <td>{{{baserarity|}}}<br/>{{bbdw|{{{baserarity|}}}}}</td> | ||
<td>{{{element|}}}<br/>{{bbdw|{{{element|}}}}}</td> | <td>{{{element|}}}<br/>{{bbdw|{{{element|}}}}}</td> | ||
Line 26: | Line 27: | ||
<tr> | <tr> | ||
<th>Icon</th> | <th>Icon</th> | ||
<th>Name</th> | |||
<th>Rarity</th> | <th>Rarity</th> | ||
<th>Element</th> | <th>Element</th> | ||
Line 35: | Line 37: | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables=BBDW_Characters=char | |tables=BBDW_Characters=char | ||
|fields=char.icon,char.pgname,char.nameen,char.element,char.baserarity,char.position,char.role,char.fxnameen1,char.fxdesc1,char.fxnameen2,char.fxdesc2,char.fxnameen3,char.fxdesc3,char.skillnameen1,char.skillicon1,char.skilldesc1,char.skillbasecd1,char.skillnameen2,char.skillicon2,char.skilldesc2,char.skillbasecd2,char.influences | |fields=char.icon,char.pgname,char.nameen,char.namejp,char.element,char.baserarity,char.position,char.role,char.fxnameen1,char.fxdesc1,char.fxnameen2,char.fxdesc2,char.fxnameen3,char.fxdesc3,char.skillnameen1,char.skillicon1,char.skilldesc1,char.skillbasecd1,char.skillnameen2,char.skillicon2,char.skilldesc2,char.skillbasecd2,char.influences | ||
|order by=char.releasejp | |order by=char.releasejp | ||
|format=template | |format=template |
Revision as of 16:08, 14 February 2021
Displays character information in a table row.
Usage
<table class="sortable wikitable" style="text-align:center;"> <tr> <th>Icon</th> <th>Name</th> <th>Rarity</th> <th>Element</th> <th>Position & Role</th> <th>Additional Effects</th> <th>Skills</th> <th>Groups</th> </tr> {{#cargo_query: |tables=BBDW_Characters=char |fields=char.icon,char.pgname,char.nameen,char.namejp,char.element,char.baserarity,char.position,char.role,char.fxnameen1,char.fxdesc1,char.fxnameen2,char.fxdesc2,char.fxnameen3,char.fxdesc3,char.skillnameen1,char.skillicon1,char.skilldesc1,char.skillbasecd1,char.skillnameen2,char.skillicon2,char.skilldesc2,char.skillbasecd2,char.influences |order by=char.releasejp |format=template |template=BBDW_Character_Table |named args=yes }} </tr> </table>