Difference between revisions of "Template:Infobox Character"

From Bad Kitty Games Wiki
Jump to navigation Jump to search
m (1 revision imported)
Line 1: Line 1:
<infobox theme="whiviolet">
+
 
<title source="name"><default>{{PAGENAME}}</default></title>
+
<onlyinclude><div class="infobox">
<group layout="horizontal">
+
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<data source="prev"><label>'''Previous'''</label></data>
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>
<data source="next"><label>'''Next'''</label></data>
+
<table><tr>
     </group>
+
    <td>'''Previous'''</br>{{{prev}}}</td>
<group layout="horizontal" collapse="closed">
+
    <td>'''Next'''</br>{{{next}}}</td>
        <header>Other groups</header>
+
     <tr>
        <data source="prev_cat"><label>'''Category'''</label></data>
+
    <th colspan="2">Attributes</th>
        <data source="next_cat"><label>'''Category'''</label></data>
+
    {{#if:{{{class|}}}|<tr>
     </group>
+
    <td>'''Class'''</td>
<image source="image"/>
+
    <td>{{{class}}}</td>
     <group>
+
     </tr>}}<tr>
<header>Attributes</header>
+
     </tr>}}{{#if:{{{gender|}}}|<tr>
<data source="class"><label>'''Class'''</label></data>
+
    <td>'''Gender'''</td>
<data source="gender"><label>'''Gender'''</label></data>
+
    <td>{{{gender}}}</td>
<data source="age"><label>'''Age'''</label></data>
+
    </tr>}}{{#if:{{{age|}}}|<tr>
<data source="hair color"><label>'''Hair Color'''</label></data>
+
    <td>'''Age'''</td>
<data source="eye color"><label>'''Eye Color'''</label></data>
+
    <td>{{{age}}}</td>
    </group>
+
    </tr>}}{{#if:{{{hair color|}}}|<tr>
     <group layout="horizontal" row-items="3">
+
    <td>'''Hair Color'''</td>
<header>Location</header>
+
    <td>{{{hair color}}}</td>
<data source="manor"><label>''Manor''</label></data>
+
    </tr>}}{{#if:{{{eye color|}}}|<tr>
<data source="condo"><label>''Condo''</label></data>
+
    <td>'''Eye Color'''</td>
<data source="wesmanor"><label>''Westcastle Manor''</label></data>
+
    <td>{{{eye color}}}</td>
<data source="soumanor"><label>''Southport Manor''</label></data>
+
</tr>}}
<data source="elf shrine"><label>''Elf Shrine''</label></data>
+
     <th colspan="2">'''Location'''</th>
<data source="earl estate"><label>''Earl Estate''</label></data>
+
    {{#if:{{{manor|}}}|<tr>
    </group>
+
    <td>'''Northmarket Manor'''</td>
 
+
    <td>{{{manor}}}</td>
</infobox>
+
    </tr>}}{{#if:{{{condo|}}}|<tr>
 +
    <td>'''Eastfort Condo'''</td>
 +
    <td>{{{condo}}}</td>
 +
    </tr>}}{{#if:{{{wesmanor|}}}|<tr>
 +
    <td>'''Westcastle Manor'''</td>
 +
    <td>{{{wesmanor}}}</td>
 +
    </tr>}}{{#if:{{{soumanor|}}}|<tr>
 +
    <td>'''Southport Manor'''</td>
 +
    <td>{{{soumanor}}}</td>
 +
    </tr>}}{{#if:{{{elf shrine|}}}|<tr>
 +
    <td>'''Elf Shrin'''</td>
 +
    <td>{{{elf shrine}}}
 +
}}</td>
 +
</table>
 +
</div></onlyinclude><noinclude>
 +
</noinclude>
 
<noinclude>
 
<noinclude>
 
== Usage & preview ==
 
== Usage & preview ==

Revision as of 02:15, 2 November 2019

Infobox Character
Location


Usage & preview

Type in this:

{{Infobox Character
|prev=[[Doll]]
|next=[[Felix]]
|prev_cat=[[Florine|Shopkeepers]]
|next_cat=[[Lilac|Maids]]
|image=ElaiyaNew.png
|spritesheet=
|class=Bounty Hunter
|age=27
|hair color=Turquoise 
|eye color=Orange
|manor=Servant's Quarters 
|condo=Main Floor
|wesmanor=2nd Floor near staircase
|elf shrine=library at a table
|soumanor=Slave Quarters
}}

to see this:

Infobox Character
ElaiyaNew.png
Previous
Doll
Next
Felix
Attributes
Class Bounty Hunter
Age 27
Hair Color Turquoise
Eye Color Orange
Location
Northmarket Manor Servant's Quarters
Eastfort Condo Main Floor
Westcastle Manor 2nd Floor near staircase
Southport Manor Slave Quarters
Elf Shrin library at a table


Click here to refresh the preview above