Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
(Nuguette moved page Template:Infobox character to Template:Infobox character (DEPRECATED): Deprecating template to be replaced with new Infobox Character template) Tag: New redirect |
mNo edit summary |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
# | <div class="toc-container" style="float:left">__TOC__</div> | ||
<div class="infobox-wrapper" style="float:right; width: 300px"> | |||
<div class="container"> | |||
<div> | |||
<h2>{{{name|Name}}}</h2> | |||
<div style="display: flex"> | |||
<div style="flex-direction: column-reverse;"> | |||
{{#if: {{{rarity|}}}|[[File:{{{rarity}}}.png|left|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|left|40x40px]]|}} | |||
</div> | |||
<!-- I'm sorry this following line isn't spaced properly, if I space it the alignment breaks --> | |||
<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> | |||
<p>'''Type:''' {{{type|}}}</p> | |||
{{#if: {{{bondGroup|}}}|<p>'''Bond:''' [[{{{bondGroup}}}]]</p>|}} | |||
{{#if: {{{voiceActor|}}}|<p>'''Voice Actor:''' {{{voiceActor}}}</p>|}} | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "The name of the character, this is used in the label / image url.", | |||
"example": "Jewlry", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"type": { | |||
"label": "Type (Optional) [Fellows Only]", | |||
"description": "The character's type.", | |||
"example": "Diligent", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Diligent", | |||
"Informed", | |||
"Inspiring", | |||
"Brave", | |||
"Unfettered" | |||
] | |||
}, | |||
"rarity": { | |||
"label": "Rarity", | |||
"description": "The character's rarity.", | |||
"example": "UR/SSR/SSR+/SR/R/N", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"UR", | |||
"SSR", | |||
"SSR+", | |||
"SR", | |||
"R", | |||
"N" | |||
], | |||
"required": true | |||
}, | |||
"title": { | |||
"label": "Title", | |||
"description": "The character's title.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"description": "The character's race.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"occupation": { | |||
"label": "Occupation (Optional) [Fellows Only]", | |||
"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" | |||
} | |||
}, | |||
"description": "Info box for characters", | |||
"paramOrder": [ | |||
"name", | |||
"title", | |||
"race", | |||
"occupation", | |||
"type", | |||
"rarity", | |||
"bondGroup", | |||
"voiceActor" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 11:21, 6 April 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 | 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 |