Template:Party/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(if it's teaching people how to use templates, it should obey convention)
m (→‎Single Battle, Colosseum: did you mean like this?)
Line 346: Line 346:
|move2=Confusion|move2type=Psychic
|move2=Confusion|move2type=Psychic
}}
}}
|pokemon4={{Pokémon/3
|pokemon4={{Pokémon|gen=3/Shadow|
|pokemon=Furret
ndex=162|
|ndex=162
pokemon=Furret|
|level=33
level=33|
|type1=Normal
type1=Normal|
|alt=Shadow
ability=No Ability|
|move1=Shadow Rush|move1type=Shadow
move1=Shadow Rush|move1type=Shadow|
|move2=Helping Hand|move2type=Normal
move2=Helping Hand|move2type=Normal|
|move3=Quick Attack|move3type=Normal
move3=Quick Attack|move3type=Normal|
|move4=Strength|move4type=Normal}}
move4=Strength|move4type=Normal}}
}}
}}


Line 380: Line 380:
|move3=Strength|move3type=Normal
|move3=Strength|move3type=Normal
}}
}}
|pokemon2={{Pokémon/3
|pokemon2={{Pokémon|gen=3
|pokemon=Seedot
|pokemon=Seedot
|ndex=273
|ndex=273
Line 390: Line 390:
|move2=Rock Smash|move2type=Fighting
|move2=Rock Smash|move2type=Fighting
}}
}}
|pokemon3={{Pokémon/3
|pokemon3={{Pokémon|gen=3
|pokemon=Ralts  
|pokemon=Ralts  
|ndex=280
|ndex=280
Line 400: Line 400:
|move2=Confusion|move2type=Psychic
|move2=Confusion|move2type=Psychic
}}
}}
|pokemon4={{Pokémon/3
|pokemon4={{Pokémon|gen=3/Shadow
|ndex=162
|pokemon=Furret
|pokemon=Furret
|ndex=162
|level=33
|level=33
|type1=Normal
|type1=Normal
|alt=Shadow
|ability=No Ability
|move1=Shadow Rush|move1type=Shadow
|move1=Shadow Rush
|move2=Helping Hand|move2type=Normal
|move1type=Shadow
|move3=Quick Attack|move3type=Normal
|move2=Helping Hand
|move4=Strength|move4type=Normal}}
|move2type=Normal
|move3=Quick Attack
|move3type=Normal
|move4=Strength
|move4type=Normal}}
}}
}}
</pre>
</pre>
<noinclude>[[Category:Documentation templates]][[Category:Party templates]]</noinclude>
<noinclude>[[Category:Documentation templates]][[Category:Party templates]]</noinclude>

Revision as of 10:30, 17 December 2010

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 24 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).
  • 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.
  • 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.

Examples

Single Battle, HGSS



Code:

{{Party
|color={{fighting color}}|bordercolor={{fighting color dark}}|headcolor={{fighting color light}}
|sprite=ChuckHGSS.gif
|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=Fighting
|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=Water|type2=Fighting
|ability=Water Absorb
|held=Sitrus 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}}
}}

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=MagmaBossMaxie.png
|class2=Magma Admin
|name2=Tabitha
|sprite2=Tabithasprite.png
|game=E
|location=Mossdeep Space Center
|prize={{pdollar}}5120
|pokemon=6
|pokemon1={{Pokémon|gen=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|gen=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|gen=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|gen=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|gen=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|gen=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, Red/Blue



Code:

{{Party
|color={{grass color}}|headcolor={{grass color light}}|bordercolor={{grass color dark}}
|sprite=ErikaRBYsprite.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, 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
|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|gen=3
|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|gen=3
|pokemon=Ralts 
|ndex=280
|level=29
|gender=female
|type1=Psychic
|ability=Trace
|move1=Imprison|move1type=Psychic
|move2=Confusion|move2type=Psychic
}}
|pokemon4={{Pokémon|gen=3/Shadow
|ndex=162
|pokemon=Furret
|level=33
|type1=Normal
|ability=No Ability
|move1=Shadow Rush
|move1type=Shadow
|move2=Helping Hand
|move2type=Normal
|move3=Quick Attack
|move3type=Normal
|move4=Strength
|move4type=Normal}}
}}