Template:Character/sandbox: Difference between revisions

m
[InPageEdit]
No edit summary
m ([InPageEdit])
Line 1:
<includeonly><table class="wikitable character">
<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 {{#ifeq: {{{Birthday|}}} | {{#time: F j|+9 hours}} | portrait-birthday}}">
{{#tag:tabber|
Profile Image=[[File:{{{ImageProfile|{{PAGENAMEE}}.png}}}|frameless|center|300x300px|alt={{{Name|}}}]]
{{!}}-{{!}}
Artwork=[[File:{{{Image|{{PAGENAMEE}}_full.png}}}|frameless|center|300x300px|alt={{{Name|}}}]]
{{!}}-{{!}}
{{#ifexist: File:Two_leapfrogs{{PAGENAMEE}}_dangle.webm |Chibi=<div class="video" data-videosrc="{{filepath:Two_leapfrogs{{PAGENAMEE}}_dangle.webm}}">[[File:Two_leapfrogs.webm|x300px|loop]]</div> }}
}}
{{#ifexist: File:{{PAGENAMEE}}_dangle.webm ||{{#ifeq: {{{CombatClass|}}}| Striker | [[Category:Strikers without dangles]] |}} }}
</div></td></tr>
</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><th>Damage Type</th><td classtitle="bg-element{{{School|}}}, bg-{{lc:{Club|}}}">{{AttackTypeSchool|{{{School|}}}}} mw-no-invert"{{{School|}}}</td><td>{{Role|{{{Role|}}}}}{{{Role|}}}/{{{AttackTypePosition|}}}</td></tr>
<tr><th>ArmorDamage Type</th><td class="bg-element bg-{{lc:{{{ArmorTypeAttackType|}}}}} mw-no-invert">{{{ArmorTypeAttackType|}}}</td></tr>
<tr><th>CombatArmor ClassType</th><td> class="bg-element bg-{{lc:{CombatClass|{{{TypeArmorType|}}}}} mw-no-invert">{{{ArmorType|}}}</td></tr>
<tr><th>Combat Class</th><td>{{{CombatClass|{{{Type|}}}}}}</td></tr>
<tr><th>Affinity</th>
<tr><th>Affinity</th>
<td style="padding: 0">
<td style="padding: 0">
<table class="character-affinity">
<trtable class="character-affinity-types">
<tr class="character-affinity-types">
<td>{{Icon|Urban|size=24}}</td>
<td>{{Icon|OutdoorsUrban|size=24}}</td>
<td>{{Icon|IndoorsOutdoors|size=24}}</td>
<td>{{Icon|Indoors|size=24}}</td>
</tr>
</tr>
<tr class="character-affinity-values">
<tr class="character-affinity-values">
<td>{{Affinity|{{{CityTownAffinity|}}}|valign=top}}</td>
<td>{{Affinity|{{{OutdoorAffinityCityTownAffinity|}}}|valign=top}}</td>
<td>{{Affinity|{{{IndoorAffinityOutdoorAffinity|}}}|valign=top}}</td>
<td>{{Affinity|{{{IndoorAffinity|}}}|valign=top}}</td>
</tr>
</tabletr>
</tdtable>
</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>
</tr>
<td class="equipment equipment-1" data-value="{{lc:{{{EquipmentSlot1|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot1|}}}_Tier1|title={{{EquipmentSlot1|}}}|link=Equipment#{{{EquipmentSlot1|}}}|size=62}}</td>
<tr><td colspan="2" style="padding: 0">
<td class="equipment equipment-2" data-value="{{lc:{{{EquipmentSlot2|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot2|}}}_Tier1|title={{{EquipmentSlot2|}}}|link=Equipment#{{{EquipmentSlot2|}}}|size=62}}</td>
<table class="character-equipment">
<td class="equipment equipment-3" data-value="{{lc:{{{EquipmentSlot3|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot3|}}}_Tier1|title={{{EquipmentSlot3|}}}|link=Equipment#{{{EquipmentSlot3|}}}|size=62}}</td>
</tr>
<td class="weapon">
</table>
<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>
</td></tr>
{{#ifexist: Image:Weapon_Icon_{{{WeaponImage|}}}.png
<tr><th colspan="2" class="character-profile character-header">Profile</th></tr>
| [[File:Weapon_Icon_{{{WeaponImage|}}}.png|center|120px|frameless|{{{WeaponImage|}}}|alt={{{WeaponType|}}}|link=]]
<tr><th>Full Name</th><td>{{{FullName|{{{JPReading|}}}}}}<br>({{{JPName|}}})</td></tr>
| {{#ifexist: Image:Weapon_Icon_{{{WeaponType|}}}.png
<tr><th>Age</th><td>{{{Age|}}}</td></tr>
| [[File:Weapon_Icon_{{{WeaponType|}}}.png|center|120px|frameless|{{{WeaponType|}}}|alt={{{WeaponType|}}}|link=]]
<tr><th>Birthday</th><td>{{{Birthday|}}}</td></tr>
| }} }}
<tr><th>Height</th><td>{{{Height|}}}</td></tr>
</td>
<tr><th>Hobbies</th><td>{{{Hobbies|}}}</td></tr>
<td class="equipment equipment-1" data-value="{{lc:{{{EquipmentSlot1|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot1|}}}_Tier1|title={{{EquipmentSlot1|}}}|link=Equipment#{{{EquipmentSlot1|}}}|size=62}}</td>
<tr><th>Designer</th><td>{{{Designer|}}}</td></tr>
<td class="equipment equipment-2" data-value="{{lc:{{{EquipmentSlot2|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot2|}}}_Tier1|title={{{EquipmentSlot2|}}}|link=Equipment#{{{EquipmentSlot2|}}}|size=62}}</td>
<tr><th>Illustrator</th><td>{{{Illustrator|{{{Illust|}}}}}}</td></tr>
<td class="equipment equipment-3" data-value="{{lc:{{{EquipmentSlot3|}}}}}">{{Icon|Equipment_Icon_{{{EquipmentSlot3|}}}_Tier1|title={{{EquipmentSlot3|}}}|link=Equipment#{{{EquipmentSlot3|}}}|size=62}}</td>
<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>
<tr><th>Release Date</th><td>{{{ReleaseDate|???}}}</td></tr>
</table>
</td></tr>
{{#ifeq:{{NAMESPACE}}||[[Category:Characters with {{{Rarity|}}} star rarity]][[Category:Students of {{{School|}}}]][[Category:Characters with role {{{Role|}}}]][[Category:Characters with class {{{CombatClass|{{{Type|}}}}}}]]}}
<tr><th colspan="2" class="character-profile character-header">Profile</th></tr>
{{#vardefine:seo_image|{{{ImageProfile|{{PAGENAMEE}}.png}}}}}
<tr><th>Full Name</th><td>{{{FullName|{{{JPReading|}}}}}}<br>({{{JPName|}}})</td></tr>
__TOC__</includeonly>
<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 ==
<pre>
{{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 =
}}</pre>
 
<templatedata>
{
"params": {
"Id": {
"description": "Character's internal Id.",
"example": "10000",
"type": "number"
},
"Name": {
"description": "Character's first name.",
"example": "Shiroko",
"type": "string",
"required": true
},
"Rarity": {
"description": "Character's rarity as number of stars.",
"example": "3",
"type": "number",
"required": true
},
"Portrait": {
"description": "Filename of character's portrait sprite",
"example": "Student_Portrait_Shiroko",
"type": "wiki-file-name",
"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": {
"description": "Character's school.",
"example": "Abydos",
"type": "string",
"suggested": true
},
"Role": {
"description": "Character's role (one of Attacker, Tank, Support, Healer).",
"example": "Attacker",
"type": "string",
"suggested": true
},
"Position": {
"description": "Character's position.",
"example": "Middle",
"type": "string",
"suggested": true
},
"AttackType": {
"description": "Character's attack type (one of Explosive, Mystic, Penetration).",
"example": "Explosive",
"type": "string",
"suggested": true
},
"ArmorType": {
"description": "Character's armor type (one of Light, Heavy, Special).",
"example": "Light",
"type": "string",
"suggested": true
},
"CombatClass": {
"description": "Character's combat class (one of Striker, Special).",
"example": "Striker",
"type": "string",
"suggested": true,
"aliases": [
"Type"
]
},
"WeaponType": {
"description": "Character's weapon type.",
"example": "AR",
"type": "string",
"suggested": true
},
"WeaponImage": {
"description": "Character's weapon image, if they are using non-default flavour.",
"example": "DualSMG",
"type": "string"
},
"UsesCover": {
"description": "Whether character uses cover or not (one of Yes, No).",
"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",
"suggested": true
},
"OutdoorAffinity": {
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).",
"example": "S",
"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
},
"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",
"suggested": true
},
"FullName": {
"description": "Character's full name.",
"example": "Shiroko Sunaōkami",
"type": "string",
"suggested": true,
"aliases": [
"JPReading"
]
},
"JPName": {
"description": "Character's name in Japanese.",
"example": "砂狼シロコ",
"type": "string",
"suggested": true
},
"Age": {
"description": "Character's age.",
"example": "16",
"type": "string",
"suggested": true
},
"Birthday": {
"description": "Character's birthday.",
"example": "May 16",
"type": "string",
"suggested": true
},
"Height": {
"description": "Character's height.",
"example": "156cm",
"type": "string",
"suggested": true
},
"Hobbies": {
"description": "Character's hobbies.",
"example": "Jogging, strength training, cycling",
"type": "string",
"suggested": true
},
"Designer": {
"description": "Character's designer.",
"example": "Hwansang",
"type": "string",
"suggested": true
},
"Illustrator": {
"description": "Character's illustrator.",
"example": "Hwansang",
"type": "string",
"suggested": true,
"aliases": [
"Illust"
]
},
"Voice": {
"description": "Name of character's voice actress.",
"example": "Yui Ogura",
"type": "string",
"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.",
"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>
</noinclude>