Template:Infobox Character: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="container" style="float:left">
<!-- I'm sorry much of the code isn't spaced properly, if I space it the alignment breaks -->
<div class="infobox-wrapper">
<div class="toc-container" style="float:left">__TOC__</div>
  <div>
<div class="infobox-wrapper" style="float:right; width: 300px">
     <div class="char-info">
     <div class="container">
      <h2>{{{name|Name}}}</h2>
        <div>
      <div>
            <h2>{{{name|Name}}}</h2>
        [[File:{{{name|}}}_1r.png|left|150x150px]]
            <div style="display: flex">
        {{#if: {{{rarity|}}}[[File:{{{rarity}}}.png|right|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|right|40x40px]]|}}
                <div style="flex-direction: column-reverse;">
      </div>
                    {{#if: {{{rarity|}}}|[[File:{{{rarity}}}.png|left|40x40px]]|}} {{#if: {{{type|}}}|[[File:{{{type}}}.png|left|40x40px]]|}}
      <div>
                </div>
        <hr style="clear:both;"/>
                <div>{{#if: {{{name|}}}|[[File:{{{name|}}}_1r.png|center|140x140px]]|[[File:Empty Blessing_1r.png|140x140px]]}}</div>
        <p>'''Title:''' {{{title|}}}</p>
            </div>
        <p>'''Race:''' {{{race|}}}</p>
            <div>
        {{#if: {{{occupation|}}}|<p>'''Occupation:''' {{{occupation|}}}</p>|}}
                <hr style="clear: both" />
      </div>
                <p>'''Title:''' {{{title|}}}</p>
                <p>'''Race:''' {{{race|}}}</p>
                {{#if: {{{occupation|}}}|<p>'''Occupation:''' {{{occupation}}}</p>|}}
                <hr style="clear: both" />
                <p>'''Rarity:''' {{{rarity|}}}</p>
                {{#if: {{{type|}}}|<p>'''Type:''' {{{type}}}</p><br/>|}}{{#if: {{{bondGroup|}}}|<p>'''Bond:''' [[{{{bondGroup}}}]]</p><br/>|}}{{#if: {{{voiceActor|}}}|<hr style="clear: both" /><p>'''Voice Actor:''' {{{voiceActor}}}</p>|}}
            </div>
        </div>
     </div>
     </div>
  </div>
</div>
</div>
</div>
<noinclude>
<noinclude>
Line 22: Line 27:
{
{
"params": {
"params": {
"bio": {
"label": "Bio",
"description": "The bio for this character.",
"type": "string",
"required": true
},
"name": {
"name": {
"label": "Name",
"label": "Name",
Line 37: Line 36:
"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 50: Line 49:
"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 65: Line 64:
"title": {
"title": {
"label": "Title",
"label": "Title",
"description": "The characters title.",
"description": "The character's title.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 71: Line 70:
"race": {
"race": {
"label": "Race",
"label": "Race",
"description": "The characters race.",
"description": "The character's race.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 77: Line 76:
"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 87: Line 96:
"race",
"race",
"occupation",
"occupation",
"bio",
"type",
"type",
"rarity"
"rarity",
"bondGroup",
"voiceActor"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
contributors, Interface administrators, uploadaccess
1,644

edits

Navigation menu