Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (36 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="container" style="float:left"> | <!-- I'm sorry much of the code isn't spaced properly, if I space it the alignment breaks --> | ||
<div class="infobox-wrapper" | <div class="toc-container" style="float:left">__TOC__</div> | ||
<div class="infobox-wrapper" style="float:right; width: 300px"> | |||
<div class=" | <div class="container"> | ||
<div> | |||
<h2>{{{name|Name}}}</h2> | |||
<div style="display: flex"> | |||
<div style="flex-direction: column-reverse;"> | |||
{{#if: {{{rarityIcon|}}}|[[File:{{{rarityIcon}}}.png|left|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|left|40x40px]]|}} | |||
</div> | |||
<div>{{#if: {{{name|}}}|[[File:{{{name|}}}_1r.png|center|140x140px]]|[[File:Empty Blessing_1r.png|140x140px]]}}</div> | |||
</div> | |||
<div> | |||
<hr style="clear: both" /> | |||
<p>'''Title:''' {{{title|}}}</p> | |||
<p>'''Race:''' {{{race|}}}</p> | |||
{{#if: {{{occupation|}}}|<p>'''Occupation:''' {{{occupation}}}</p>|}} | |||
<hr style="clear: both" /> | |||
<p>'''Rarity:''' {{{rarity|}}}</p> | |||
{{#if: {{{type|}}}|<p>'''Type:''' {{{type}}}</p>|}}{{#if: {{{bondGroup|}}}|<p>'''Bond:''' [[{{{bondGroup}}}]]</p>|}}{{#if: {{{voiceActor|}}}|<hr style="clear: both" /><p>'''Voice Actor:''' {{{voiceActor}}}</p>|}} | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
| Line 22: | Line 27: | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
| Line 37: | Line 36: | ||
"type": { | "type": { | ||
"label": "Type (Optional) [Fellows Only]", | "label": "Type (Optional) [Fellows Only]", | ||
"description": "The | "description": "The character's type.", | ||
"example": "Diligent", | "example": "Diligent", | ||
"type": "string", | "type": "string", | ||
| Line 47: | Line 46: | ||
"Unfettered" | "Unfettered" | ||
] | ] | ||
}, | |||
"rarityIcon": { | |||
"label": "Rarity Icon", | |||
"description": "The icon that will display - if no merged icon exists, select the highest potential rarity.", | |||
"example": "UR/SSR/SSR+/SR/R/N", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"UR", | |||
"SSR+", | |||
"SSR", | |||
"SR", | |||
"R", | |||
"N", | |||
"SR to SSR to UR", | |||
"SSR to SSR+ to UR", | |||
"SSR+ to UR" | |||
], | |||
"required": true | |||
}, | }, | ||
"rarity": { | "rarity": { | ||
"label": "Rarity", | "label": "Rarity", | ||
"description": "The | "description": "The character's rarity.", | ||
"example": "UR/SSR/SSR+/SR/R/N", | "example": "UR/SSR/SSR+/SR/R/N", | ||
"type": "string", | "type": "string", | ||
| Line 65: | Line 82: | ||
"title": { | "title": { | ||
"label": "Title", | "label": "Title", | ||
"description": "The | "description": "The character's title.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 71: | Line 88: | ||
"race": { | "race": { | ||
"label": "Race", | "label": "Race", | ||
"description": "The | "description": "The character's race.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 77: | Line 94: | ||
"occupation": { | "occupation": { | ||
"label": "Occupation (Optional) [Fellows Only]", | "label": "Occupation (Optional) [Fellows Only]", | ||
"description": "The | "description": "The character's occupation.", | ||
"type": "string" | |||
}, | |||
"bondGroup": { | |||
"label": "Bond Group (Optional) [Fellows Only]", | |||
"description": "The set a character is a part of", | |||
"type": "string" | |||
}, | |||
"voiceActor": { | |||
"label": "Voice Actor (Meta Info)", | |||
"description": "The voice actor for a character", | |||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 87: | Line 114: | ||
"race", | "race", | ||
"occupation", | "occupation", | ||
"type", | "type", | ||
"rarity" | "rarityIcon", | ||
"rarity", | |||
"bondGroup", | |||
"voiceActor" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 08:36, 20 June 2026
Info box for characters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the character, this is used in the label / image url.
| String | required |
| Title | title | The character's title. | String | required |
| Race | race | The character's race. | String | required |
| Occupation (Optional) [Fellows Only] | occupation | The character's occupation. | String | optional |
| Type (Optional) [Fellows Only] | type | The character's type.
| String | optional |
| Rarity Icon | rarityIcon | The icon that will display - if no merged icon exists, select the highest potential rarity.
| String | required |
| Rarity | rarity | The character's rarity.
| String | required |
| Bond Group (Optional) [Fellows Only] | bondGroup | The set a character is a part of | String | optional |
| Voice Actor (Meta Info) | voiceActor | The voice actor for a character | String | optional |