Template:Character Infobox: Difference between revisions
Jump to navigation
Jump to search
m this should work |
This might work, idk |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><infobox> | <includeonly><infobox theme-source="name"> | ||
<title source="name"> | <title source="name"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
| Line 12: | Line 12: | ||
<label>Type</label> | <label>Type</label> | ||
<format>{{#switch:{{{type}}} | <format>{{#switch:{{{type}}} | ||
|Playable | |Playable Eidos = [[Eidos|Playable Eidos]] | ||
|Upcoming | |Upcoming Eidos = [[Eidos|Upcoming Eidos]] | ||
|NPC = [[NPC]] | |NPC = [[NPC]] | ||
|Mentioned Character = [[Mentioned Character]]<!-- | |Mentioned Character = [[Mentioned Character]]<!-- | ||
| Line 21: | Line 21: | ||
<label>Rarity</label> | <label>Rarity</label> | ||
<format>{{Icon/Stars|{{{rarity|}}}}}</format> | <format>{{Icon/Stars|{{{rarity|}}}}}</format> | ||
</data> | |||
<data source="aspect"> | |||
<label>Aspect</label> | |||
<format>{{Exists|{{{aspect}}}|{{{{{aspect}}}}}|{{{aspect}}}}}</format> | |||
</data> | </data> | ||
<data source="animasterType"> | <data source="animasterType"> | ||
| Line 131: | Line 135: | ||
Only Sort Playables | Only Sort Playables | ||
-->{{#switch:{{{type}}}<!-- | -->{{#switch:{{{type}}}<!-- | ||
-->|Playable | -->|Playable Eidos = {{#if:{{{id|}}}|[[Category:Playable Eidos|{{{id}}}]]|[[Category:Playable Eidos]][[Category:Character Missing ID]]}}<!-- | ||
-->|#default = <!-- | -->|#default = <!-- | ||
-->}}<!-- | -->}}<!-- | ||
Type | Type | ||
-->{{#switch:{{{type}}} | -->{{#switch:{{{type}}} | ||
|Playable | |Playable Eidos = [[Category:Playable Eidos]] | ||
|Upcoming | |Upcoming Eidos = [[Category:Upcoming Eidos]] | ||
|NPC = [[Category:NPCs]] | |NPC = [[Category:NPCs]] | ||
|Mentioned Character = [[Category:Mentioned Characters]]<!-- | |Mentioned Character = [[Category:Mentioned Characters]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Rarity | Rarity | ||
-->{{#switch:{{{rarity}}}|4|5=[[Category:{{{rarity}}}-Star | -->{{#switch:{{{rarity}}}|4|5=[[Category:{{{rarity}}}-Star Eidos]]}} | ||
{{#if:{{{rarity|}}}|[[Category: | {{#if:{{{rarity|}}}|[[Category:Eidos by Rarity|{{#switch:{{{rarity|}}} | ||
|4 = 0 | |4 = 0 | ||
|5 = 1 | |5 = 1 | ||
|#default = 2 | |#default = 2 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
Aspect | |||
-->{{#if:{{{aspect|}}}|[[Category:{{{aspect}}} Eidos]][[Category:Eidos by Aspect|{{{aspect}}}]]}}<!-- | |||
Animaster Type | Animaster Type | ||
-->{{#switch:{{{animasterType}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType}}} Animasters]]}}<!-- | -->{{#switch:{{{animasterType}}}|Sovereign|Novarch|Other=[[Category:{{{animasterType}}} Animasters]]}}<!-- | ||
Latest revision as of 08:38, 14 July 2026
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 |