Template:Character: Difference between revisions
m (Maybe now it's working?) |
(Added fallback if there is no image with the character's name) |
||
Line 1:
<includeonly><table class="wikitable" style="background-color:#ecf5f9;float:right;margin-left:24px;text-align:center;width:10%">▼
▲<table class="wikitable" style="background-color:#ecf5f9;float:right;margin-left:24px;text-align:center;width:10%">
<tr><th colspan="6" style="background-color:#2d4c72;color:white">{{{Name|}}}</th></tr>
<tr><td colspan="6"><div class="rarity">{{Rarity|{{{Rarity|}}}}}</div><div style="width:310px"><tabs><tab name="Profile image">[[File:{{{ImageProfile|{{PAGENAMEE}}}}}.png|frameless|center|x300px|alt={{{Name|}}}]]</tab><tab name="Full artwork">[[File:{{{Image|{{PAGENAMEE}}}}}_full.png|frameless|center|x300px|alt={{{Name|}}}]]</tab></tabs></div></td></tr>
<tr><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">School</th><th colspan="3" style="background-color:#2d4c72;color:white;width:50%">Role</th></tr>
<tr><td colspan="3">{{School|{{{School|}}}}}{{{School|}}}</td><td colspan="3">{{Role|{{{Role|}}}}}{{{Role|}}}/{{{Position|}}}</td></tr>
Line 23 ⟶ 22:
</table>
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}}
</includeonly><noinclude>
== Blank Template ==
Line 30 ⟶ 28:
{{Character
| Name =
| JPName =
| JPReading =
Line 74 ⟶ 71:
"example": "Shiroko_full.png",
"type": "wiki-file-name",
"required":
"suggested": true
},
"ImageProfile": {
"description": "File containing character's profile sprite.",
"example": "Shiroko.png",
"type": "wiki-file-name",
"required": false,
"suggested": true
},
"School": {
|
Revision as of 17:31, 28 April 2021
Blank Template
{{Character | Name = | JPName = | JPReading = | School = | Role = | Grade = | Circle = | Age = | Birthday = | Height = | Hobbies = | Illust = | Voice = | Type = | Position = | Rarity = | AttackType = | ArmorType = | WeaponType = | UsesCover = | OutdoorAffinity = | CityTownAffinity = | IndoorAffinity = }}
Character infobox template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | Character's first name.
| String | required |
Rarity | Rarity | Character's rarity as number of stars.
| Number | required |
Image | Image | File containing character's sprite.
| File | suggested |
ImageProfile | ImageProfile | File containing character's profile sprite.
| File | suggested |
School | School | Character's school.
| String | suggested |
Role | Role | Character's role (one of Attacker, Tank, Support, Healer).
| String | suggested |
Position | Position | Character's position.
| String | suggested |
AttackType | AttackType | Character's attack type (one of Explosive, Mystic, Penetration).
| String | suggested |
ArmorType | ArmorType | Character's armor type (one of Light, Heavy, Special).
| String | suggested |
CombatClass | CombatClass Type | Character's combat class (one of Striker, Special).
| String | suggested |
WeaponType | WeaponType | Character's weapon type.
| String | suggested |
UsesCover | UsesCover | Whether character uses cover or not (one of Yes, No).
| String | suggested |
OutdoorAffinity | OutdoorAffinity | Character's affinity for outdoor combat (one of S, A, B, C, D).
| String | suggested |
CityTownAffinity | CityTownAffinity | Character's affinity for city/town combat (one of S, A, B, C, D).
| String | suggested |
IndoorAffinity | IndoorAffinity | Character's affinity for indoor combat (one of S, A, B, C, D).
| String | suggested |
FullName | FullName JPReading | Character's full name.
| String | suggested |
JPName | JPName | Character's name in Japanese.
| String | suggested |
Age | Age | Character's age.
| String | suggested |
Birthday | Birthday | Character's birthday.
| String | suggested |
Height | Height | Character's height.
| String | suggested |
Hobbies | Hobbies | Character's hobbies.
| String | suggested |
Illustrator | Illustrator Illust | Character's illustrator.
| String | suggested |
Voice | Voice | Name of character's voice actress.
| String | suggested |