Difference between revisions of "Template:Infobox Character"
FelliSpirit (talk | contribs) (Closing-tag issue which broke the box if the non-required data "image" was left empty.) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<onlyinclude><div class="infobox"> | <onlyinclude><div class="infobox"> | ||
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
− | <div class="infobox-image"> | + | <div class="infobox-image">{{{image}}}</div>}} |
<table><tr> | <table><tr> | ||
<td align="center">'''Previous'''</br>{{{prev}}}</td> | <td align="center">'''Previous'''</br>{{{prev}}}</td> | ||
<td align="center">'''Next'''</br>{{{next}}}</td> | <td align="center">'''Next'''</br>{{{next}}}</td> | ||
+ | </tr> | ||
<tr> | <tr> | ||
+ | <td align="center">'''Previous category'''</br>{{{prev_cat}}}</td> | ||
+ | <td align="center">'''Next category'''</br>{{{next_cat}}}</td> | ||
+ | </tr> | ||
<th colspan="2">Attributes</th> | <th colspan="2">Attributes</th> | ||
{{#if:{{{class|}}}|<tr> | {{#if:{{{class|}}}|<tr> | ||
Line 12: | Line 16: | ||
<td>{{{class}}}</td> | <td>{{{class}}}</td> | ||
</tr>}}<tr> | </tr>}}<tr> | ||
− | </tr> | + | </tr>{{#if:{{{gender|}}}|<tr> |
<td>'''Gender'''</td> | <td>'''Gender'''</td> | ||
<td>{{{gender}}}</td> | <td>{{{gender}}}</td> | ||
Line 110: | Line 114: | ||
"description": "The previous character on the list found on the Characters page", | "description": "The previous character on the list found on the Characters page", | ||
"example": "[[Yeon]]", | "example": "[[Yeon]]", | ||
− | "type": " | + | "type": "wiki-page-name", |
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 116: | Line 120: | ||
"description": "The next character on the list found on the Characters page", | "description": "The next character on the list found on the Characters page", | ||
"example": "[[Alina]]", | "example": "[[Alina]]", | ||
− | "type": " | + | "type": "wiki-page-name", |
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 173: | Line 177: | ||
"example": "Bedroom", | "example": "Bedroom", | ||
"type": "string" | "type": "string" | ||
+ | }, | ||
+ | "prev_cat": { | ||
+ | "description": "The Previous Category", | ||
+ | "example": "[[Category:Harem Girls]]", | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "next_cat": { | ||
+ | "description": "The next Category", | ||
+ | "example": "[[Category:Harem Girls]]", | ||
+ | "type": "wiki-page-name" | ||
} | } | ||
}, | }, |
Latest revision as of 14:41, 9 May 2020
Previous {{{prev}}} |
Next {{{next}}} |
Previous category {{{prev_cat}}} |
Next category {{{next_cat}}} |
Attributes | |
---|---|
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:
Previous Doll |
Next Felix |
Previous category Shopkeepers |
Next category Maids |
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 Shrine | library at a table |
Click here to refresh the preview above
A template for a character
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the Character
| String | required |
Image | image | File:Name.Extension
| File | suggested |
Prev | prev | The previous character on the list found on the Characters page
| Page | suggested |
Next | next | The next character on the list found on the Characters page
| Page | suggested |
Class | class | The class of the party member(Leave empty if not a party member)
| String | optional |
Gender | gender | The gender of the character
| String | suggested |
Age | age | The age of the character
| Number | optional |
Hair color | hair color | The hair color of the character
| String | suggested |
Eye color | eye color | The eye color of the character
| String | suggested |
Manor | manor | The location the character can be found at the Northmarket Manor
| String | optional |
Condo | condo | The location the character can be found at the Eastfort Condo
| String | optional |
Wesmanor | wesmanor | The location the character can be found at the Westcastle Manor
| Unknown | optional |
Soumanor | soumanor | The location the character can be found at the Southport Manor
| String | optional |
Elf shrine | elf shrine | The location the character can be found at the Elf Shrine
| String | optional |
Prev_cat | prev_cat | The Previous Category
| Page | optional |
Next_cat | next_cat | The next Category
| Page | optional |