Jump to navigation
Jump to search
(more combination) |
m (small fix) |
||
Line 1: | Line 1: | ||
{{#vardefine:titletext|{{#switch:{{{game}}}|RS=Ruby and Sapphire|R=Ruby|S=Sapphire|RE=Ruby and Emerald|SE=Sapphire and Emerald|E=Emerald|LG=LeafGreen|FR=FireRed|Trainer}}}}<!-- | {{#vardefine:titletext|{{#switch:{{{game}}}|RS=Ruby and Sapphire|R=Ruby|S=Sapphire|RE=Ruby and Emerald|SE=Sapphire and Emerald|E=Emerald|LG=LeafGreen|FR=FireRed|Trainer}}}}<!-- | ||
-->{{#vardefine:titlecolor|{{#switch:{{{game}}}|RS=#8b0000|R=#8b0000|S=#0010a4|RE=#BA8762|SE=#00CCCC|E=#006400|LG=#458b00|FR=#cd2626|#777777}}}}<!-- | -->{{#vardefine:titlecolor|{{#switch:{{{game}}}|RS=#8b0000|R=#8b0000|S=#0010a4|RE=#BA8762|SE=#00CCCC|E=#006400|LG=#458b00|FR=#cd2626|#777777}}}}<!-- | ||
-->{{#vardefine:bordercolor|{{#switch:{{{game}}}|RS=#eeb4b4|R=#eeb4b4|S=#0010a4|RE=#BA8762|SE=#00CCCC|E=#66cdaa|LG=#6e8b3d|FR=#f08080|#777777}}}}<!-- | -->{{#vardefine:bordercolor|{{#switch:{{{game}}}|RS=#eeb4b4|R=#eeb4b4|S=#0010a4|RE=#BA8762|SE=#00CCCC|E=#66cdaa|LG=#6e8b3d|FR=#f08080|#777777}}}}<!-- | ||
-->{| style="border:thin solid {{#var:bordercolor}};margin-bottom:1em;width:{{{width|300px}}};" | -->{| style="border:thin solid {{#var:bordercolor}};margin-bottom:1em;width:{{{width|300px}}};" | ||
!colspan="2" style="background-color:{{#var:titlecolor}};color:#ffffff"| {{#var:titletext}}{{#if:{{{two|}}}| (2 on 2)}} | !colspan="2" style="background-color:{{#var:titlecolor}};color:#ffffff"| {{#var:titletext}}{{#if:{{{two|}}}| (2 on 2)}} |
Latest revision as of 16:18, 14 April 2014
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[edit]
- 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[edit]
- Single match
{{pokemon trainer|game= |image= |details= |pokebuck= }}
- 2 on 2 match
{{pokemon trainer|game=|two=yes |image= |details= |pokebuck= |image2= |details2= |pokebuck2= }}