Difference between revisions of "Template:Character/doc"
(Document updated for the new changes) |
|||
Line 1: | Line 1: | ||
The '''Character''' infobox template is used to display vital stats of characters. | The '''Character''' infobox template is used to display vital stats of characters. | ||
+ | |||
+ | Current version derived from [[Template:Locations]], [[Template:Groupevents]] and [http://papayakitty.com/w/index.php?title=Template:Character&oldid=981 the old version of this template]. | ||
== Usage == | == 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. | ||
+ | <pre style="overflow:auto"> | ||
+ | {{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) | ||
+ | }} | ||
+ | </pre> | ||
− | + | == Example == | |
+ | {{CharacterTest | ||
+ | | 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]] | ||
+ | }} | ||
+ | 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: | |
− | ( | + | <pre style="overflow:auto"> |
+ | {{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]] | ||
+ | }} | ||
+ | </pre> | ||
− | + | ==Empty Template Form== | |
− | <pre> | + | <pre style="overflow:auto"> |
{{Character | {{Character | ||
− | | Shortname = | + | | Shortname = |
− | | Noimage = | + | | Title = |
− | | Image = | + | | Noimage = |
− | | fullname = | + | | Image = |
− | | Affiliation = | + | | fullname = |
+ | | Affiliation = | ||
+ | | AffiliationLink = | ||
| Role = | | Role = | ||
| Location = | | Location = | ||
− | | Species = | + | | LocationNoLink = |
− | | Gender = | + | | LocationSpecific = |
− | | Age = | + | | Species = |
− | | Alias = | + | | Gender = |
+ | | Age = | ||
+ | | Alias = | ||
+ | | NoMoveset = | ||
| Move1 = | | Move1 = | ||
| Move2 = | | Move2 = | ||
Line 29: | Line 118: | ||
| Trait = | | Trait = | ||
| Nature = | | Nature = | ||
+ | | Stories = | ||
+ | | Links = | ||
}} | }} | ||
</pre> | </pre> |
Revision as of 20:03, 8 July 2013
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.
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 = }}