Jump to navigation
Jump to search
m (moved Template:PKRSE trainer to Template:Pokemon trainer: no longer guide-specific) |
(updated for LeafGreen and FireRed, images now optional) |
||
Line 1: | Line 1: | ||
{| | {{#vardefine:titletext|{{#switch:{{{game}}}|RS=Ruby and Sapphire|E=Emerald|LG=LeafGreen|FR=FireRed|Trainer}}}}<!-- | ||
!colspan="2" style="background-color:{{# | -->{{#vardefine:titlecolor|{{#switch:{{{game}}}|RS=#8b0000|E=#006400|LG=#458b00|FR=#cd2626|#777777}}}}<!-- | ||
-->{{#vardefine:bordercolor|{{#switch:{{{game}}}|RS=#eeb4b4|E=#66cdaa|LG=#6e8b3d|FR=#f08080|#777777}}}}<!-- | |||
-->{| style="border:thin solid {{#var:bordercolor}};margin-bottom:1em;" | |||
!colspan="2" style="background-color:{{#var:titlecolor}};color:#ffffff"| {{#var:titletext}}{{#if:{{{two|}}}| (2 on 2)}} | |||
|- | |- | ||
|[[Image:{{{image}}}|left]] | |{{#if:{{{image|}}}|[[Image:{{{image}}}|left]]|style="display:none"{{!}}}} | ||
|{{{details}}} | |{{{details}}} | ||
{{#if:{{{pokebuck|}}}|* {{pokebuck}}{{{pokebuck}}}}} | {{#if:{{{pokebuck|}}}|* {{pokebuck}}{{{pokebuck}}}}} | ||
|- | |- | ||
{{#if:{{{two|}}}|{{!}}[[Image:{{{image2}}}|left]] | {{#if:{{{two|}}}|{{!}}{{#if:{{{image2|}}}|[[Image:{{{image2}}}|left]]|{{#if:{{{image|}}}||style="display:none"{{!}}}}}} | ||
{{!}}{{{details2}}} | {{!}}{{{details2}}} | ||
{{#if:{{{pokebuck2|}}}|* {{pokebuck}}{{{pokebuck2}}}}}}} | {{#if:{{{pokebuck2|}}}|* {{pokebuck}}{{{pokebuck2}}}}}}} |
Revision as of 19:59, 19 June 2009
Trainer | |
---|---|
{{{details}}} |
This page has been transcluded from Template:Pokemon trainer/Documentation.
This template is outdated and is in the process of being replaced by {{Pokemon/Trainer row}} and {{Pokemon/Trainer mon}}, used in conjunction with {{ContentBoxContainer}}. Please do not attempt to use this template.
This template displays game-specific trainers for differences between various Pokémon games. Games included so far:
Usage
- Mandatory parameter
details
: This is the trainer's name '''bolded''', followed by a list of the Pokémon used, starting on the following line.
- Optional parameters
game
: If you don't use this parameter, it defaults to a gray template with "Trainer" as the title.- RS for Ruby and Sapphire
- RE for Ruby and Emerald
- SE for Sapphire and Emerald
- R for Ruby
- S for Sapphire
- E for Emerald
- LG for LeafGreen
- FR for FireRed
image
: The filename with extension of the image to use (i.e. PKRS&E Trainer image.png)image1b
: This is for a second image in the case where it could be either of two trainers, like the Aqua/Magma grunts in Ruby, Sapphire and Emerald.width
: Defaults to 300px, but can be set differently to make all instances on a page the same width.pokebuck
: Put any number and the Pokébuck money sign with the amount will be appended to the details list.two
: Put yes if it is a 2 on 2 match, otherwise omit this parameter.
- 2 on 2 matches
After specifying a 2 on 2 match with the two
parameter, you can use the same parameters with a "2" on the end for the second trainer.
details2
: mandatoryimage2
: optionalpokebuck2
: optional
Copy/paste
- Single match
{{pokemon trainer|game= |image= |details= |pokebuck= }}
- 2 on 2 match
{{pokemon trainer|game=|two=yes |image= |details= |pokebuck= |image2= |details2= |pokebuck2= }}