More actions
(Created page with "<noinclude>Displays character information in a table row. ==Usage== <pre><nowiki> <table class="sortable wikitable" style="text-align:center;"> <tr> <th>Icon</th> <th>Rarity<...") |
m (moved documentation to the ottom, added placeholder skill icons) |
||
Line 1: | Line 1: | ||
<noinclude>Displays character information in a table row. | <includeonly> | ||
<tr> | |||
<td>{{Icon|img={{{icon|}}}|imglink={{{pgname|}}}|caption=[[{{{pgname|}}}#{{{nameen|}}}|{{{nameen|}}}]]|width=45px}}</td> | |||
<td>{{{baserarity|}}}<br/>{{bbdw|{{{baserarity|}}}}}</td> | |||
<td>{{{element|}}}<br/>{{bbdw|{{{element|}}}}}</td> | |||
<td>{{{position|}}} {{{role|}}}<br/>{{bbdw|{{{position|}}} {{{role|}}}}}</td> | |||
<td>{{tt|S|{{{fxnameen1|}}}<hr>{{{fxdesc1|}}}}} · | |||
{{tt|DD|{{{fxnameen2|}}}<hr>{{{fxdesc2|}}}}} · | |||
{{tt|AH|{{{fxnameen3|}}}<hr>{{{fxdesc3|}}}}} | |||
</td> | |||
</td> | |||
<td><div style="display:flex;">{{#if:{{{skillicon1|}}}|{{tt|[[File:{{{skillicon1|}}}|45px|link=]]|{{{skillnameen1|}}}<hr/>{{{skillfx1|}}}<br/>CD: {{{skillbasecd1|}}} }}<!-- | |||
-->|{{tt|[[File:BBDW_Double_Skill_Up_Placeholder.png|45px|link=]]|{{{skillnameen1|}}}<hr/>{{{skillfx1|}}}<br/>CD: {{{skillbasecd1|}}} }}<!-- | |||
--> {{#if:{{{skillicon2|}}}|{{tt|[[File:{{{skillicon2|}}}|45px|link=]]|{{{skillnameen2|}}}<hr/>{{{skillfx2|}}}<br/>CD: {{{skillbasecd1|}}} }}<!-- | |||
-->|{{tt|[[File:BBDW_Double_Skill_Up_Placeholder.png|45px|link=]]|{{{skillnameen2|}}}<hr/>{{{skillfx2|}}}<br/>CD: {{{skillbasecd1|}}} }} | |||
}}</div></td> | |||
<td>{{bbdw|Group|{{{influences|}}}}}</td> | |||
</tr> | |||
</includeonly><noinclude>Displays character information in a table row. | |||
==Usage== | ==Usage== | ||
Line 19: | Line 38: | ||
|format=template | |format=template | ||
|template=BBDW_Character_Table | |template=BBDW_Character_Table | ||
|named args=yes | |||
}} | }} | ||
</tr> | </tr> | ||
</table> | </table> | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude | </noinclude> | ||
Revision as of 01:51, 12 February 2021
Displays character information in a table row.
Usage
<table class="sortable wikitable" style="text-align:center;"> <tr> <th>Icon</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.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>