Difference between revisions of "Template:CharacterTest"

From Pokemon Dungeon Explorers
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
</th>
 
</th>
 
</tr>
 
</tr>
{{#if:{{{Titles|}}}|<!--Title of the character, optional feature for a quick idea of the character's purpose-->
+
{{#if:{{{Title|}}}|<!--Title of the character, optional feature for a quick idea of the character's purpose-->
 +
<tr>
 
<th colspan="2" width="100%" style="color:black;background-color:#DCDCDC;font-size:110%" vertical-align= "middle" text-align="center">
 
<th colspan="2" width="100%" style="color:black;background-color:#DCDCDC;font-size:110%" vertical-align= "middle" text-align="center">
 
<p style="margin:0">{{{Title|}}}</p>
 
<p style="margin:0">{{{Title|}}}</p>
 
</th>
 
</th>
 +
</tr>
 
}}
 
}}
 
{{#if:{{{Noimage|}}}||<!--Official art here-->
 
{{#if:{{{Noimage|}}}||<!--Official art here-->
 
<tr>
 
<tr>
 
<td colspan="2" align="center">
 
<td colspan="2" align="center">
<p style="margin:0">[[File:{{{Image|PAGENAME}}}.png|300px]]</p>
+
<p style="margin:0">[[File:{{{Image|{{PAGENAME}}}}}.png|300px]]</p>
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 132: Line 134:
 
<td style="padding-right:1em"><b>Age</b></td>
 
<td style="padding-right:1em"><b>Age</b></td>
 
<td>Unknown
 
<td>Unknown
</td>
 
</tr>
 
}}
 
{{#if:{{{NoMoveset|}}}|| <!--Moveset table, uses Template:Move-->
 
<tr>
 
<td align="center" colspan="2">
 
<table style="border-collapse:collapse">
 
<tr>
 
<td style="border-right: 1px solid #aaa;border-bottom: 1px solid #aaa;width:150px">
 
{{#if:{{{Move1|}}}|
 
<p style="margin:2px">Move 1: {{Move|{{{Move1|}}}}}</p>|
 
<p style="margin:2px">Move 1: None</p>|
 
}}
 
</td>
 
<td style="border-left: 1px solid #aaa;border-bottom: 1px solid #aaa;width:150px">
 
{{#if:{{{Move1|}}}|
 
<p style="margin:2px">Move 2: {{Move|{{{Move2|}}}}}</p>|
 
<p style="margin:2px">Move 2: None</p>|
 
}}
 
</td>
 
</tr>
 
<tr>
 
<td style="border-right: 1px solid #aaa;border-top: 1px solid #aaa;width:150px">
 
{{#if:{{{Move1|}}}|
 
<p style="margin:2px">Move 2: {{Move|{{{Move2|}}}}}</p>|
 
<p style="margin:2px">Move 2: None</p>|
 
}}
 
</td>
 
<td style="border-left: 1px solid #aaa;border-top: 1px solid #aaa;width:150px">
 
{{#if:{{{Move1|}}}|
 
<p style="margin:2px">Move 2: {{Move|{{{Move2|}}}}}</p>|
 
<p style="margin:2px">Move 2: None</p>|
 
}}
 
</td>
 
</tr>
 
</table>
 
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 219: Line 185:
 
<td style="padding-right:1em"><b>Links</b></td>
 
<td style="padding-right:1em"><b>Links</b></td>
 
<td>{{{Links}}}
 
<td>{{{Links}}}
 +
</td>
 +
</tr>
 +
}}
 +
{{#if:{{{NoMoveset|}}}|| <!--Moveset table, uses Template:Move-->
 +
<tr>
 +
<td colspan="2">
 +
<hr>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td align="center" colspan="2">
 +
<table style="border-collapse:collapse">
 +
<tr>
 +
<td style="<!--border-right: 1px solid #aaa;border-bottom: 1px solid #aaa;-->width:150px">
 +
{{#if:{{{Move1|}}}|
 +
<p style="margin:2px">Move 1: {{Move|{{{Move1|}}}}}</p>|
 +
<p style="margin:2px">Move 1: None</p>|
 +
}}
 +
</td>
 +
<td style="<!--border-left: 1px solid #aaa;border-bottom: 1px solid #aaa;-->width:150px">
 +
{{#if:{{{Move1|}}}|
 +
<p style="margin:2px">Move 2: {{Move|{{{Move2|}}}}}</p>|
 +
<p style="margin:2px">Move 2: None</p>|
 +
}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td style="<!--border-right: 1px solid #aaa;border-top: 1px solid #aaa;-->width:150px">
 +
{{#if:{{{Move1|}}}|
 +
<p style="margin:2px">Move 3: {{Move|{{{Move3|}}}}}</p>|
 +
<p style="margin:2px">Move 3: None</p>|
 +
}}
 +
</td>
 +
<td style="<!--border-left: 1px solid #aaa;border-top: 1px solid #aaa;-->width:150px">
 +
{{#if:{{{Move1|}}}|
 +
<p style="margin:2px">Move 4: {{Move|{{{Move4|}}}}}</p>|
 +
<p style="margin:2px">Move 4: None</p>|
 +
}}
 +
</td>
 +
</tr>
 +
</table>
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 226: Line 233:
 
{{clr}}
 
{{clr}}
 
==Temporary Documentation==
 
==Temporary Documentation==
Derived from [[Template:Locations]], [[Template:Groupevents]] and the old [[Template:Character]]
+
Derived from [[Template:Locations]], [[Template:Groupevents]] and the old [[Template:Character]].
No autocategorization for now, pending full integration into the main template
+
 
 +
Backward compatible with the old [[Template:Character]].
 +
 
 +
Developmental version of [[Template:Character]] without auto-categorization.
  
 
Current functions:
 
Current functions:

Latest revision as of 00:22, 9 July 2013

CharacterTest

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

Temporary Documentation

Derived from Template:Locations, Template:Groupevents and the old Template:Character.

Backward compatible with the old Template:Character.

Developmental version of Template:Character without auto-categorization.

Current functions:

{{CharacterTest
 | 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)
}}