Template:Character: Difference between revisions
LeTrashman (talk | contribs) No edit summary |
PetraMagna (talk | contribs) (penetration is now displayed as piercing without affect other functionalities (hopefully)) |
||
(53 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Character/style.css"/><table class="wikitable character"> |
|||
<includeonly> |
|||
<tr><th colspan="2" class="character-name character-header" title="{{{Name|}}} CharacterId: {{{Id|}}} DevName: {{{DevName|}}}">{{{Name|}}}</th></tr> |
|||
<table class="wikitable" style="background-color:#ecf5f9;float:right;margin-left:24px;text-align:center;width:10%"> |
|||
<tr><td colspan="2" style="padding: 3px;"><div class="character-rarity" data-value="{{{Rarity|}}}">{{Rarity|{{{Rarity|}}}}}</div><div class="character-images {{#ifeq: {{{Birthday|}}} | {{#time: F j|+9 hours}} | portrait-birthday}}"> |
|||
<tr><th colspan="6" style="background-color:#2d4c72;color:white">{{{Name|}}}</th></tr> |
|||
{{#tag:tabber| |
|||
<tr><td colspan="6">{{Rarity|{{{Rarity|}}}}}<br>[[File:{{{Image|}}}|frameless|center|link=|alt={{{Name|}}}]]</td></tr> |
|||
Profile Image=[[File:{{{ImageProfile|{{PAGENAMEE}}.png}}}|frameless|center|300x300px|alt={{{Name|}}}]] |
|||
<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> |
|||
Artwork={{#if:{{{Variant1|}}} |
|||
<tr><th colspan="3">Damage Type</th><td colspan="3" style="background-color:{{Color|AttackType|{{{AttackType|}}}}};color:white;font-weight:bold">{{{AttackType|}}}</td></tr> |
|||
|<div class="second-level-tabs">{{#tag:tabber| |
|||
<tr><th colspan="3">Armor Type</th><td colspan="3" style="background-color:{{Color|ArmorType|{{{ArmorType|}}}}};color:white;font-weight:bold">{{{ArmorType|}}}</td></tr> |
|||
{{#if:{{{Variant0|}}}||Original=[[File:{{#ifexist: File:{{PAGENAMEE}}_diorama_00.png | {{PAGENAMEE}}_diorama_00.png | {{#ifexist: File:{{PAGENAMEE}}_00.png | {{PAGENAMEE}}_00.png | {{PAGENAMEE}}_full.png }} }}|frameless|center|300x300px|alt={{{Name|}}}]]}} |
|||
<tr><th colspan="3">Combat Class</th><td colspan="3">{{{CombatClass|{{{Type|}}}}}}</td></tr> |
|||
{{#forargs:Variant |
|||
<tr><th colspan="3">Weapon Type</th><td colspan="3">{{{WeaponType|}}}</td></tr> |
|||
| variant_index |
|||
<tr><th colspan="3">Uses Cover?</th><td colspan="3">{{{UsesCover|}}}</td></tr> |
|||
| variant_name |
|||
<tr><th colspan="6" style="background-color:#2d4c72;color:white">Affinity</th></tr> |
|||
| {{!}}-{{!}} |
|||
<tr><th colspan="2" style="width:33.3%">Outdoor</th><th colspan="2">City/Town</th><th colspan="2" style="width:33.3%">Indoor</th></tr> |
|||
{{#var:variant_name}} {{=}} [[File:{{{Image{{#var:variant_index}}|{{PAGENAMEE}}_({{#var:variant_name}})_00.png}}}|frameless|center|300x300px|alt={{#var:variant_name}}]] |
|||
<tr><td colspan="2">{{Affinity|{{{CityTownAffinity|}}}}}</td><td colspan="2">{{Affinity|{{{OutdoorAffinity|}}}}}</td><td colspan="2">{{Affinity|{{{IndoorAffinity|}}}}}</td></tr> |
|||
}}<!--end forargs--> |
|||
<tr><th colspan="6" style="background-color:#2d4c72;color:white">Profile</th></tr> |
|||
}}<!--end tabber--></div> |
|||
<tr><th colspan="3">Full Name</th><td colspan="3">{{{FullName|{{{JPReading|}}}}}}<br>({{{JPName|}}})</td></tr> |
|||
|[[File:{{#ifexist: File:{{PAGENAMEE}}_diorama_00.png | {{PAGENAMEE}}_diorama_00.png | {{#ifexist: File:{{PAGENAMEE}}_00.png | {{PAGENAMEE}}_00.png | {{PAGENAMEE}}_full.png }} }}|frameless|center|300x300px|alt={{{Name|}}}]] |
|||
<tr><th colspan="3">Age</th><td colspan="3">{{{Age|}}}</td></tr> |
|||
}} |
|||
<tr><th colspan="3">Birthday</th><td colspan="3">{{{Birthday|}}}</td></tr> |
|||
{{!}}-{{!}} |
|||
<tr><th colspan="3">Height</th><td colspan="3">{{{Height|}}}</td></tr> |
|||
{{#if: {{#ifexist: File:{{PAGENAMEE}}_dangle.webm|true|}} {{#ifexist: File:Memorial Lobby {{PAGENAME}}.jpg|true|}} | |
|||
<tr><th colspan="3">Hobbies</th><td colspan="3">{{{Hobbies|}}}</td></tr> |
|||
Other=<div class="second-level-tabs">{{#tag:tabber| |
|||
<tr><th colspan="3">Illustrator</th><td colspan="3">{{{Illustrator|{{{Illust|}}}}}}</td></tr> |
|||
{{#ifexist: File:{{PAGENAMEE}}_dangle.webm |Chibi=<div class="video" data-videosrc="{{filepath:{{PAGENAMEE}}_dangle.webm}}"></div> }} |
|||
<tr><th colspan="3">Voice</th><td colspan="3">{{{Voice|}}}</td></tr> |
|||
{{#ifexist: File:Memorial Lobby {{PAGENAME}}.jpg| {{!}}-{{!}} Memorial Lobby=[[File:Memorial Lobby {{PAGENAME}}.jpg|300px]] }} |
|||
}}</div> |
|||
|}} |
|||
}} |
|||
{{#ifexist: File:{{PAGENAMEE}}_dangle.webm ||{{#ifeq: {{{CombatClass|}}}| Striker | [[Category:Strikers without dangles]] |}} }} |
|||
</div></td></tr> |
|||
<tr><th class="character-school character-header">School</th><th class="character-role character-header">Role</th></tr> |
|||
<tr><td title="{{{School|}}}, {{{Club|}}}">{{School|{{{School|}}}}}{{{School|}}}</td><td>{{Role|{{{Role|}}}}}{{{Role|}}}/{{{Position|}}}</td></tr> |
|||
<tr><th>Damage Type</th><td class="bg-element bg-{{lc:{{{AttackType|}}}}} mw-no-invert">{{#ifeq:{{{AttackType|}}}|Penetration|Piercing|{{{AttackType|}}}}}</td></tr> |
|||
<tr><th>Armor Type</th><td class="bg-element bg-{{lc:{{{ArmorType|}}}}} mw-no-invert">{{{ArmorType|}}}</td></tr> |
|||
<tr><th>Combat Class</th><td>{{{CombatClass|{{{Type|}}}}}}</td></tr> |
|||
<tr><th>Affinity</th> |
|||
<td style="padding: 0"> |
|||
<table class="character-affinity"> |
|||
<tr class="character-affinity-types"> |
|||
<td>{{Icon|Urban|size=24}}</td> |
|||
<td>{{Icon|Outdoors|size=24}}</td> |
|||
<td>{{Icon|Indoors|size=24}}</td> |
|||
</tr> |
|||
<tr class="character-affinity-values"> |
|||
<td>{{Affinity|{{{CityTownAffinity|}}}|valign=top}}</td> |
|||
<td>{{Affinity|{{{OutdoorAffinity|}}}|valign=top}}</td> |
|||
<td>{{Affinity|{{{IndoorAffinity|}}}|valign=top}}</td> |
|||
</tr> |
|||
</table> |
|||
</td> |
|||
</tr> |
|||
<tr><td colspan="2" style="padding: 0"> |
|||
<table class="character-equipment"> |
|||
<tr> |
|||
<td class="weapon"> |
|||
<div class="weapon-text">{{#switch: {{lc: {{{UsesCover}}} }} | yes = {{Icon|Cover|title=Uses cover|size=18}} | no = {{Icon|Nocover|title=Doesn't use cover|size=18}} }}{{{WeaponType|}}}</div> |
|||
{{#ifexist: Image:Weapon_Icon_{{{WeaponImage|}}}.png |
|||
| [[File:Weapon_Icon_{{{WeaponImage|}}}.png|center|120px|frameless|{{{WeaponImage|}}}|alt={{{WeaponType|}}}|link=]] |
|||
| {{#ifexist: Image:Weapon_Icon_{{{WeaponType|}}}.png |
|||
| [[File:Weapon_Icon_{{{WeaponType|}}}.png|center|120px|frameless|{{{WeaponType|}}}|alt={{{WeaponType|}}}|link=]] |
|||
| }} }} |
|||
</td> |
|||
<td class="equipment equipment-1" data-value="{{lc:{{{EquipmentSlot1|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot1|}}}_Tier1|title={{{EquipmentSlot1|}}}|link=Equipment#{{{EquipmentSlot1|}}}|size=62}}</td> |
|||
<td class="equipment equipment-2" data-value="{{lc:{{{EquipmentSlot2|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot2|}}}_Tier1|title={{{EquipmentSlot2|}}}|link=Equipment#{{{EquipmentSlot2|}}}|size=62}}</td> |
|||
<td class="equipment equipment-3" data-value="{{lc:{{{EquipmentSlot3|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot3|}}}_Tier1|title={{{EquipmentSlot3|}}}|link=Equipment#{{{EquipmentSlot3|}}}|size=62}}</td> |
|||
</tr> |
|||
</table> |
</table> |
||
</ |
</td></tr> |
||
<tr><th colspan="2" class="character-profile character-header">Profile</th></tr> |
|||
<noinclude> |
|||
<tr><th>Full Name</th><td>{{{FullName|{{{JPReading|}}}}}}<br>({{{JPName|}}})</td></tr> |
|||
<tr><th>Age</th><td>{{{Age|}}}</td></tr> |
|||
<tr><th>Birthday</th><td>{{{Birthday|}}}</td></tr> |
|||
<tr><th>Height</th><td>{{{Height|}}}</td></tr> |
|||
<tr><th>Hobbies</th><td>{{{Hobbies|}}}</td></tr> |
|||
<tr><th>Designer</th><td>{{{Designer|}}}</td></tr> |
|||
<tr><th>Illustrator</th><td>{{{Illustrator|{{{Illust|}}}}}}</td></tr> |
|||
<tr><th>Voice</th><td class="character-voice" {{#ifexist: File:{{{VoiceClip|{{PAGENAMEE}}_Title}}}.ogg | data-voice="{{filepath:{{{VoiceClip|{{PAGENAMEE}}_Title}}}.ogg|nowiki}}" | }}>{{{Voice|}}}</td></tr> |
|||
<tr><th>Release Date</th><td>{{{ReleaseDate|???}}}</td></tr> |
|||
</table> |
|||
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Members of {{{Club|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}} |
|||
{{#vardefine:seo_image|{{{ImageProfile|{{PAGENAMEE}}.png}}}}}</includeonly><noinclude> |
|||
== Blank Template == |
== Blank Template == |
||
<pre> |
<pre> |
||
{{Character |
{{Character |
||
| Id = |
|||
| DevName = |
|||
| Name = |
| Name = |
||
| Image = |
|||
| JPName = |
| JPName = |
||
| JPReading = |
| JPReading = |
||
Line 35: | Line 90: | ||
| Role = |
| Role = |
||
| Grade = |
| Grade = |
||
| |
| Club = |
||
| Age = |
| Age = |
||
| Birthday = |
| Birthday = |
||
| Height = |
| Height = |
||
| Hobbies = |
| Hobbies = |
||
| Designer = |
|||
| Illust = |
| Illust = |
||
| Voice = |
| Voice = |
||
Line 48: | Line 104: | ||
| ArmorType = |
| ArmorType = |
||
| WeaponType = |
| WeaponType = |
||
| WeaponImage = |
|||
| UsesCover = |
| UsesCover = |
||
| OutdoorAffinity = |
|||
| CityTownAffinity = |
| CityTownAffinity = |
||
| OutdoorAffinity = |
|||
| IndoorAffinity = |
| IndoorAffinity = |
||
| EquipmentSlot1 = |
|||
| EquipmentSlot2 = |
|||
| EquipmentSlot3 = |
|||
| CharacterPool = |
|||
| ReleaseDate = |
|||
}}</pre> |
}}</pre> |
||
Line 57: | Line 119: | ||
{ |
{ |
||
"params": { |
"params": { |
||
"Id": { |
|||
"description": "Character's internal Id.", |
|||
"example": "10000", |
|||
"type": "number" |
|||
}, |
|||
"Name": { |
"Name": { |
||
"description": "Character's first name.", |
"description": "Character's first name.", |
||
Line 69: | Line 136: | ||
"required": true |
"required": true |
||
}, |
}, |
||
" |
"Portrait": { |
||
"description": " |
"description": "Filename of character's portrait sprite", |
||
"example": " |
"example": "Student_Portrait_Shiroko", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"required": |
"required": false, |
||
"suggested": true, |
|||
"deprecated": "This parameter is deprecated, relevant files should have consistent naming of \"Portrait_{Character_Wikiname}.png\" for normal and \"Portrait_{Character_Wikiname}_Small.png\" for small versions" |
|||
}, |
}, |
||
"School": { |
"School": { |
||
Line 119: | Line 188: | ||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
}, |
|||
"WeaponImage": { |
|||
"description": "Character's weapon image, if they are using non-default flavour.", |
|||
"example": "DualSMG", |
|||
"type": "string" |
|||
}, |
}, |
||
"UsesCover": { |
"UsesCover": { |
||
"description": "Whether character uses cover or not (one of Yes, No).", |
"description": "Whether character uses cover or not (one of Yes, No).", |
||
"example": "Yes", |
"example": "Yes", |
||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"CityTownAffinity": { |
|||
"description": "Character's affinity for urban/city combat (one of S, A, B, C, D).", |
|||
"example": "B", |
|||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 129: | Line 209: | ||
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).", |
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).", |
||
"example": "S", |
"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", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 141: | Line 215: | ||
"description": "Character's affinity for indoor combat (one of S, A, B, C, D).", |
"description": "Character's affinity for indoor combat (one of S, A, B, C, D).", |
||
"example": "D", |
"example": "D", |
||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"EquipmentSlot1 ": { |
|||
"description": "First (lvl 1) gear slot.", |
|||
"example": "Shoes", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"EquipmentSlot2 ": { |
|||
"description": "Second (lvl 15) gear slot.", |
|||
"example": "Bag", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"EquipmentSlot3 ": { |
|||
"description": "Third (lvl 35) gear slot.", |
|||
"example": "Charm", |
|||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 180: | Line 272: | ||
"description": "Character's hobbies.", |
"description": "Character's hobbies.", |
||
"example": "Jogging, strength training, cycling", |
"example": "Jogging, strength training, cycling", |
||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"Designer": { |
|||
"description": "Character's designer.", |
|||
"example": "Hwansang", |
|||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 197: | Line 295: | ||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
} |
}, |
||
"CharacterPool": { |
|||
"description": "Denotes whether character is excluded from the common gacha pool. One of regular, event, limited, anniversary.", |
|||
"example": "event", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"ReleaseDate": { |
|||
"description": "Date character was made playable in the game, in YYYY/MM/DD format.", |
|||
"example": "2021/02/04", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"DevName": { |
|||
"description": "Character DevName, commonly used as internal game resource reference", |
|||
"example": "CH9999", |
|||
"type": "string" |
|||
}, |
|||
"Club": {} |
|||
}, |
}, |
||
"description": "Character infobox template.", |
"description": "Character infobox template.", |
||
"format": "block" |
"format": "block", |
||
"paramOrder": [ |
|||
"Id", |
|||
"DevName", |
|||
"Name", |
|||
"Portrait", |
|||
"School", |
|||
"Club", |
|||
"Position", |
|||
"Role", |
|||
"AttackType", |
|||
"ArmorType", |
|||
"CombatClass", |
|||
"WeaponType", |
|||
"WeaponImage", |
|||
"UsesCover", |
|||
"Rarity", |
|||
"CityTownAffinity", |
|||
"OutdoorAffinity", |
|||
"IndoorAffinity", |
|||
"EquipmentSlot1 ", |
|||
"EquipmentSlot2 ", |
|||
"EquipmentSlot3 ", |
|||
"FullName", |
|||
"JPName", |
|||
"Age", |
|||
"Birthday", |
|||
"Height", |
|||
"Hobbies", |
|||
"Designer", |
|||
"Illustrator", |
|||
"Voice", |
|||
"CharacterPool", |
|||
"ReleaseDate" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Latest revision as of 20:34, 24 May 2024
Blank Template Edit
{{Character | Id = | DevName = | Name = | JPName = | JPReading = | School = | Role = | Grade = | Club = | Age = | Birthday = | Height = | Hobbies = | Designer = | Illust = | Voice = | Type = | Position = | Rarity = | AttackType = | ArmorType = | WeaponType = | WeaponImage = | UsesCover = | CityTownAffinity = | OutdoorAffinity = | IndoorAffinity = | EquipmentSlot1 = | EquipmentSlot2 = | EquipmentSlot3 = | CharacterPool = | ReleaseDate = }}
Character infobox template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Id | Id | Character's internal Id.
| Number | optional |
DevName | DevName | Character DevName, commonly used as internal game resource reference
| String | optional |
Name | Name | Character's first name.
| String | required |
Portrait | Portrait | Filename of character's portrait sprite
| File | deprecated |
School | School | Character's school.
| String | suggested |
Club | Club | no description | Unknown | optional |
Position | Position | Character's position.
| String | suggested |
Role | Role | Character's role (one of Attacker, Tank, Support, Healer).
| 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 |
WeaponImage | WeaponImage | Character's weapon image, if they are using non-default flavour.
| String | optional |
UsesCover | UsesCover | Whether character uses cover or not (one of Yes, No).
| String | suggested |
Rarity | Rarity | Character's rarity as number of stars.
| Number | required |
CityTownAffinity | CityTownAffinity | Character's affinity for urban/city combat (one of S, A, B, C, D).
| String | suggested |
OutdoorAffinity | OutdoorAffinity | Character's affinity for outdoor 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 |
EquipmentSlot1 | EquipmentSlot1 | First (lvl 1) gear slot.
| String | suggested |
EquipmentSlot2 | EquipmentSlot2 | Second (lvl 15) gear slot.
| String | suggested |
EquipmentSlot3 | EquipmentSlot3 | Third (lvl 35) gear slot.
| 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 |
Designer | Designer | Character's designer.
| String | suggested |
Illustrator | Illustrator Illust | Character's illustrator.
| String | suggested |
Voice | Voice | Name of character's voice actress.
| String | suggested |
CharacterPool | CharacterPool | Denotes whether character is excluded from the common gacha pool. One of regular, event, limited, anniversary.
| String | suggested |
ReleaseDate | ReleaseDate | Date character was made playable in the game, in YYYY/MM/DD format.
| String | suggested |