Template:CharacterRow: Difference between revisions

Railgun collab characters added to ETC school filter
No edit summary
(Railgun collab characters added to ETC school filter)
 
(14 intermediate revisions by 3 users not shown)
Line 1:
<includeonly>
<tr class="attack-{{lc:{{{AttackType|normal}}}}} armor-{{lc:{{{ArmorType|normal}}}}} class-{{lc:{{{CombatClass|striker}}}}} role-{{lc:{{{Role|attacker}}}}} school-{{#replace:{{lc:{{{School|etc}}}}}| |_}} {{#ifeq: {{lc:{{{School|}}}}} | tokiwadai | school-etc }}{{#ifeq: {{lc:{{{School|}}}}} | sakugawa | school-etc }} rarity-{{lc:{{{Rarity|0}}}}} pool-{{lc:{{{CharacterPool|regular}}}}}">
<tr>
<!-- Image --><td style="padding:0">{{#ififexist: Image:{{{2%TITLE%|}}}.png |[[File:{{{2%TITLE%|}}}.png|40px|altlink={{{1|%TITLE%}}}|linkalt={{{1Name|}}}]]|}}</td>
<!-- Name --><td>{{#if:{{{1|}}}|[[%TITLE%|{{{1Name|}}}]]|}}</td>
<!--td Rarity --><tdclass="rarity">{{Rarity|{{{3Rarity|}}}}}</td>
<!-- School --><td>{{{7School|}}}</td>
<!-- Role --><td>{{{13Role|}}}</td>
<!-- Type --><td>{{{5Position|}}}</td>
<!td class="mw-no-invert Positionbg-element bg--><td{{lc:{{{AttackType|normal}}}}}">{{{6AttackType|}}}</td>
<!td class="mw-no-invert Weaponbg-element bg--><td{{lc:{{{ArmorType|normal}}}}}">{{{4ArmorType|}}}</td>
<td>{{{CombatClass|}}}</td>
<!-- Attack Type --><td style="background-color:{{Color|AttackType|{{{8|}}}}}">{{{8|}}}</td>
<td>{{{WeaponType|}}}</td>
<!-- Armor Type --><td style="background-color:{{Color|ArmorType|{{{9|}}}}}">{{{9|}}}</td>
<td>{{{UsesCover|}}}</td>
<!-- Outdoor Affinity --><td data-sort-value="{{AffinityRank|{{{10|}}}}}" style="text-align:center">{{Affinity|{{{10|}}}}}</td>
<!-- City Affinity --><td data-sort-value="{{AffinityRank|{{{11CityTownAffinity|}}}}}" style="text-align:center">{{Affinity|{{{11CityTownAffinity|}}}}}</td>
<!-- Indoor Affinity --><td data-sort-value="{{AffinityRank|{{{12OutdoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{12OutdoorAffinity|}}}}}</td>
<td data-sort-value="{{AffinityRank|{{{IndoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{IndoorAffinity|}}}}}</td>
<td>{{{ReleaseDate|}}}</td>
</tr>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"Name": {
"description": "Character's first name.",
"example": "Shiroko",
"type": "string",
"required": true
},
"Rarity": {
"description": "Character's rarity as number of stars.",
"example": "3",
"type": "number",
"required": true
},
"Image": {
"description": "File containing character's thumbnail.",
"example": "Shiroko.png",
"type": "wiki-file-name",
"required": true
},
"School": {
"description": "Character's school.",
"example": "Abydos",
"type": "string",
"suggested": true
},
"Role": {
"description": "Character's role (one of Attacker, Tank, Support, Healer).",
"example": "Attacker",
"type": "string",
"suggested": true
},
"Position": {
"description": "Character's position.",
"example": "Middle",
"type": "string",
"suggested": true
},
"AttackType": {
"description": "Character's attack type (one of Explosive, Mystic, Penetration).",
"example": "Explosive",
"type": "string",
"suggested": true
},
"ArmorType": {
"description": "Character's armor type (one of Light, Heavy, Special).",
"example": "Light",
"type": "string",
"suggested": true
},
"CombatClass": {
"description": "Character's combat class (one of Striker, Special).",
"example": "Striker",
"type": "string",
"suggested": true
},
"WeaponType": {
"description": "Character's weapon type.",
"example": "AR",
"type": "string",
"suggested": true
},
"UsesCover": {
"description": "Whether character uses cover or not (one of Yes, No).",
"example": "Yes",
"type": "string",
"suggested": true
},
"OutdoorAffinity": {
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).",
"example": "S",
"type": "string",
"suggested": true
},
"CityTownAffinity": {
"description": "Character's affinity for city/town combat (one of S, A, B, C, D).",
"example": "B",
"type": "string",
"suggested": true
},
"IndoorAffinity": {
"description": "Character's affinity for indoor combat (one of S, A, B, C, D).",
"example": "D",
"type": "string",
"suggested": true
}
},
"description": "Character row template.",
"format": "inline"
}
</templatedata>
{{CharacterTable|<dpl>
namespace =
category = Characters
tablesortcol = 0
ordermethod = title
includesubpages = false
mode = inline
format = ,,,
includepage = {Character|CharacterRow}
</dpl>
|}}
</noinclude>