Template:Infobox Character: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Fixing alignment)
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox-wrapper">
<div class="toc-container" style="float:left">__TOC__</div>
<div class="infobox-wrapper" style="float:right; width: 300px">
     <div class="container">
     <div class="container">
         <div>
         <div>
             <h2>{{{name|Name}}}</h2>
             <h2>{{{name|Name}}}</h2>
             <div style="display: flex">
             <div style="display: flex">
                 <div>
                 <div style="flex-direction: column-reverse;">
                     {{#if: {{{rarity|}}}[[File:{{{rarity}}}.png|right|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|right|40x40px]]|}}
                     {{#if: {{{rarity|}}}|[[File:{{{rarity}}}.png|left|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|left|40x40px]]|}}
                 </div>
                 </div>
                 <div>{{#if: {{{name|}}}|[[File:{{{name|}}}_1r.png|140x140px]]|[[File:Empty Blessing_1r.png|140x140px]]}}</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>
             <div>
             <div>
Line 13: Line 15:
                 <p>'''Title:''' {{{title|}}}</p>
                 <p>'''Title:''' {{{title|}}}</p>
                 <p>'''Race:''' {{{race|}}}</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>
Line 21: Line 29:
{
{
"params": {
"params": {
"bio": {
"label": "Bio",
"description": "The bio for this character.",
"type": "string",
"required": true
},
"name": {
"name": {
"label": "Name",
"label": "Name",
Line 36: Line 38:
"type": {
"type": {
"label": "Type (Optional) [Fellows Only]",
"label": "Type (Optional) [Fellows Only]",
"description": "The characters type.",
"description": "The character's type.",
"example": "Diligent",
"example": "Diligent",
"type": "string",
"type": "string",
Line 49: Line 51:
"rarity": {
"rarity": {
"label": "Rarity",
"label": "Rarity",
"description": "The characters rarity.",
"description": "The character's rarity.",
"example": "UR/SSR/SSR+/SR/R/N",
"example": "UR/SSR/SSR+/SR/R/N",
"type": "string",
"type": "string",
Line 64: Line 66:
"title": {
"title": {
"label": "Title",
"label": "Title",
"description": "The characters title.",
"description": "The character's title.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 70: Line 72:
"race": {
"race": {
"label": "Race",
"label": "Race",
"description": "The characters race.",
"description": "The character's race.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 76: Line 78:
"occupation": {
"occupation": {
"label": "Occupation (Optional) [Fellows Only]",
"label": "Occupation (Optional) [Fellows Only]",
"description": "The characters occupation.",
"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 86: Line 98:
"race",
"race",
"occupation",
"occupation",
"bio",
"type",
"type",
"rarity"
"rarity",
"bondGroup",
"voiceActor"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 11:21, 6 April 2026

Name


Title:

Race:


Rarity:

Type:


Info box for characters

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the character, this is used in the label / image url.

Example
Jewlry
Stringrequired
Titletitle

The character's title.

Stringrequired
Racerace

The character's race.

Stringrequired
Occupation (Optional) [Fellows Only]occupation

The character's occupation.

Stringoptional
Type (Optional) [Fellows Only]type

The character's type.

Suggested values
Diligent Informed Inspiring Brave Unfettered
Example
Diligent
Stringoptional
Rarityrarity

The character's rarity.

Suggested values
UR SSR SSR+ SR R N
Example
UR/SSR/SSR+/SR/R/N
Stringrequired
Bond Group (Optional) [Fellows Only]bondGroup

The set a character is a part of

Stringoptional
Voice Actor (Meta Info)voiceActor

The voice actor for a character

Stringoptional