Template:Infobox character: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox-wrapper">
<div class="container">
<div class="toc-container">__TOC__</div>
<div class="infobox-wrapper box-style">
   <div class="content">
   <div class="content">
     <div class="bio-info">
     <div class="bio-info">
Line 5: Line 7:
       {{{bio|<p>Character Description Here</p>}}}
       {{{bio|<p>Character Description Here</p>}}}
     </div>
     </div>
    <hr/>
     <div class="blessings top-dot">
     <div class="blessings">
       <h2>{{{blessings|}}} Blessings</h2>
       <h2>Blessings</h2>
       <div style="display: flex; flex-wrap: wrap; justify-content: center">
       <div style="display: flex; flex-wrap: wrap; justify-content: center">
         <div style="margin: 0 10px">
         <div style="margin: 0 10px">
           [[File:{{{blessing 1|Empty Blessing}}}_1r.png|center|100x100px|link={{{blessing 1|}}}]]<br />[[{{{blessing 1|}}}]]
           [[File:{{{blessing 1|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 1|}}}]]{{#if: {{{blessing 1|}}}|[[{{{blessing 1|}}}]]|}}
         </div>
         </div>
         <div style="margin: 0 10px">
         <div style="margin: 0 10px">
           [[File:{{{blessing 2|Empty Blessing}}}_1r.png|center|100x100px|link={{{blessing 2|}}}]]<br />[[{{{blessing 1|}}}]]
           [[File:{{{blessing 2|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 2|}}}]]{{#if: {{{blessing 2|}}}|[[{{{blessing 2|}}}]]|}}
         </div>
         </div>
         <div style="margin: 0 10px">
         <div style="margin: 0 10px">
           [[File:{{{blessing 3|Empty Blessing}}}_1r.png|center|100x100px|link={{{blessing 3|}}}]]<br />[[{{{blessing 1|}}}]]
           [[File:{{{blessing 3|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 3|}}}]]{{#if: {{{blessing 3|}}}|[[{{{blessing 3|}}}]]|}}
         </div>
         </div>
         <div style="margin: 0 10px">
         <div style="margin: 0 10px">
           [[File:{{{blessing 4|Empty Blessing}}}_1r.png|center|100x100px|link={{{blessing 4|}}}]]<br />[[{{{blessing 1|}}}]]
           [[File:{{{blessing 4|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 4|}}}]]{{#if: {{{blessing 4|}}}|[[{{{blessing 4|}}}]]|}}
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>
   <div class="infobox-content">
   <div>
     <div class="char-info">
     <div class="char-info">
       <h2>{{{name|Name}}}</h2>
       <h2>{{{name|Name}}}</h2>


       <div class="charWithType">
       <div class="charWithType">
         [[File:{{{name|}}}_1r.png|center|link={{{name|}}}]]
         [[File:{{{name|}}}_1r.png|center|150x150px|link={{{name|}}}]]
         [[File:{{{type|}}}.png|center|class=type|link={{{name|}}}]]
         {{#if: {{{type|}}}|[[File:{{{type|}}}.png|center|40x40px|class=type|link={{{name|}}}]]|}}
         [[File:{{{rarity|}}}.png|center|class=rarity|link={{{name|}}}]]
         {{#if: {{{rarity|}}}|[[File:{{{rarity|}}}.png|center|40x40px|class=rarity|link={{{name|}}}]]|}}
       </div>
       </div>


       <p>
       <p>
         <u>'''Title:'''</u><br />{{{title|}}}<br />
        <hr />
         <u>'''Race:'''</u><br />{{{race|}}}<br />
         <u>'''Title:'''</u><br />{{{title|}}}<hr />
         <u>'''Occupation:'''</u><br />{{{occupation|}}}<br />
         <u>'''Race:'''</u><br />{{{race|}}}<hr />
         {{#if: {{{occupation|}}}|<u>'''Occupation:'''</u><br />{{{occupation|}}}<hr />|}}
       </p>
       </p>
     </div>
     </div>
   </div>
   </div>
</div>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"bio": {
"label": "Bio",
"description": "The bio for this character.",
"type": "string",
"required": true
},
"blessings": {
"label": "Blessing (Optional)",
"description": "Word which shows before the \"Blessings\" text below the bio.",
"example": "Family/Fellow",
"type": "string",
"suggestedvalues": [
"Family",
"Fellow"
]
},
"blessing 1": {
"label": "Blessing 1 (Optional)",
"description": "The first blessings character name.",
"example": "Sadako",
"type": "string"
},
"blessing 2": {
"label": "Blessing 2 (Optional)",
"description": "The second blessings character name.",
"example": "Lina",
"type": "string"
},
"blessing 3": {
"label": "Blessing 3 (Optional)",
"description": "The third blessings character name.",
"type": "string"
},
"blessing 4": {
"label": "Blessing 4 (Optional)",
"description": "The fourth blessings character name.",
"type": "string"
},
"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 characters type.",
"example": "Diligent",
"type": "string",
"suggestedvalues": [
"Diligent",
"Informed",
"Inspiring",
"Brave",
"Unfettered"
]
},
"rarity": {
"label": "Rarity",
"description": "The characters rarity.",
"example": "UR/SSR/SR/R/N",
"type": "string",
"suggestedvalues": [
"UR",
"SSR",
"SR",
"R",
"N"
],
"required": true
},
"title": {
"label": "Title",
"description": "The characters title.",
"type": "string",
"required": true
},
"race": {
"label": "Race",
"description": "The characters race.",
"type": "string",
"required": true
},
"occupation": {
"label": "Occupation (Optional) [Fellows Only]",
"description": "The characters occupation.",
"type": "string"
}
},
"description": "Info box for characters",
"paramOrder": [
"name",
"title",
"race",
"occupation",
"bio",
"type",
"rarity",
"blessings",
"blessing 1",
"blessing 2",
"blessing 3",
"blessing 4"
]
}
</templatedata>
</noinclude>

Latest revision as of 16:17, 14 October 2023

Bio - Information

Character Description Here

Blessings

Name


Title:

Race:

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 characters title.

Stringrequired
Racerace

The characters race.

Stringrequired
Occupation (Optional) [Fellows Only]occupation

The characters occupation.

Stringoptional
Biobio

The bio for this character.

Stringrequired
Type (Optional) [Fellows Only]type

The characters type.

Suggested values
Diligent Informed Inspiring Brave Unfettered
Example
Diligent
Stringoptional
Rarityrarity

The characters rarity.

Suggested values
UR SSR SR R N
Example
UR/SSR/SR/R/N
Stringrequired
Blessing (Optional)blessings

Word which shows before the "Blessings" text below the bio.

Suggested values
Family Fellow
Example
Family/Fellow
Stringoptional
Blessing 1 (Optional)blessing 1

The first blessings character name.

Example
Sadako
Stringoptional
Blessing 2 (Optional)blessing 2

The second blessings character name.

Example
Lina
Stringoptional
Blessing 3 (Optional)blessing 3

The third blessings character name.

Stringoptional
Blessing 4 (Optional)blessing 4

The fourth blessings character name.

Stringoptional