Template:Infobox Character: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="container" style="float:right">
<div class="toc-container" style="float:left">__TOC__</div>
<div class="infobox-wrapper">
<div class="infobox-wrapper" style="float:right; width: 300px">
  <div>
     <div class="container">
     <div class="char-info">
        <div>
      <h2>{{{name|Name}}}</h2>
            <h2>{{{name|Name}}}</h2>
      <div>
            <div style="display: flex">
        [[File:{{{name|}}}_1r.png|left|200x200px]]
                <div style="flex-direction: column-reverse;">
        {{#if: {{{rarity|}}}[[File:{{{rarity}}}.png|right|40x40px]]|}}
                    {{#if: {{{rarity|}}}|[[File:{{{rarity}}}.png|left|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|left|40x40px]]|}}
        {{#if: {{{type|}}}|[[File:{{{type}}}.png|right|40x40px]]|}}
                </div>
      </div>
<!-- I'm sorry this following line isn't spaced properly, if I space it the alignment breaks -->
      <div>
                <div>{{#if: {{{name|}}}|[[File:{{{name|}}}_1r.png|center|140x140px]]|[[File:Empty Blessing_1r.png|140x140px]]}}</div>
        <hr style="clear:both;" />
            </div>
        <u>'''Title:'''</u><br />{{{title|}}}<hr />
            <div>
        <u>'''Race:'''</u><br />{{{race|}}}<hr />
                <hr style="clear: both" />
        {{#if: {{{occupation|}}}|<u>'''Occupation:'''</u><br />{{{occupation|}}}<hr />|}}
                <p>'''Title:''' {{{title|}}}</p>
      </div>
                <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>
  </div>
</div>
</div>
</div>
<noinclude>
<noinclude>
Line 32: 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 45: 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 60: 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 66: 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 72: 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 83: Line 99:
"occupation",
"occupation",
"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