Template:Trainerheader/doc

The following is documentation for using the {{Trainerheader}}, {{Trainerentry}}, {{Trainerdiv}}, and {{Trainerfooter}} 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

Examples

One Trainer, waterlogged route, HGSS

Trainer Pokémon
Picnicker Heidi
Picnicker Heidi
チカコ Chikako
Reward: $400
Pikachu Pikachu Lv.20
No item
Clefairy Clefairy Lv.20
No item
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|Spr FRLG 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
Picnicker Heidi
Picnicker Heidi
チカコ Chikako
Reward: $400
Pikachu Pikachu Lv.20
No item
Clefairy Clefairy Lv.20
No item
Hiker Clark
Hiker Clark
カズノリ Kazunori
Reward: $756
Geodude Geodude Lv.21
No item
Onix Onix Lv.21
No item
PokéManiac Mark
PokéManiac Mark
モトフミ Motofumi
Reward: $1392
Rhyhorn Rhyhorn Lv.29
No item
Lickitung Lickitung Lv.29
No item
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|Spr FRLG Picnicker.png|Picnicker|Heidi|400|2|025|Pikachu|♀|20|None|035|Clefairy|♀|20|None|36=チカコ|37=Chikako}}
{{Trainerdiv|volcano}}
{{Trainerentry|Spr FRLG Hiker.png|Hiker|Clark|756|2|074|Geodude|♂|21|None|095|Onix|♂|21|None|36=カズノリ|37=Kazunori}} 
{{Trainerdiv|volcano}}
{{Trainerentry|Spr FRLG PokéManiac.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
Hiker Clark
Hiker Clark
カズノリ Kazunori
Reward: $756
Geodude Geodude Lv.21
No item
Onix Onix Lv.21
No item
Hiker Trent
Hiker Trent
ケンサク Kensaku
Reward: $684
Onix Onix Lv.19
No item
Graveler Graveler Lv.19
No item
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|Spr FRLG Hiker.png|Hiker|Clark|756|2|074|Geodude|♂|21|None|095|Onix|♂|21|None|36=カズノリ|37=Kazunori}} 
{{Trainerdiv|cave}}
{{Trainerentry|Spr FRLG 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
Picnicker Heidi
Picnicker Heidi
チカコ Chikako
Reward: $400
PokéGear Phone
Pikachu Pikachu Lv.20
No item
Clefairy Clefairy Lv.20
No item
Bibarel Bibarel Lv.56
Bag Leftovers Sprite.png Leftovers
Wailord Wailord Lv.70
No item
Raichu Raichu Lv.13
No item
Bulbasaur Bulbasaur Lv.37
No item
Hiker Clark
Hiker Clark
カズノリ Kazunori
Reward: $756
Vs. Seeker
Geodude Geodude Lv.21
No item
Onix Onix Lv.21
No item
Jirachi Jirachi Lv.88
No item
Combusken Combusken Lv.11
No item
Muk Muk Lv.21
No item
Sableye Sableye Lv.59
No item
PokéManiac Mark
PokéManiac Mark
モトフミ Motofumi
Reward: $1392
Trainer's Eyes/Match Call
Rhyhorn Rhyhorn Lv.29
No item
Lickitung Lickitung Lv.29
No item
Wormadam Wormadam
Plant Cloak
Lv.77
No item
Spiritomb Spiritomb Lv.1
No item
Groudon Groudon Lv.55
No item
Swablu Swablu Lv.24
No item
Picnicker Fattie
Picnicker Fattie
チカコ Chikako
Reward: $400
Trainer's Eyes/Match Call
Pikachu Pikachu Lv.20
No item
Clefairy Clefairy Lv.20
No item
Hitmonchan Hitmonchan Lv.65
No item
Magcargo Magcargo Lv.44
No item
Swinub Swinub Lv.67
No item
Snorlax Snorlax Lv.20
No item
Hiker Sanchez
Hiker Sanchez
カズノリ Kazunori
Reward: $756
PokéGear Phone
Geodude Geodude Lv.21
No item
Onix Onix Lv.21
No item
Mismagius Mismagius Lv.88
No item
Torterra Torterra Lv.13
No item
Suicune Suicune Lv.66
No item
Wobbuffet Wobbuffet Lv.20
No item
PokéManiac Ringo
PokéManiac Ringo
モトフミ Motofumi
Reward: $1392
Vs. Seeker
Rhyhorn Rhyhorn Lv.29
No item
Lickitung Lickitung Lv.29
No item
Rapidash Rapidash Lv.44
No item
Natu Natu Lv.28
No item
Whismur Whismur Lv.82
No item
Snorunt Snorunt Lv.5
No item
Trainers with a Vs. Seeker by their names, when alerted for a rematch using the item, may use higher-level Pokémon.


Code:

{{Trainerheader}}
{{Trainerentry|Spr FRLG Picnicker.png|Picnicker|Heidi|400|6|025|Pikachu|♀|20|None|035|Clefairy|♀|20|None|400|Bibarel|♀|56|Leftovers|321|Wailord|♀|70||026|Raichu|♀|13|None|001|Bulbasaur|♀|37|None|36=チカコ|37=Chikako|38=phone}}
{{Trainerdiv}}
{{Trainerentry|Spr FRLG Hiker.png|Hiker|Clark|756|6|074|Geodude|♂|21|None|095|Onix|♂|21|None|385|Jirachi|♀|88|None|256|Combusken|♀|11|None|089|Muk|♀|21|None|302|Sableye|♀|59|None|36=カズノリ|37=Kazunori|38=vs}} 
{{Trainerdiv}}
{{Trainerentry|Spr FRLG PokéManiac.png|PokéManiac|Mark|1392|6|111|Rhyhorn|♂|29|None|108|Lickitung|♂|29|None|413|Wormadam|♀|77|None|442|Spiritomb|♀|1|None|383|Groudon|♀|55|None|333|Swablu|♀|24|None|36=モトフミ|37=Motofumi|38=nav}}
{{Trainerdiv}}
{{Trainerentry|Spr FRLG Picnicker.png|Picnicker|Fattie|400|6|025|Pikachu|♀|20|None|035|Clefairy|♀|20|None|107|Hitmonchan|♀|65|None|219|Magcargo|♀|44|None|220|Swinub|♀|67|None|143|Snorlax|♀|20|None|36=チカコ|37=Chikako|38=nav}}
{{Trainerdiv}}
{{Trainerentry|Spr FRLG Hiker.png|Hiker|Sanchez|756|6|074|Geodude|♂|21|None|095|Onix|♂|21|None|429|Mismagius|♀|88|None|389|Torterra|♀|13|None|245|Suicune|♀|66|None|202|Wobbuffet|♀|20|None|36=カズノリ|37=Kazunori|38=phone}} 
{{Trainerdiv}}
{{Trainerentry|Spr FRLG PokéManiac.png|PokéManiac|Ringo|1392|6|111|Rhyhorn|♂|29|None|108|Lickitung|♂|29|None|078|Rapidash|♀|44|None|177|Natu|♀|28|None|293|Whismur|♀|82|None|361|Snorunt|♀|5|None|36=モトフミ|37=Motofumi|38=vs}}
{{Trainerfooter}}