Template:Infobox Character: Difference between revisions
m (Experimenting with formatting) |
m (Experimenting with formatting) |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<h2>{{{name|Name}}}</h2> | <h2>{{{name|Name}}}</h2> | ||
<div style="display: flex"> | <div style="display: flex"> | ||
<div style="flex-direction: column-reverse;">{{#if: {{{ | <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>{{#if: {{{name|}}}|[[File:{{{name|}}}_1r.png|center|140x140px]]|[[File:Empty Blessing_1r.png|140x140px]]}}</div> | ||
</div> | </div> | ||
<div> | <div> | ||
<hr style="clear: both" /> | <hr style="clear: both" /> | ||
<p>'''Title:''' {{{title|}}} | <p>'''Title:''' {{{title|}}}</p> | ||
'''Race:''' {{{race|}}} | <p>'''Race:''' {{{race|}}}</p> | ||
{{#if: {{{occupation|}}}|'''Occupation:''' {{{occupation}}}|}} | {{#if: {{{occupation|}}}|<p>'''Occupation:''' {{{occupation}}}</p>|}} | ||
<hr style="clear: both" /> | <hr style="clear: both" /> | ||
'''Rarity:''' {{{rarity|}}} | <p>'''Rarity:''' {{{rarity|}}}</p> | ||
{{#if: {{{type|}}}|'''Type:''' {{{type}}}</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> | ||
| Line 44: | 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", | |||
"SSR+ to UR", | |||
"SR to SSR to UR" | |||
], | |||
"required": true | |||
}, | }, | ||
"rarity": { | "rarity": { | ||
| Line 95: | Line 114: | ||
"occupation", | "occupation", | ||
"type", | "type", | ||
"rarityIcon", | |||
"rarity", | "rarity", | ||
"bondGroup", | "bondGroup", | ||
Latest revision as of 08:21, 18 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 |