Pokémon Omega Ruby and Alpha Sapphire are coming this November!
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel.
The Bulbapedia mobile skin is currently in open alpha. If you run into any issues using the skin, please report them on the forums.

Template:Trainerheader/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

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, 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

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: PokémonDollar.png400
025 Pikachu Lv.20
No item
035 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: PokémonDollar.png400
025 Pikachu Lv.20
No item
035 Clefairy Lv.20
No item
Hiker Clark
Hiker Clark
カズノリ Kazunori
Reward: PokémonDollar.png756
074 Geodude Lv.21
No item
095 Onix Lv.21
No item
PokéManiac Mark
PokéManiac Mark
モトフミ Motofumi
Reward: PokémonDollar.png1392
111 Rhyhorn Lv.29
No item
108 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: PokémonDollar.png756
074 Geodude Lv.21
No item
095 Onix Lv.21
No item
Hiker Trent
Hiker Trent
ケンサク Kensaku
Reward: PokémonDollar.png684
095 Onix Lv.19
No item
075 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: PokémonDollar.png400
PokéGear Phone
025 Pikachu Lv.20
No item
035 Clefairy Lv.20
No item
400 Bibarel Lv.56
Held icon VI.png Leftovers
321 Wailord Lv.70
No item
026 Raichu Lv.13
No item
001 Bulbasaur Lv.37
No item
Hiker Clark
Hiker Clark
カズノリ Kazunori
Reward: PokémonDollar.png756
Vs. Seeker
074 Geodude Lv.21
No item
095 Onix Lv.21
No item
385 Jirachi Lv.88
No item
256 Combusken Lv.11
No item
089 Muk Lv.21
No item
302 Sableye Lv.59
No item
PokéManiac Mark
PokéManiac Mark
モトフミ Motofumi
Reward: PokémonDollar.png1392
Trainer's Eyes/Match Call
111 Rhyhorn Lv.29
No item
108 Lickitung Lv.29
No item
413 Wormadam
Plant Cloak
Lv.77
No item
442 Spiritomb Lv.1
No item
383 Groudon Lv.55
No item
333 Swablu Lv.24
No item
Picnicker Fattie
Picnicker Fattie
チカコ Chikako
Reward: PokémonDollar.png400
Trainer's Eyes/Match Call
025 Pikachu Lv.20
No item
035 Clefairy Lv.20
No item
107 Hitmonchan Lv.65
No item
219 Magcargo Lv.44
No item
220 Swinub Lv.67
No item
143 Snorlax Lv.20
No item
Hiker Sanchez
Hiker Sanchez
カズノリ Kazunori
Reward: PokémonDollar.png756
PokéGear Phone
074 Geodude Lv.21
No item
095 Onix Lv.21
No item
429 Mismagius Lv.88
No item
389 Torterra Lv.13
No item
245 Suicune Lv.66
No item
202 Wobbuffet Lv.20
No item
PokéManiac Ringo
PokéManiac Ringo
モトフミ Motofumi
Reward: PokémonDollar.png1392
Vs. Seeker
111 Rhyhorn Lv.29
No item
108 Lickitung Lv.29
No item
078 Rapidash Lv.44
No item
177 Natu Lv.28
No item
293 Whismur Lv.82
No item
361 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}}