Template:Trainerheader/doc

The following is documentation for using the, , , and templates to display Trainer info on location articles.

Trainerheader
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 locations. The parameter should match the location geography, i.e. Route 113 would have this parameter marked as "soot", while Route 41 would use "water".
 * use Normal, Fighting, Flying, Poison, Ground, Rock, Bug, Ghost, Steel, Fire, Water, Grass, Electric, Psychic, Ice, Dragon, Dark, or Fairy 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

Trainerfooter
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

One Trainer, waterlogged route, HGSS
Code:

Three Trainers, volcanic route, FRLG
Code:

Two Trainers, cave, RSE
Code:

Six fully-populated Trainers, land route
Code: