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
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
<div class="container">
<div class="infobox-wrapper">
<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">
       <h2> Bio - Information </h2>
       <h2>Bio - Information</h2>
       {{{bio|<p>Character Description Here</p>}}}
       {{{bio|<p>Character Description Here</p>}}}
     </div>
     </div>
 
     <div class="blessings top-dot">
    <hr> <!-- Horizontal line as a break -->
       <h2>{{{blessings|}}} Blessings</h2>
 
       <div style="display: flex; flex-wrap: wrap; justify-content: center">
     <div class="blessings">
         <div style="margin: 0 10px">
       <h2> Blessings </h2>
          [[File:{{{blessing 1|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 1|}}}]]{{#if: {{{blessing 1|}}}|[[{{{blessing 1|}}}]]|}}
       <div class="blessing-wrapper">
         <div>
          <div class="blessing">
            [[File:{{{blessing 1|Empty Blessing}}}_1r.png|center|link={{{blessing 1|}}}]]
          </div>
          [[blessing 1]]
         </div>
         </div>
         <div class="blessing">
         <div style="margin: 0 10px">
           [[File:{{{blessing 2|Empty Blessing}}}_1r.png|center|link={{{blessing 2|}}}]]<br/>[[blessing 2]]
           [[File:{{{blessing 2|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 2|}}}]]{{#if: {{{blessing 2|}}}|[[{{{blessing 2|}}}]]|}}
         </div>
         </div>
         <div class="blessing">
         <div style="margin: 0 10px">
           [[File:{{{blessing 3|Empty Blessing}}}_1r.png|center|link={{{blessing 3|}}}]]<br/>[[blessing 3]]
           [[File:{{{blessing 3|Empty Blessing}}}_1r.png|center|80x80px|link={{{blessing 3|}}}]]{{#if: {{{blessing 3|}}}|[[{{{blessing 3|}}}]]|}}
         </div>
         </div>
         <div class="blessing">
         <div style="margin: 0 10px">
           [[File:{{{blessing 4|Empty Blessing}}}_1r.png|center|link={{{blessing 4|}}}]]<br/>[[blessing 4]]
           [[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>
   <div class="infobox-content">
     <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