Template:Party/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Magma Leader)
m (cat)
Line 492: Line 492:
}}
}}
</pre>
</pre>
<noinclude>[[Category:Documentation templates]]</noinclude>
<noinclude>[[Category:Documentation templates]][[Category:Party templates]]</noinclude>

Revision as of 03:12, 27 November 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: Link to class of Trainer 1. Applies regardless of tag parameter.
  • name: Name of Trainer 1. Applies regardless of tag parameter.
  • game: Link to the game this Trainer is in. This parameter may use of {{V2}}.
  • location: Link to Trainer location.
  • 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: Link to class of Trainer 2. Only applies if tag parameter is yes.
  • 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={{2v2|HeartGold|SoulSilver}}
|location=Cianwood Gym
|pokemon=2

|pokemon1={{Pokémon
|gen=4
|ndex=057
|pokemon=Primeape
|game=HeartGold and SoulSilver
|gender=male
|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
|level=29
}}

|pokemon2={{Pokémon
|gen=4
|ndex=062
|pokemon=Poliwrath
|game=HeartGold and SoulSilver
|gender=male
|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
|level=31}}
}}

Double Battle, Ruby



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={{v2|Emerald}}
|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={{3v2|Red|Green|Blue}}|
location=Celadon Gym|
pokemon=3|
pokemon1={{Pokémon|gen=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|gen=1|game=Red|
ndex=114|
pokemon=Tangela|
level=24|
type1=Grass|
move1=Bind|
move1type=Normal|
move2=Constrict|
move2type=Normal}}|
pokemon3={{Pokémon|gen=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={{g|Colosseum}}
|location=Pyrite Town
|pokemon=4
|pokemon1={{Pokémon
|pokemon=Machop
|ndex=066|gen=3
|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
|pokemon=Seedot
|ndex=273|gen=3
|level=29
|gender=male
|type1=Grass
|ability=Early Bird 
|move1=Bide
|move1type=Normal
|move2=Rock Smash
|move2type=Fighting
}}
|pokemon3={{Pokémon
|pokemon=Ralts 
|ndex=280|gen=3
|level=29
|gender=female
|type1=Psychic
|ability=Trace
|move1=Imprison
|move1type=Psychic
|move2=Confusion
|move2type=Psychic
}}
|pokemon4={{Pokémon
|pokemon=Furret
|ndex=162|gen=3
|level=33
|type1=Normal
|alt=Shadow
|move1=Shadow Rush
|move1type=Shadow
|move2=Helping Hand
|move2type=Normal
|move3=Quick Attack
|move3type=Normal
|move4=Strength
|move4type=Normal}}
}}