Difference between revisions of "Template:Character"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
 
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|{{BASEPAGENAME}}}}}</p><!--Header bar, BG color defined by corresponding entries in Template:Guildheader-->
+
<p style="margin:0">{{{Shortname|{{PAGENAME}}}}}</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|BASEPAGENAME}}}.png|300px]]</p>
+
<p style="margin:0">[[File:{{{Image|{{PAGENAME}}}}}.png|300px]]</p>
 
</td>
 
</td>
 
</tr>
 
</tr>

Latest revision as of 19:30, 8 July 2013

Character

300px


Affiliation None
Role Unknown
Usual Location Unknown
Species Unknown
Gender Unknown
Age Unknown
Trait Unknown
Nature Unknown

Move 1: None

Move 2: None

Move 3: None

Move 4: None

Template:Clr

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

PK.png


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

Move 1: Template:Move

Move 2: Template:Move

Move 3: Template:Move

Move 4: Template:Move

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 = 
}}
Icon Blaine.png This documentation is transcluded from Template:Character/doc.