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

Template:BBDW Character Table: Difference between revisions

Template page
m (added a separate column for the character name)
m (linked the character's name to the character's page)
Line 2: Line 2:
<tr>
<tr>
<td>{{Icon|img={{{icon|}}}|imglink={{{pgname|}}}#{{{nameen|}}}|width=45px}}</td>
<td>{{Icon|img={{{icon|}}}|imglink={{{pgname|}}}#{{{nameen|}}}|width=45px}}</td>
<td>{{#if:{{{nameen|}}}|{{{nameen|}}}<br/>}}{{{namejp|}}}</td>
<td>[[{{{pgname|}}}|{{#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>

Revision as of 16:14, 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>