From StrategyWiki, the video game walkthrough and strategy guide wiki
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:
{| style="border:thin solid {{#ifeq:{{{game|RS}}}|RS|#eeb4b4|#66cdaa}};margin-bottom:1em;"
{{#vardefine:titletext|{{#switch:{{{game}}}|RS=Ruby and Sapphire|E=Emerald|LG=LeafGreen|FR=FireRed|Trainer}}}}<!--
!colspan="2" style="background-color:{{#ifeq:{{{game|RS}}}|RS|&#35;8b0000|&#35;006400}};color:#ffffff"| {{#ifeq:{{{game|RS}}}|RS|Ruby and Sapphire|Emerald}}{{#if:{{{two|}}}|&nbsp;(2 on 2)}}
-->{{#vardefine:titlecolor|{{#switch:{{{game}}}|RS=&#35;8b0000|E=&#35;006400|LG=&#35;458b00|FR=&#35;cd2626|&#35;777777}}}}<!--
-->{{#vardefine:bordercolor|{{#switch:{{{game}}}|RS=&#35;eeb4b4|E=&#35;66cdaa|LG=&#35;6e8b3d|FR=&#35;f08080|&#35;777777}}}}<!--
-->{| style="border:thin solid {{#var:bordercolor}};margin-bottom:1em;"
!colspan="2" style="background-color:{{#var:titlecolor}};color:#ffffff"| {{#var:titletext}}{{#if:{{{two|}}}|&nbsp;(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:

  1. Pokémon Ruby and Sapphire
  2. Pokémon Emerald
  3. Pokémon LeafGreen
  4. Pokémon FireRed

Usage

Mandatory parameter
  1. details: This is the trainer's name '''bolded''', followed by a list of the Pokémon used, starting on the following line.
Optional parameters
  1. 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
  2. image: The filename with extension of the image to use (i.e. PKRS&E Trainer image.png)
  3. 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.
  4. width: Defaults to 300px, but can be set differently to make all instances on a page the same width.
  5. pokebuck: Put any number and the Pokébuck money sign with the amount will be appended to the details list.
  6. 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.

  1. details2: mandatory
  2. image2: optional
  3. pokebuck2: 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=
}}