The following is documentation for using the Trainerheader, Trainerentry, Trainerdiv, and Trainerfooter templates to display trainer info on location articles.
The Trainerheader template is the template that should start all sets of Trainers' info. It starts a left-aligned table with header cells for Trainer and Pokémon.
Usage
Trainerheader takes one parameter. This parameter designates what color scheme will be used on the trainer table. Note that the same parameter used here should be reused in any subsequent Trainerdiv and Trainerfooter templates.
Parameters:
- 1: color scheme indicator
- use cave, land, road, sand, shadow, snow, soot, space, volcano, or water for most locations. The parameter should match the location geography, i.e. Viridian Forest would have this parameter marked as "forest", while Route 41 would use "water".
- use Normal, Fighting, Flying, Poison, Ground, Rock, Bug, Ghost, Steel, Fire, Water, Grass, Electric, Psychic, Ice, Dragon, or Dark for trainer gyms. The parameter should match the theme of the gym.
Trainerentry
The Trainerentry template is used to display a single Trainer and their respective Pokémon.
Usage
Trainerentry takes up to 38 parameters. All parameters are optional, but as many as are possible/necessary should be used. Note that parameters can be passed in sequential order (i.e. first parameter is 1, second is 2) or by using the notation '#=' where # is the parameter number you are specifying. Usually a combination of these methods is used to fill out the Trainer info. Also note that hyperlinks are automatically inserted where appropriate. All parameter values should not contain wiki markup.
Parameters:
- 1: filename of the Trainer sprite
- 2: Trainer class
- 3: Trainer's name
- 4: amount of money given when trainer is defeated.
- 5: number of Pokémon this Trainer possesses.
- 6: Pokémon 1 National Dex number, should be 3 digits
- 7: Pokémon 1 name
- 8: Pokémon 1 gender (male or female symbol)
- 9: Pokémon 1 level
- 10: Pokémon 1 held item, leave blank if no item
- 11-15: same as 6-10 for Pokémon 2
- 16-20: same as 6-10 for Pokémon 3
- 21-25: same as 6-10 for Pokémon 4
- 26-30: same as 6-10 for Pokémon 5
- 31-35: same as 6-10 for Pokémon 6
- 36: Japanese Trainer name
- 37: Romanji Trainer name
- 38: rematch indicator
- use Phone or phone for Pokégear rematches
- use Nav or nav for Trainer's Eyes/Match Call PokéNav rematches
- use Vs. Seeker, VS. Seeker, VS, or vs for Vs. Seeker rematches
Trainerdiv
The Trainerdiv template is used to put a spacer between Trainers within the trainer table. It should be used after each Trainerentry template except
the final one in the table.
Usage
Trainerdiv takes one parameter. This parameter should match the parameter passed to the Trainerheader template listed above.
Parameters:
- 1: same as parameter 1 for Trainerheader
The Trainerfooter template marks the end of a Trainer table. This template should be the last template used for each Trainer table.
Usage
Trainerfooter takes 2 parameters. The first should match the parameter passed to the Trainerheader template listed above. The second is a rematch indicator.
Parameters:
- 1: same as parameter 1 for Trainerheader
- 2: rematch type indicator
- use 4, IV, FRLG, or DPPt for Trainers in games with Vs. Seeker
- use 3, III, or RSE for Trainers in games with PokéNav
- use 2, II, or GSC, HGSS for Trainers in games with Pokégear
Examples
One Trainer, waterlogged route, HGSS
Trainer
|
Pokémon
|
|
|
|
Trainers with a telephone symbol by their names will give their Pokégear number to the player, and may call or be called for a rematch with higher-level Pokémon.
|
Code:
{{trainerheader|water}}
{{Trainerentry|FL_Picnicker.png|Picnicker|Heidi|400|2|025|Pikachu|♀|20|None|035|Clefairy|♀|20|None|36=チカコ|37=Chikako}}
{{trainerfooter|water|HGSS}}
Three Trainers, volcanic route, FRLG
Trainer
|
Pokémon
|
|
|
|
|
|
|
|
|
|
|
|
Trainers with a Vs. Seeker by their names, when alerted for a rematch using the item, may use higher-level Pokémon.
|
Code:
{{trainerheader|volcano}}
{{Trainerentry|FL_Picnicker.png|Picnicker|Heidi|400|2|025|Pikachu|♀|20|None|035|Clefairy|♀|20|None|36=チカコ|37=Chikako}}
{{trainerdiv|volcano}}
{{Trainerentry|FL_Hiker.png|Hiker|Clark|756|2|074|Geodude|♂|21|None|095|Onix|♂|21|None|36=カズノリ|37=Kazunori}}
{{trainerdiv|volcano}}
{{Trainerentry|FL_PokeManiac.png|PokéManiac|Mark|1392|2|111|Rhyhorn|♂|29|None|108|Lickitung|♂|29|None|36=モトフミ|37=Motofumi}}
{{trainerfooter|volcano|FRLG}}
Two Trainers, cave, RSE
Trainer
|
Pokémon
|
|
|
|
|
|
|
|
Trainers with a PokéNav by their names will be registered in the Trainer's Eyes or Match Call function after the first battle, and may have a rematch with the player with higher-level Pokémon.
|
Code:
{{trainerheader|cave}}
{{Trainerentry|FL_Hiker.png|Hiker|Clark|756|2|074|Geodude|♂|21|None|095|Onix|♂|21|None|36=カズノリ|37=Kazunori}}
{{trainerdiv|cave}}
{{Trainerentry|FL_Hiker.png|Hiker|Trent|684|2|095|Onix|♂|19|None|075|Graveler|♂|19|None|36=ケンサク|37=Kensaku}}
{{trainerfooter|cave|RSE}}
Six fully-populated Trainers, land route
Trainer
|
Pokémon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Muk♀
|
Lv.21
|
No item
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Trainers with a Vs. Seeker by their names, when alerted for a rematch using the item, may use higher-level Pokémon.
|