Template:Character Infobox: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly> <infobox> <title source="title1"/> <image source="image1"> <caption source="caption-image1"/> </image> <group> <header source="header1">Section Header</header> <data source="row1"/> <data source="row2"/> <data source="row3"/> </group> </infobox> </includeonly> <noinclude> Example usage: {{Character Infobox | title1=Example | image1=Example.jpg | caption-image1=Example | row1=Example | row2=Example | row3=Example}} <..." |
very basic info for now |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><infobox> | ||
<infobox> | <title source="name"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<header name="title">{{{title|}}}</header> | |||
<group> | |||
<image source="image"><caption source="caption"/></image> | |||
</group> | |||
<group layout="vertical"><!-- | |||
Character Data | |||
--><data source="type"> | |||
<label>Type</label> | |||
</ | <format>[[{{{type}}}]]</format> | ||
</ | </data> | ||
< | <data source="animasterType"> | ||
<label>Type</label> | |||
{{ | <format>[[{{{animasterType}}}]]</format> | ||
</data> | |||
</group> | |||
<group> | |||
<panel> | |||
<section> | |||
<label>Bio</label> | |||
< | <data source="otherNames"> | ||
{{ | <label>Other Names</label> | ||
</data> | |||
<data source="title2"> | |||
<label>Other Titles</label> | |||
<format>{{#if:{{{title2|}}}|<ul><!-- | |||
| | --><li>{{{title2}}}</li><!-- | ||
-->{{#if:{{{title3|}}}|<li>{{{title3}}}</li>}}<!-- | |||
-->{{#if:{{{title4|}}}|<li>{{{title4}}}</li>}}<!-- | |||
-->{{#if:{{{title5|}}}|<li>{{{title5}}}</li>}}<!-- | |||
{ | --></ul>}}</format> | ||
</ | </data> | ||
</noinclude> | </section> | ||
<section> | |||
<label>Voice</label> | |||
<data source="vaEN"> | |||
<label>English</label> | |||
</data> | |||
<data source="vaCN"> | |||
<label>Chinese</label> | |||
</data> | |||
<data source="vaJP"> | |||
<label>Japanese</label> | |||
</data> | |||
<data source="vaKR"> | |||
<label>Korean</label> | |||
</data> | |||
</section> | |||
</panel> | |||
</group> | |||
</infobox><!-- | |||
Auto-Categorize Only in Main Namespace | |||
-->{{Namespace|main=[[Category:Characters]]{{#vardefine:page_type|character}}<!-- | |||
Only Sort Playables | |||
-->{{#switch:{{{type}}}<!-- | |||
-->|Animaster = {{#if:{{{id|}}}|[[Category:Animaster|{{{id}}}]]|[[Category:Animaster]][[Category:Animaster Missing ID]]}}<!-- | |||
-->|#default = <!-- | |||
-->}}<!-- | |||
Type | |||
-->{{#switch:{{{type}}} | |||
|Animaster = [[Category:Animasters]] | |||
|NPC = [[Category:NPCs]]}}<!-- | |||
Animaster Type | |||
-->{{#switch:{{{animasterType}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType}}} Animaster]]}} | |||
{{#if:{{{animasterType|}}}|[[Category:Characters by Animaster Type|{{#switch:{{{animasterType|}}} | |||
|Sovereign = 0 | |||
|Novarch = 1 | |||
|Other = 2 | |||
|#default = 3 | |||
}}]]}}<!-- | |||
Voice Actors | |||
-->{{#if:{{{vaEN|}}}|[[Category:Characters with Known English Voice Actor]]|[[Category:Characters without Known English Voice Actor]]}}<!-- | |||
-->{{#if:{{{vaCN|}}}|[[Category:Characters with Known Chinese Voice Actor]]|[[Category:Characters without Known Chinese Voice Actor]]}}<!-- | |||
-->{{#if:{{{vaJP|}}}|[[Category:Characters with Known Japanese Voice Actor]]|[[Category:Characters without Known Japanese Voice Actor]]}}<!-- | |||
-->{{#if:{{{vaKR|}}}|[[Category:Characters with Known Korean Voice Actor]]|[[Category:Characters without Known Korean Voice Actor]]}}<!-- | |||
-->{{#if:{{{vaEN|}}}{{{vaCN|}}}{{{vaJP|}}}{{{vaKR|}}}|[[Category:Characters with Known Voice Actors]]|[[Category:Characters without Known Voice Actors]]}}<!-- | |||
-->}}<!-- | |||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||
Revision as of 16:00, 29 August 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Syntax
{{Character Infobox
|id =
<!-- Basic Info -->
|name =
|title =
|title2 =
|image =
|type =
|rarity =
|animasterType =
|animasterType2 =
|otherNames =
|species =
|faction =
|relatives =
<!-- Voice Actors -->
|vaEN =
|vaCN =
|vaJP =
|vaKR =
}}
Example
Armand
{{Character Infobox
|id =
<!-- Basic Info -->
|name = Armand
|title = The 8th Sovereign
|title2 = The 17th Novarch
|image = Armand Character Splash Art.png
|type = Upcoming Kardia
|rarity = 5
|animasterType = Sovereign
|animasterType2 = Novarch
|otherNames =
|species =
|faction =
|relatives =
<!-- Voice Actors -->
|vaEN = Some EN VA
|vaCN = Some CN VA
|vaJP = Some JP VA
|vaKR = Some KR VA
}}
Template Data
Infobox used to display information about a character.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id | Character's ID (if playable) | Number | optional |
| Name | name | Character's name
| String | optional |
| Title | title | Character's main title (if applicable) | String | suggested |
| Second Title | title2 | Character's secondary title (if applicable) | String | optional |
| Image | image | Character's image(s) | Content | required |
| Type | type | Character's type
| String | required |
| Rarity | rarity | Animaster's rarity
| Number | optional |
| Animaster Type | animasterType | Animaster type (if applicable)
| String | optional |
| Second Animaster Type | animasterType2 | Secondary Animaster type (if applicable)
| String | optional |
| Other Names | otherNames | Character's other names or aliases (if applicable) | String | optional |
| Species | species | Character's known species
| String | optional |
| Faction | faction | Factions related to character
| String | optional |
| Relatives | relatives | Character's relatives (if applicable) | String | optional |
| English VA | vaEN | Character's English VA | String | required |
| Chinese VA | vaCN | Character's Chinese VA | String | required |
| Japanese VA | vaJP | Character's Japanese VA | String | required |
| Korean VA | vaKR | Character's Korean VA | String | required |