Template:Character: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
(fit memorial lobby in infobox along with Chibi (if it exists))
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table class="wikitable character">
<includeonly><templatestyles src="Character/style.css"/><table class="wikitable character">
<tr><th colspan="2" class="character-name character-header">{{{Name|}}}</th></tr>
<tr><th colspan="2" class="character-name character-header" title="{{{Name|}}}&#10;CharacterId: {{{Id|}}}&#10;DevName: {{{DevName|}}}">{{{Name|}}}</th></tr>
<tr><td colspan="2" style="padding: 3px;"><div class="character-rarity" data-value="{{{Rarity|}}}">{{Rarity|{{{Rarity|}}}}}</div><div class="character-images"><tabber>
<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}}">
{{#tag:tabber|
Profile Image=[[File:{{{ImageProfile|{{PAGENAMEE}}.png}}}|frameless|center|300x300px|alt={{{Name|}}}|class=portrait {{#ifeq: {{{Birthday|}}} | {{CURRENTMONTHNAME}} {{CURRENTDAY}} | portrait-birthday}}]]
Profile Image=[[File:{{{ImageProfile|{{PAGENAMEE}}.png}}}|frameless|center|300x300px|alt={{{Name|}}}]]
|-|
{{!}}-{{!}}
Full Artwork=[[File:{{{Image|{{PAGENAMEE}}_full.png}}}|frameless|center|300x300px|alt={{{Name|}}}]]
Artwork={{#if:{{{Variant1|}}}
</tabber></div></td></tr>
|<div class="second-level-tabs">{{#tag:tabber|
{{#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|}}}]]}}
{{#forargs:Variant
| variant_index
| variant_name
| {{!}}-{{!}}
{{#var:variant_name}} {{=}} [[File:{{{Image{{#var:variant_index}}|{{PAGENAMEE}}_({{#var:variant_name}})_00.png}}}|frameless|center|300x300px|alt={{#var:variant_name}}]]
}}<!--end forargs-->
}}<!--end tabber--></div>
|[[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|}}}]]
}}
{{!}}-{{!}}
{{#if: {{#ifexist: File:{{PAGENAMEE}}_dangle.webm|true|}} {{#ifexist: File:Memorial Lobby {{PAGENAME}}.jpg|true|}} |
Other=<div class="second-level-tabs">{{#tag:tabber|
{{#ifexist: File:{{PAGENAMEE}}_dangle.webm |Chibi=<div class="video" data-videosrc="{{filepath:{{PAGENAMEE}}_dangle.webm}}"></div> }}
{{#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><th class="character-school character-header">School</th><th class="character-role character-header">Role</th></tr>
<tr><td>{{School|{{{School|}}}}}{{{School|}}}</td><td>{{Role|{{{Role|}}}}}{{{Role|}}}/{{{Position|}}}</td></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">{{{AttackType|}}}</td></tr>
<tr><th>Damage Type</th><td class="bg-element bg-{{lc:{{{AttackType|}}}}} mw-no-invert">{{{AttackType|}}}</td></tr>
<tr><th>Armor Type</th><td class="bg-element bg-{{lc:{{{ArmorType|}}}}} mw-no-invert">{{{ArmorType|}}}</td></tr>
<tr><th>Armor Type</th><td class="bg-element bg-{{lc:{{{ArmorType|}}}}} mw-no-invert">{{{ArmorType|}}}</td></tr>
Line 50: Line 71:
<tr><th>Height</th><td>{{{Height|}}}</td></tr>
<tr><th>Height</th><td>{{{Height|}}}</td></tr>
<tr><th>Hobbies</th><td>{{{Hobbies|}}}</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>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>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>
<tr><th>Release Date</th><td>{{{ReleaseDate|???}}}</td></tr>
</table>
</table>
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}}
{{#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|}}}}}}]]}}
{{#ifexist: Image:{{{ImageProfile|{{PAGENAMEE}}.png}}} | {{#seo: |image = {{{ImageProfile|{{PAGENAMEE}}.png}}} |image_alt = {{{Name|}}} }} | }}__TOC__</includeonly><noinclude>
{{#vardefine:seo_image|{{{ImageProfile|{{PAGENAMEE}}.png}}}}}</includeonly><noinclude>


== Blank Template ==
== Blank Template ==
Line 61: Line 83:
{{Character
{{Character
| Id =
| Id =
| DevName =
| Name =
| Name =
| JPName =
| JPName =
Line 67: Line 90:
| Role =
| Role =
| Grade =
| Grade =
| Circle =
| Club =
| Age =
| Age =
| Birthday =
| Birthday =
| Height =
| Height =
| Hobbies =
| Hobbies =
| Designer =
| Illust =
| Illust =
| Voice =
| Voice =
Line 88: Line 112:
| EquipmentSlot2 =
| EquipmentSlot2 =
| EquipmentSlot3 =
| EquipmentSlot3 =
| CharacterPool =
| ReleaseDate =
| ReleaseDate =
}}</pre>
}}</pre>
Line 111: Line 136:
"required": true
"required": true
},
},
"Image": {
"Portrait": {
"description": "File containing character's sprite.",
"description": "Filename of character's portrait sprite",
"example": "Shiroko_full.png",
"example": "Student_Portrait_Shiroko",
"type": "wiki-file-name",
"type": "wiki-file-name",
"required": false,
"required": false,
"suggested": true
"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"
},
"ImageProfile": {
"description": "File containing character's profile sprite.",
"example": "Shiroko.png",
"type": "wiki-file-name",
"required": false,
"suggested": true
},
},
"School": {
"School": {
Line 253: 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 271: Line 296:
"suggested": true
"suggested": true
},
},
"VoiceClip": {
"CharacterPool": {
"description": "Soundclip of character voice saying the games' name, .ogg audio format. <CharacterName>_Title is tried by default.",
"description": "Denotes whether character is excluded from the common gacha pool. One of regular, event, limited, anniversary.",
"example": "Airi_Title",
"example": "event",
"type": "string"
"type": "string",
"suggested": true
},
},
"ReleaseDate": {
"ReleaseDate": {
Line 281: Line 307:
"type": "string",
"type": "string",
"suggested": true
"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 07:20, 25 January 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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
IdId

Character's internal Id.

Example
10000
Numberoptional
DevNameDevName

Character DevName, commonly used as internal game resource reference

Example
CH9999
Stringoptional
NameName

Character's first name.

Example
Shiroko
Stringrequired
PortraitPortrait

Filename of character's portrait sprite

Example
Student_Portrait_Shiroko
Filedeprecated
SchoolSchool

Character's school.

Example
Abydos
Stringsuggested
ClubClub

no description

Unknownoptional
PositionPosition

Character's position.

Example
Middle
Stringsuggested
RoleRole

Character's role (one of Attacker, Tank, Support, Healer).

Example
Attacker
Stringsuggested
AttackTypeAttackType

Character's attack type (one of Explosive, Mystic, Penetration).

Example
Explosive
Stringsuggested
ArmorTypeArmorType

Character's armor type (one of Light, Heavy, Special).

Example
Light
Stringsuggested
CombatClassCombatClass Type

Character's combat class (one of Striker, Special).

Example
Striker
Stringsuggested
WeaponTypeWeaponType

Character's weapon type.

Example
AR
Stringsuggested
WeaponImageWeaponImage

Character's weapon image, if they are using non-default flavour.

Example
DualSMG
Stringoptional
UsesCoverUsesCover

Whether character uses cover or not (one of Yes, No).

Example
Yes
Stringsuggested
RarityRarity

Character's rarity as number of stars.

Example
3
Numberrequired
CityTownAffinityCityTownAffinity

Character's affinity for urban/city combat (one of S, A, B, C, D).

Example
B
Stringsuggested
OutdoorAffinityOutdoorAffinity

Character's affinity for outdoor combat (one of S, A, B, C, D).

Example
S
Stringsuggested
IndoorAffinityIndoorAffinity

Character's affinity for indoor combat (one of S, A, B, C, D).

Example
D
Stringsuggested
EquipmentSlot1 EquipmentSlot1

First (lvl 1) gear slot.

Example
Shoes
Stringsuggested
EquipmentSlot2 EquipmentSlot2

Second (lvl 15) gear slot.

Example
Bag
Stringsuggested
EquipmentSlot3 EquipmentSlot3

Third (lvl 35) gear slot.

Example
Charm
Stringsuggested
FullNameFullName JPReading

Character's full name.

Example
Shiroko Sunaōkami
Stringsuggested
JPNameJPName

Character's name in Japanese.

Example
砂狼シロコ
Stringsuggested
AgeAge

Character's age.

Example
16
Stringsuggested
BirthdayBirthday

Character's birthday.

Example
May 16
Stringsuggested
HeightHeight

Character's height.

Example
156cm
Stringsuggested
HobbiesHobbies

Character's hobbies.

Example
Jogging, strength training, cycling
Stringsuggested
DesignerDesigner

Character's designer.

Example
Hwansang
Stringsuggested
IllustratorIllustrator Illust

Character's illustrator.

Example
Hwansang
Stringsuggested
VoiceVoice

Name of character's voice actress.

Example
Yui Ogura
Stringsuggested
CharacterPoolCharacterPool

Denotes whether character is excluded from the common gacha pool. One of regular, event, limited, anniversary.

Example
event
Stringsuggested
ReleaseDateReleaseDate

Date character was made playable in the game, in YYYY/MM/DD format.

Example
2021/02/04
Stringsuggested