Template:Party/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(created doc page)
 
mNo edit summary
Line 369: Line 369:
}}
}}
</pre>
</pre>
<noinclude>[[Category:Other templates]]</noinclude>

Revision as of 04:14, 4 August 2010

The following is documentation for using the Party template to display detailed info on trainers and their pokemon.

Party

The Party template creates a standalone table displaying one trainer battle (single or double) and their pokemon. The table displays more detailed information about the trainers pokemon 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 pokemon 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:{{color fire 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: interwiki link to the game this trainer is in. This parameter may use of the v2 template.
  • location: interwiki 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: interwiki 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

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