Template:Party/doc

The following is documentation for using 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: ). It can also be another color template where applicable (example:  ). 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: ).
 * headcolor: Color scheme template. The background color of the header segment of the table. Typically lighter than the color parameter (example:  ).
 * 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: 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.
 * 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: for Pokémon 1.
 * pokemon2: for Pokémon 2.
 * pokemon3: for Pokémon 3.
 * pokemon4: for Pokémon 4.
 * pokemon5: for Pokémon 5.
 * pokemon6: for Pokémon 6.
 * Note that it is preferred to directly use a subtemplate of than to use the gen parameter. The subtemplates are named Pokémon/Generation number (example: ). 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.

Single battle, HGSS
Code:

Double battle, Emerald
Code:

Single battle, RB
Code:

Single battle with a Shadow Pokémon, Colosseum
Code:

Single battle with a Shiny Pokémon, FRLG
Code: