Difference between revisions of "Template:Character"
(Rewrite implemented from Template:CharacterTest) |
|||
Line 6: | Line 6: | ||
<tr> | <tr> | ||
<th colspan="2" width="100%" style="background-color:#{{Guildheader|{{{Affiliation}}}}}; color:white; font-size:110%; vertical-align:middle" text-align="center"> | <th colspan="2" width="100%" style="background-color:#{{Guildheader|{{{Affiliation}}}}}; color:white; font-size:110%; vertical-align:middle" text-align="center"> | ||
− | <p style="margin:0">{{{Shortname|{{ | + | <p style="margin:0">{{{Shortname|{{BASEPAGENAME}}}}}</p><!--Header bar, BG color defined by corresponding entries in Template:Guildheader--> |
</th> | </th> | ||
</tr> | </tr> | ||
Line 19: | Line 19: | ||
<tr> | <tr> | ||
<td colspan="2" align="center"> | <td colspan="2" align="center"> | ||
− | <p style="margin:0">[[File:{{{Image| | + | <p style="margin:0">[[File:{{{Image|BASEPAGENAME}}}.png|300px]]</p> |
</td> | </td> | ||
</tr> | </tr> |
Revision as of 19:30, 8 July 2013
Character |
|||||
---|---|---|---|---|---|
|
|||||
Affiliation | None | ||||
Role | Unknown | ||||
Usual Location | Unknown | ||||
Species | Unknown | ||||
Gender | Unknown | ||||
Age | Unknown | ||||
Trait | Unknown | ||||
Nature | Unknown | ||||
|
|||||
|
Documentation for Character
The Character infobox template is used to display vital stats of characters.Current version derived from Template:Locations, Template:Groupevents and the old version of this template.
New content suggested by User:MissFluffyKitty. Layout improved by User:Eevee.
Usage
Copy the codes from this section, or the empty form below to the page to implement the infobox, and set each attributes as desired. Leave unknown attributes empty.
Entries marked with * are fully optional and will not show as a line on the infobox if left empty or removed from this code.
Check Template:Guildheader for further information regarding affiliations.
{{Character | Shortname = (If unset, defaults to pagename) | Title = * (Similar to Role, e.g. Head of Tao Merchant's Guild for PK. Use as needed) | Noimage = * (If set, no image will show in the infobox) | Image = (If unset, uses basepagename) (is overridden by Noimage) | fullname = * (e.g. Payapa Kiwi Periy for PK) | Affiliation = (Shows None if unset, see Template:Guildheader for current ones, determines BG color of the first row, and additional category for Rescuers, Merchants, and Rogues) | AffiliationLink = * (Wikiword link of the affiliation of the character, no link if unset) | Role = (Shows Unknown if unset) | Location = (Shows Unknown if unset, automatically hotlinked by default) | LocationNoLink = * (If set, Location would not be hotlinked) | LocationSpecific = * (Shows "Location" instead of "Usual Location" if set) | Species = (Shows Unknown if unset -- Automatic hyperlink to veekun, leave empty if unknown) | Gender = (Shows Unknown if unset) | Age = (Shows Unknown if unset) | Alias = * | NoMoveset = * (No moveset section if set) | Move1 = (Moves default to None, automatic hyperlink to veekun, set NoMoveset if unavailable) | Move2 = | Move3 = | Move4 = | Trait = (Shows Unknown if unset) | Nature = (Shows Unknown if unset) | Stories = * (Stories related to this character) | Links = * (Other points of interest) }}
Example
PK |
|||||
---|---|---|---|---|---|
Head of Tao Merchant's Guild |
|||||
|
|||||
Full Name | Payapa Kiwi Periy | ||||
Affiliation | Merchants | ||||
Role | Guild Head | ||||
Location | Tao Village (Past) | ||||
Species | Template:Species | ||||
Gender | Female | ||||
Age | Young Adult | ||||
Trait | Likes to thrash about | ||||
Nature | Sassy | ||||
|
|||||
Related Stories | Complementaries Resignation A Deal The Illusion The Dates The Question Event 6 suckers Scars and Regrets |
||||
Links | The Periy Family PK's Interview |
||||
|
|||||
|
This example uses Template:CharacterTest, developmental version of this template without automatic categorization by guild.
The following code would produce the infobox to the right on a normal page:
{{Character | Shortname = PK | Title = Head of Tao Merchant's Guild | Noimage = | Image = PK | fullname = Payapa Kiwi Periy | Affiliation = Merchants | AffiliationLink = Merchants | Role = Guild Head | Age = Young Adult | Species = Kecleon | Location = Tao Village (Past) | LocationNoLink = | LocationSpecific = 1 | Gender = Female | Move1 = Shadow Sneak | Move2 = Sucker Punch | Move3 = Substitute | Move4 = Dizzy Punch | Trait = Likes to thrash about | Nature = Sassy | Stories = [[Complementaries]]<br>[[Resignation Chapter 1|Resignation]]<br>[[A Deal]]<br>[[The Illusion]]<br>[[The Dates]]<br>[[The Question]]<br>[[Event 6 suckers]]<br>[[Scars and Regrets]] | Links = [[The Periy Family]]<br>[[PK's Interview]] }}
Empty Template Form
{{Character | Shortname = | Title = | Noimage = | Image = | fullname = | Affiliation = | AffiliationLink = | Role = | Location = | LocationNoLink = | LocationSpecific = | Species = | Gender = | Age = | Alias = | NoMoveset = | Move1 = | Move2 = | Move3 = | Move4 = | Trait = | Nature = | Stories = | Links = }}
- This documentation is transcluded from Template:Character/doc.