Template:BBDW Character Table/row: Difference between revisions

Template page
m (added temp limited marker but will need to differentiate between types of limited characters)
m (fixed typo)
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>[[{{{pgname|}}}|{{#if:{{{nameen|}}}|{{{nameen|}}}<br/>}}{{{namejp|}}}]] {{if:{{{limited|}}}|(Limited)}}</td>
<td>[[{{{pgname|}}}|{{#if:{{{nameen|}}}|{{{nameen|}}}<br/>}}{{{namejp|}}}]] {{#if:{{{limited|}}}|(Limited)}}</td>
<td>{{bbdw|Rarity {{{baserarity|}}}}}</td>
<td>{{bbdw|Rarity {{{baserarity|}}}}}</td>
<td>{{bbdw|{{{element|}}}}}</td>
<td>{{bbdw|{{{element|}}}}}</td>

Revision as of 14:20, 30 September 2021

Displays character information in a table row. Used by Template:BBDW Character Table

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/row
|named args=yes
}}
</tr>
</table>