Template:Party/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 42: Line 42:
===Single battle, HGSS===
===Single battle, HGSS===
{{Party
{{Party
|color={{fighting color}}|bordercolor={{fighting color dark}}|headcolor={{fighting color light}}
|color={{bug color}}|bordercolor={{bug color dark}}|headcolor={{bug color light}}
|sprite=Spr HGSS Chuck.png
|sprite=Spr HGSS Bugsy.png
|prize={{PDollar}}3720
|prize={{PDollar}}6240
|class=Leader
|class=Leader
|name=Chuck
|name=Bugsy
|game=HGSS
|game=HGSS
|location=Cianwood Gym
|location=Fighting Dojo
|pokemon=2
|pokemon=6


|pokemon1={{Pokémon/4
|pokemon1={{Pokémon/4
|ndex=057
|ndex=212 f
|pokemon=Primeape
|pokemon=Scizor
|game=HeartGold and SoulSilver
|game=HeartGold and SoulSilver
|gender=male
|gender=female
|level=29
|level=65
|type1=Fighting
|type1=Bug|type2=Steel
|ability=Vital Spirit
|ability=Technician
|move1=Rock Slide|move1type=Rock|move1cat=Physical
|held=Sitrus Berry
|move2=Double Team|move2type=Normal|move2cat=Status
|move1=Bug Bite|move1type=Bug|move1cat=Physical
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move2=Swords Dance|move2type=Normal|move2cat=Status
|move4=Leer|move4type=Normal|move4cat=Status}}
|move3=Superpower|move3type=Fighting|move3cat=Physical
|move4=Bullet Punch|move4type=Steel|move4cat=Physical}}


|pokemon2={{Pokémon/4
|pokemon2={{Pokémon/4
|ndex=062
|ndex=292
|pokemon=Poliwrath
|pokemon=Shedinja
|game=HeartGold and SoulSilver
|game=HeartGold and SoulSilver
|gender=male
|gender=male
|level=31
|level=60
|type1=Water|type2=Fighting
|type1=Bug|type2=Ghost
|ability=Water Absorb
|ability=Wonder Guard
|held=Sitrus Berry
|held=Lum Berry
|move1=Toxic|move1type=Poison|move1cat=Status
|move2=Swagger|move2type=Normal|move2cat=Status
|move3=Shadow Sneak|move3type=Ghost|move3cat=Physical
|move4=X-Scissor|move4type=Bug|move4cat=Physical}}
 
 
|pokemon3={{Pokémon/4
|ndex=469
|pokemon=Yanmega
|game=HeartGold and SoulSilver
|gender=female
|level=65
|type1=Bug|type2=Flying
|ability=Tinted Lens
|held=Charti Berry
|move1=U-Turn|move1type=Bug|move1cat=Physical
|move2=Bug Buzz|move2type=Bug|move2cat=Special
|move3=Air Slash|move3type=Flying|move3cat=Special
|move4=AncientPower|move4type=Rock|move4cat=Special}}
 
|pokemon4={{Pokémon/4
|ndex=168
|pokemon=Ariados
|game=HeartGold and SoulSilver
|gender=female
|level=61
|type1=Bug|type2=Poison
|ability=Swarm
|held=Occa Berry
|move1=Poison Jab|move1type=Poison|move1cat=Physical
|move2=Night Slash|move2type=Dark|move2cat=Physical
|move3=Bounce|move3type=Flying|move3cat=Physical
|move4=Megahorn|move4type=Bug|move4cat=Physical}}
 
|pokemon5={{Pokémon/4
|ndex=199
|pokemon=Slowking
|game=HeartGold and SoulSilver
|gender=female
|level=65
|type1=Water|type2=Psychic
|ability=Oblivious
|held=Colbur Berry
|move1=Surf|move1type=Water|move1cat=Special
|move1=Surf|move1type=Water|move1cat=Special
|move2=Hypnosis|move2type=Psychic|move2cat=Status
|move2=Rain Dance|move2type=Water|move2cat=Status
|move3=Body Slam|move3type=Normal|move3cat=Physical
|move3=Psychic|move3type=Psychic|move3cat=Special
|move4=Focus Punch|move4type=Fighting|move4cat=Physical}}
|move4=Signal Beam|move4type=Bug|move4cat=Special}}
 
|pokemon6={{Pokémon/4
|ndex=416
|pokemon=Vespiquen
|game=HeartGold and SoulSilver
|gender=male
|level=60
|type1=Bug|type2=Flying
|ability=Pressure
|held=Leftovers
|move1=Confuse Ray|move1type=Ghost|move1cat=Status
|move2=Protect|move2type=Normal|move2cat=Status
|move3=Defense Order|move3type=Bug|move3cat=Status
|move4=Attack Order|move4type=Bug|move4cat=Physical}}
}}
}}


Line 97: Line 155:
|gender=male
|gender=male
|level=29
|level=29
|type1=Fighting
|type1=Bug|type2=Steel
|ability=Vital Spirit
|ability=Vital Spirit
|move1=Rock Slide|move1type=Rock|move1cat=Physical
|move1=Rock Slide|move1type=Rock|move1cat=Physical
Line 110: Line 168:
|gender=male
|gender=male
|level=31
|level=31
|type1=Water|type2=Fighting
|type1=Bug|type2=Ghost
|ability=Water Absorb
|ability=Wonder Guard
|held=Sitrus Berry
|held=Lum Berry
|move1=Surf|move1type=Water|move1cat=Special
|move1=Surf|move1type=Water|move1cat=Special
|move2=Hypnosis|move2type=Psychic|move2cat=Status
|move2=Hypnosis|move2type=Psychic|move2cat=Status
Line 118: Line 176:
|move4=Focus Punch|move4type=Fighting|move4cat=Physical}}
|move4=Focus Punch|move4type=Fighting|move4cat=Physical}}
}}
}}
{{Party
|color={{bug color}}|bordercolor={{bug color dark}}|headcolor={bug color light}}
|sprite=Spr_HGSS_Bugsy.png
|prize={{PDollar}}6240
|class=Leader
|name=Bugsy
|game=HGSS
|location=Fighting Dojo
|pokemon=6
</pre>
</pre>



Revision as of 10:29, 19 October 2023

The following is documentation for using {{Party}} to display detailed info on Trainers and their Pokémon.

Party

The Party template creates a standalone table displaying one Trainer battle (single or double) and their Pokémon. The table displays more detailed information about the Trainer's Pokémon than the Trainer templates.

Usage

Party takes 25 parameters.

Parameters:

  • color: Color scheme template. This is the dominant background color of the table. It should match the Trainer's Pokémon team type (example:{{fire color}}). It can also be another color template where applicable (example:{{ruby color}}). Note that this color is typically lighter than the bordercolor parameter.
  • bordercolor: Color scheme template. The border color for the table. Should correspond to the color parameter, typically a darker version of the same color (example:{{fire color dark}}).
  • headcolor: Color scheme template. The background color of the header segment of the table. Typically lighter than the color parameter (example:{{fire color light}}).
  • sprite: Image sprite for Trainer 1. Should be the filename written in plain text. Applies regardless of tag parameter.
  • prize: Amount of prize money for defeating opponent(s). Should include unit template before value (example:{{PDollar}}510). Entering "none" (case-sensitive) hides the prize display.
  • class: Name of class of Trainer 1. Applies regardless of tag parameter. Do not include a link here.
  • name: Name of Trainer 1. Applies regardless of tag parameter.
  • game: Game this Trainer is in.
    • Preset parameters are: RG, RGB, RGBY, Y, GS, GSC, C, Ru, Sa, RS, RuSa, RSE, RE, SE, E, FRLG, FL, DP, DPP, DPPt, Pt, HGSS, HS, PtHGSS, Bl, W, BW, Colo, XD, PBR
    • Manual links are also possible, but this is not preferred.
  • location: Link to Trainer location. Do not include a link here.
  • locationname: Text to display for location. This is very useful for routes, for example.
  • pokemon: Number of pokemon this Trainer is carrying.
  • tag: 'yes' or 'no' specifying if this is a double battle. Default is no.
  • headcolor1: Color scheme template. Only applicable when tag parameter is yes. Specifies Trainer 1's background color.
  • headcolor2: Color scheme template. Only applicable when tag parameter is yes. Specifies Trainer 2's background color.
  • color1: Color scheme template. Background color for Trainer 1's pokemon. Only applies if tag parameter is yes.
  • color2: Color scheme template. Background color for Trainer 2's pokemon. Only applies if tag parameter is yes.
  • class2: Name of class of Trainer 1. Only applies if tag parameter is yes. Do not include a link here.
  • name2: Name of Trainer 2. Only applies if tag parameter is yes.
  • sprite2: Image sprite for Trainer 2. Should be a text filename complete with file ending type. Only applies if tag parameter is yes.
  • pokemon1: {{Pokémon}} for Pokémon 1.
  • pokemon2: {{Pokémon}} for Pokémon 2.
  • pokemon3: {{Pokémon}} for Pokémon 3.
  • pokemon4: {{Pokémon}} for Pokémon 4.
  • pokemon5: {{Pokémon}} for Pokémon 5.
  • pokemon6: {{Pokémon}} for Pokémon 6.
    • Note that it is preferred to directly use a subtemplate of {{Pokémon}} than to use the gen parameter. The subtemplates are named Pokémon/Generation number (example: {{Pokémon/3}}). Currently, some things are broken if you use the gen parameter, for example monotyped Pokémon will show up as dual-typed with the second type as "Unknown", which is not the case when you use the subtemplate.

Examples

Single battle, HGSS



Code:

{{Party
|color={{fighting color}}|bordercolor={{fighting color dark}}|headcolor={{fighting color light}}
|sprite=Spr HGSS Chuck.png
|prize={{PDollar}}3720
|class=Leader
|name=Chuck
|game=HGSS
|location=Cianwood Gym
|pokemon=2

|pokemon1={{Pokémon/4
|ndex=057
|pokemon=Primeape
|game=HeartGold and SoulSilver
|gender=male
|level=29
|type1=Bug|type2=Steel
|ability=Vital Spirit
|move1=Rock Slide|move1type=Rock|move1cat=Physical
|move2=Double Team|move2type=Normal|move2cat=Status
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move4=Leer|move4type=Normal|move4cat=Status}}

|pokemon2={{Pokémon/4
|ndex=062
|pokemon=Poliwrath
|game=HeartGold and SoulSilver
|gender=male
|level=31
|type1=Bug|type2=Ghost
|ability=Wonder Guard
|held=Lum Berry
|move1=Surf|move1type=Water|move1cat=Special
|move2=Hypnosis|move2type=Psychic|move2cat=Status
|move3=Body Slam|move3type=Normal|move3cat=Physical
|move4=Focus Punch|move4type=Fighting|move4cat=Physical}}
}}


{{Party
|color={{bug color}}|bordercolor={{bug color dark}}|headcolor={bug color light}}
|sprite=Spr_HGSS_Bugsy.png
|prize={{PDollar}}6240
|class=Leader
|name=Bugsy
|game=HGSS
|location=Fighting Dojo
|pokemon=6

Double battle, Emerald



Code:

{{Party|tag=yes
|color={{ruby color light}}|bordercolor={{ruby color}}|headcolor={{fire color light}}
|color1={{ruby color light}}|headcolor1={{fire color}}|color2={{ruby color light}}|headcolor2={{fire color}}
|class=Magma Leader
|name=Maxie
|sprite=Spr RS Maxie.png
|class2=Magma Admin
|name2=Tabitha
|sprite2=Spr RS Tabitha.png
|game=E
|location=Mossdeep Space Center
|prize={{PDollar}}5120
|pokemon=6
|pokemon1={{Pokémon/3|game=Emerald|ndex=262|pokemon=Mightyena
|gender=male|level=42|type1=Dark|ability=Intimidate
|move1=Take Down|move1type=Normal
|move2=Swagger|move2type=Normal
|move3=Scary Face|move3type=Normal
|move4=Taunt|move4type=Dark}}
|pokemon2={{Pokémon/3|game=Emerald|ndex=323|pokemon=Camerupt
|gender=male|level=44|type1=Fire|type2=Ground|ability=Magma Armor
|move1=Earthquake|move1type=Ground
|move2=Amnesia|move2type=Psychic
|move3=Rock Slide|move3type=Rock
|move4=Take Down|move4type=Normal}}
|pokemon3={{Pokémon/3|game=Emerald|ndex=169|pokemon=Crobat
|gender=male|level=43|type1=Poison|type2=Flying|ability=Inner Focus
|move1=Confuse Ray|move1type=Ghost
|move2=Air Cutter|move2type=Flying
|move3=Mean Look|move3type=Normal
|move4=Wing Attack|move4type=Flying}}
|pokemon4={{Pokémon/3|game=Emerald|ndex=323|pokemon=Camerupt 
|gender=male|level=36|types2|type1=Fire|type2=Ground|ability=Oblivious
|move1=Take Down|move1type=Normal
|move2=Amnesia|move2type=Psychic
|move3=Focus Energy|move3type=Normal
|move4=Rock Slide|move4type=Rock}}
|pokemon5={{Pokémon/3|game=Emerald|ndex=262|pokemon=Mightyena
|gender=male|level=38|type1=Dark|ability=Intimidate
|move1=Scary Face|move1type=Normal
|move2=Swagger|move2type=Normal
|move3=Roar|move3type=Normal
|move4=Take Down|move4type=Normal}}
|pokemon6={{Pokémon/3|game=Emerald|ndex=042|pokemon=Golbat
|gender=male|level=40|type1=Poison|type2=Flying|ability=Inner Focus
|move1=Air Cutter|move1type=Flying
|move2=Confuse Ray|move2type=Ghost
|move3=Bite|move3type=Dark
|move4=Wing Attack|move4type=Flying}}}}

Single battle, RB



Code:

{{Party
|color={{grass color}}|headcolor={{grass color light}}|bordercolor={{grass color dark}}
|sprite=Spr RG Erika.png
|prize={{PDollar}}2871
|class=Leader
|name=Erika
|game=RGB
|location=Celadon Gym
|pokemon=3
|pokemon1={{Pokémon/1
|game=Red
|ndex=071
|pokemon=Victreebel
|level=29
|type1=Grass|type2=Poison
|move1=Wrap|move1type=Normal
|move2=PoisonPowder|move2type=Poison
|move3=Sleep Powder|move3type=Grass
|move4=Razor Leaf|move4type=Grass}}
|pokemon2={{Pokémon/1
|game=Red
|ndex=114
|pokemon=Tangela
|level=24
|type1=Grass
|move1=Bind|move1type=Normal
|move2=Constrict|move2type=Normal}}
|pokemon3={{Pokémon/1
|game=Red
|ndex=045
|pokemon=Vileplume
|level=29
|type1=Grass|type2=Poison
|move1=PoisonPowder|move1type=Poison
|move2=Mega Drain|move2type=Grass
|move3=Sleep Powder|move3type=Grass
|move4=Petal Dance|move4type=Grass}}
}}

Single battle with a Shadow Pokémon, Colosseum



Code:

{{Party
|color={{colo color}}|bordercolor={{colo color dark}}|headcolor={{colo color light}}
|sprite=Colo Rogue Cail.png{{!}}75px
|prize={{PDollar}}464
|class=Rogue
|name=Cail
|game=Colo
|location=Pyrite Town
|pokemon=4
|pokemon1={{Pokémon/3
|game=Colo
|pokemon=Machop
|ndex=066
|level=29
|gender=male
|type1=Fighting
|ability=Guts
|move1=Karate Chop|move1type=Fighting
|move2=Focus Energy|move2type=Normal
|move3=Strength|move3type=Normal
}}
|pokemon2={{Pokémon/3
|game=Colo
|pokemon=Seedot
|ndex=273
|level=29
|gender=male
|type1=Grass
|ability=Early Bird 
|move1=Bide|move1type=Normal
|move2=Rock Smash|move2type=Fighting
}}
|pokemon3={{Pokémon/3
|game=Colo
|pokemon=Ralts 
|ndex=280
|level=29
|gender=female
|type1=Psychic
|ability=Trace
|move1=Imprison|move1type=Psychic
|move2=Confusion|move2type=Psychic
}}
|pokemon4={{Pokémon/3/Shadow
|game=Colo
|ndex=162
|pokemon=Furret
|level=33
|type1=Normal
|move1=Shadow Rush|move1type=Shadow
|move2=Helping Hand|move2type=Normal
|move3=Quick Attack|move3type=Normal
|move4=Strength|move4type=Normal}}
}}

Single battle with a Shiny Pokémon, FRLG



Code:

{{Party
|color={{water color}}
|headcolor={{water color light}}
|bordercolor={{water color dark}}
|sprite=Spr FRLG Fisherman.png
|prize=N/A
|class=Fisherman
|name=Kaden
|game=FRLG
|location=Trainer Tower
|pokemon=6
|pokemon1={{Pokémon/3
|ndex=170
|pokemon=Chinchou
|game=FireRed
|type1=Water|type2=Electric
|held=Magnet
|ability=Unknown
|level=?
|move1=Thunderbolt|move1type=Electric
|move2=Thunder Wave|move2type=Electric
|move3=Confuse Ray|move3type=Ghost
|move4=Protect|move4type=Normal}}
|pokemon2={{Pokémon/3
|ndex=147
|pokemon=Dratini
|game=FireRed
|spritegender=shiny
|type1=Dragon
|held=Sitrus Berry
|ability=Shed Skin
|level=?
|move1=Water Pulse|move1type=Water
|move2=Thunder Wave|move2type=Electric
|move3=DragonBreath|move3type=Dragon
|move4=Protect|move4type=Normal}}
|pokemon3={{Pokémon/3
|ndex=079
|pokemon=Slowpoke
|game=FireRed
|type1=Water|type2=Psychic
|held=Pecha Berry
|ability=Unknown
|level=?
|move1=Water Pulse|move1type=Water
|move2=Yawn|move2type=Normal
|move3=Disable|move3type=Normal
|move4=Protect|move4type=Normal}}
|pokemon4={{Pokémon/3
|ndex=129
|pokemon=Magikarp
|game=FireRed
|type1=Water
|held=Choice Band
|ability=Swift Swim
|level=?
|move1=Splash|move1type=Normal
|move2=Flail|move2type=Normal
|move3=Tackle|move3type=Normal}}
|pokemon5={{Pokémon/3
|ndex=119
|pokemon=Seaking
|game=FireRed
|spritegender=shiny
|type1=Water
|held=Cheri Berry
|ability=Unknown
|level=?
|move1=Horn Drill|move1type=Normal
|move2=Megahorn|move2type=Bug
|move3=Supersonic|move3type=Normal
|move4=Agility|move4type=Psychic}}
|pokemon6={{Pokémon/3
|ndex=073
|pokemon=Tentacruel
|game=FireRed
|type1=Water|type2=Poison
|held=Focus Band
|ability=Unknown
|level=?
|move1=Mirror Coat|move1type=Psychic
|move2=Supersonic|move2type=Normal
|move3=Protect|move3type=Normal
|move4=Toxic|move4type=Poison}}
}}