Template:CharacterRow: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
LeTrashman (talk | contribs) No edit summary |
LeTrashman (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<tr> |
<tr> |
||
<td style="padding:0">[[File:{{{Image|}}}|40px|link={{{Name|}}}|alt={{{Name|}}}]]</td> |
|||
<td>[[{{{Name|}}}]]</td> |
|||
< |
<td style="text-align:center">{{Rarity|{{{Rarity|}}}}}</td> |
||
<td>{{{School|}}}</td> |
|||
<td>{{{Role|}}}</td> |
|||
<td>{{{Position|}}}</td> |
|||
<td style="background-color:{{Color|AttackType|{{{AttackType|}}}}};color:white;font-weight:bold">{{{AttackType|}}}</td> |
|||
<!-- Position --><td>{{{6|}}}</td> |
|||
<td style="background-color:{{Color|ArmorType|{{{ArmorType|}}}}};color:white;font-weight:bold">{{{ArmorType|}}}</td> |
|||
<!-- Uses Cover --><td>{{{14|}}}</td> |
|||
<td>{{{CombatClass|}}}</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> |
|||
<td data-sort-value="{{AffinityRank|{{{OutdoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{OutdoorAffinity|}}}}}</td> |
|||
<td data-sort-value="{{AffinityRank|{{{CityTownAffinity|}}}}}" style="text-align:center">{{Affinity|{{{CityTownAffinity|}}}}}</td> |
|||
<td data-sort-value="{{AffinityRank|{{{IndoorAffinity|}}}}}" style="text-align:center">{{Affinity|{{{IndoorAffinity|}}}}}</td> |
|||
</tr> |
</tr> |
||
</includeonly> |
</includeonly> |
||
Line 20: | Line 20: | ||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
|||
"description": "Template for rows in a CharacterTable.", |
|||
"Name": { |
|||
"description": "Character's first name.", |
|||
"1": { |
|||
"example": "Shiroko", |
|||
"type": "string", |
|||
"description": "Name of character, e.g. Shiroko, Yuuka.", |
|||
"required": true |
|||
"type": "string" |
|||
}, |
|||
}, |
|||
"Rarity": { |
|||
"description": "Character's rarity as number of stars.", |
|||
"label": "Image", |
|||
"example": "3", |
|||
"description": "Filename of character thumbnail.", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
}, |
|||
"3": { |
|||
"Image": { |
|||
"label": "Rarity", |
|||
"description": "File containing character's 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": { |
|||
"type": "string", |
|||
"suggested": true |
|||
"description": "Position of character in battle, e.g. Front, Back.", |
|||
}, |
|||
"type": "string" |
|||
"Position": { |
|||
}, |
|||
"description": "Character's position.", |
|||
"7": { |
|||
"example": "Middle", |
|||
"type": "string", |
|||
"description": "School character belongs to, e.g. Abydos, Gehenna.", |
|||
"suggested": true |
|||
"type": "string" |
|||
}, |
|||
}, |
|||
"AttackType": { |
|||
"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 (one of Light, Heavy, Special).", |
|||
"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": { |
|||
"example": "Yes", |
|||
"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> |
</templatedata> |