Template:CharacterRow: Difference between revisions

Railgun collab characters added to ETC school filter
No edit summary
(Railgun collab characters added to ETC school filter)
 
(12 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 Uses Coverbg-element bg--><td{{lc:{{{ArmorType|normal}}}}}">{{{14ArmorType|}}}</td>
<!-- Weapon --><td>{{{4CombatClass|}}}</td>
<td>{{{WeaponType|}}}</td>
<!-- Attack Type --><td style="background-color:{{Color|AttackType|{{{8|}}}}}">{{{8|}}}</td>
<td>{{{UsesCover|}}}</td>
<!-- Armor Type --><td style="background-color:{{Color|ArmorType|{{{9|}}}}}">{{{9|}}}</td>
<!-- Outdoor Affinity --><td data-sort-value="{{AffinityRank|{{{10CityTownAffinity|}}}}}" style="text-align:center">{{Affinity|{{{10CityTownAffinity|}}}}}</td>
<!-- City Affinity --><td data-sort-value="{{AffinityRank|{{{11OutdoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{11OutdoorAffinity|}}}}}</td>
<!-- Indoor Affinity --><td data-sort-value="{{AffinityRank|{{{12IndoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{12IndoorAffinity|}}}}}</td>
<td>{{{ReleaseDate|}}}</td>
</tr>
</includeonly>
Line 20 ⟶ 21:
<templatedata>
{
"params": {
"description": "Template for rows in a CharacterTable.",
"paramsName": {
"description": "Character's first name.",
"1": {
"labelexample": "NameShiroko",
"type": "string",
"description": "Name of character, e.g. Shiroko, Yuuka.",
"required": true
"type": "string"
},
},
"2Rarity": {
"description": "Character's rarity as number of stars.",
"label": "Image",
"example": "3",
"description": "Filename of character thumbnail.",
"type": "stringnumber",
"required": true
},
},
"3": {
"Image": {
"label": "Rarity",
"description": "BaseFile rarity,containing e.g.character's 3*thumbnail.",
"example": "Shiroko.png",
"type": "string"
"type": "wiki-file-name",
},
"required": true
"4": {
},
"label": "Weapon",
"School": {
"description": "Character's weapon type, e.g. AR, SMG.",
"description": "Character's school.",
"type": "string"
"example": "Abydos",
},
"type": "string",
"5": {
"suggested": true
"label": "Type",
},
"description": "Type of character, e.g. Striker, Special.",
"Role": {
"type": "string"
"description": "Character's role (one of Attacker, Tank, Support, Healer).",
},
"example": "Attacker",
"6": {
"labeltype": "Positionstring",
"suggested": true
"description": "Position of character in battle, e.g. Front, Back.",
},
"type": "string"
"Position": {
},
"description": "Character's position.",
"7": {
"labelexample": "SchoolMiddle",
"type": "string",
"description": "School character belongs to, e.g. Abydos, Gehenna.",
"suggested": true
"type": "string"
},
},
"8AttackType": {
"description": "Character's attack type (one of Explosive, Mystic, Penetration).",
"label": "Attack Type",
"example": "Explosive",
"description": "Character's attack type, e.g. Explosion, Penetration, Mystic.",
"type": "string",
"suggested": true
},
},
"9": {
"ArmorType": {
"label": "Armor Type",
"description": "Character's armor type, e.g.(one of Light Armor, Heavy Armor, Mystic ArmorSpecial).",
"example": "Light",
"type": "string"
"type": "string",
},
"suggested": true
"10": {
},
"label": "Outdoor Affinity",
"CombatClass": {
"description": "Character affinity for outdoor combat, e.g. S, A, B, C, D.",
"description": "Character's combat class (one of Striker, Special).",
"type": "string"
"example": "Striker",
},
"type": "string",
"11": {
"suggested": true
"label": "City Affinity",
},
"description": "Character affinity for city/town combat, e.g. S, A, B, C, D.",
"WeaponType": {
"type": "string"
"description": "Character's weapon type.",
},
"example": "AR",
"12": {
"type": "string",
"label": "Indoor Affinity",
"suggested": true
"description": "Character affinity for indoor combat, e.g. S, A, B, C, D.",
},
"type": "string"
"UsesCover": {
},
"description": "Whether character uses cover or not (one of Yes, No).",
"13": {
"labelexample": "RoleYes",
"type": "string",
"description": "Character's role, e.g. Attacker, Tank, Support, Healer.",
"suggested": true
"type": "string"
},
},
"OutdoorAffinity": {
"14": {
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).",
"label": "Uses Cover?",
"example": "S",
"description": "Whether the character uses cover during battle, e.g. Yes, No.",
"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>