Template:Party/doc: Difference between revisions

if it's teaching people how to use templates, it should obey convention
mNo edit summary
(if it's teaching people how to use templates, it should obey convention)
Line 10: Line 10:
* color: Color scheme template. This is the dominant background color of the table. It should match the Trainer's Pokémon team type (example:<nowiki>{{fire color}}</nowiki>). It can also be another color template where applicable (example:<nowiki>{{ruby color}}</nowiki>). Note that this color is typically lighter than the bordercolor parameter.
* color: Color scheme template. This is the dominant background color of the table. It should match the Trainer's Pokémon team type (example:<nowiki>{{fire color}}</nowiki>). It can also be another color template where applicable (example:<nowiki>{{ruby color}}</nowiki>). 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:<nowiki>{{fire color dark}}</nowiki>).
* 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:<nowiki>{{fire color dark}}</nowiki>).
* headcolor: Color scheme template. The background color of the header segment of the table. Typically lighter than the color parameter (example:<nowiki>{{fire color light}}</nowiki>).
* headcolor: Color scheme template. The background color of the header segment of the table. Typically lighter than the color parameter (example:<nowiki>{{fire color light}}</nowiki>).
* sprite: Image sprite for Trainer 1. Should be the filename written in plain text. Applies regardless of tag parameter.
* 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:<nowiki>{{pdollar}}510</nowiki>).
* prize: Amount of prize money for defeating opponent(s). Should include unit template before value (example:<nowiki>{{pdollar}}510</nowiki>).
* class: Link to class of Trainer 1. Applies regardless of tag parameter.
* 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.
* name: Name of Trainer 1. Applies regardless of tag parameter.
* game: Link to the game this Trainer is in. This parameter may use of {{template|V2}}.
* game: Game this Trainer is in.
* location: Link to Trainer location.
** 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.
* pokemon: Number of pokemon this Trainer is carrying.


* tag: 'yes' or 'no' specifying if this is a double battle. Default is no.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* 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.
* sprite2: Image sprite for Trainer 2. Should be a text filename complete with file ending type. Only applies if tag parameter is yes.


* pokemon1: {{Template|Pokémon}} for Pokémon 1.
* pokemon1: {{template|Pokémon}} for Pokémon 1.
* pokemon2: {{Template|Pokémon}} for Pokémon 2.
* pokemon2: {{template|Pokémon}} for Pokémon 2.
* pokemon3: {{Template|Pokémon}} for Pokémon 3.
* pokemon3: {{template|Pokémon}} for Pokémon 3.
* pokemon4: {{Template|Pokémon}} for Pokémon 4.
* pokemon4: {{template|Pokémon}} for Pokémon 4.
* pokemon5: {{Template|Pokémon}} for Pokémon 5.
* pokemon5: {{template|Pokémon}} for Pokémon 5.
* pokemon6: {{Template|Pokémon}} for Pokémon 6.
* pokemon6: {{template|Pokémon}} for Pokémon 6.
** Note that it is preferred to directly use a subtemplate of {{template|Pokémon}} than to use the gen parameter. The subtemplates are named Pokémon/Generation number (example: {{template|Pokémon/3}}).


==Examples==
==Examples==
===Single Battle, HGSS===
===Single Battle, HGSS===
{{Party
{{Party
|color={{fighting color}}
|color={{fighting color}}|bordercolor={{fighting color dark}}|headcolor={{fighting color light}}
|bordercolor={{fighting color dark}}
|headcolor={{fighting color light}}
|sprite=ChuckHGSS.gif
|sprite=ChuckHGSS.gif
|prize={{pdollar}}3720
|prize={{pdollar}}3720
|class=Leader
|class=Leader
|name=Chuck
|name=Chuck
|game={{2v2|HeartGold|SoulSilver}}
|game=HGSS
|location=Cianwood Gym
|location=Cianwood Gym
|pokemon=2
|pokemon=2


|pokemon1={{Pokémon
|pokemon1={{Pokémon/4
|gen=4
|ndex=057
|ndex=057
|pokemon=Primeape
|pokemon=Primeape
Line 61: Line 61:
|move2=Double Team|move2type=Normal|move2cat=Status
|move2=Double Team|move2type=Normal|move2cat=Status
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move4=Leer|move4type=Normal|move4cat=Status
|move4=Leer|move4type=Normal|move4cat=Status}}
}}


|pokemon2={{Pokémon
|pokemon2={{Pokémon/4
|gen=4
|ndex=062
|ndex=062
|pokemon=Poliwrath
|pokemon=Poliwrath
Line 83: Line 81:
<pre>
<pre>
{{Party
{{Party
|color={{fighting color}}
|color={{fighting color}}|bordercolor={{fighting color dark}}|headcolor={{fighting color light}}
|bordercolor={{fighting color dark}}
|headcolor={{fighting color light}}
|sprite=ChuckHGSS.gif
|sprite=ChuckHGSS.gif
|prize={{pdollar}}3720
|prize={{pdollar}}3720
|class=Leader
|class=Leader
|name=Chuck
|name=Chuck
|game={{2v2|HeartGold|SoulSilver}}
|game=HGSS
|location=Cianwood Gym
|location=Cianwood Gym
|pokemon=2
|pokemon=2


|pokemon1={{Pokémon
|pokemon1={{Pokémon/4
|gen=4
|ndex=057
|ndex=057
|pokemon=Primeape
|pokemon=Primeape
|game=HeartGold and SoulSilver
|game=HeartGold and SoulSilver
|gender=male
|level=29
|level=29
|gender=male
|type1=Fighting
|type1=Fighting
|ability=Vital Spirit
|ability=Vital Spirit
Line 106: Line 101:
|move2=Double Team|move2type=Normal|move2cat=Status
|move2=Double Team|move2type=Normal|move2cat=Status
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move3=Focus Punch|move3type=Fighting|move3cat=Physical
|move4=Leer|move4type=Normal|move4cat=Status
|move4=Leer|move4type=Normal|move4cat=Status}}
}}


|pokemon2={{Pokémon
|pokemon2={{Pokémon/4
|gen=4
|ndex=062
|ndex=062
|pokemon=Poliwrath
|pokemon=Poliwrath
Line 126: Line 119:
</pre>
</pre>


===Double Battle, Ruby===
===Double Battle, Emerald===
{{Party|tag=yes|color={{ruby color light}}|bordercolor={{ruby color}}|headcolor={{fire color light}}
{{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}}
|color1={{ruby color light}}|headcolor1={{fire color}}|color2={{ruby color light}}|headcolor2={{fire color}}
|class=Magma Leader
|class=Magma Leader
Line 135: Line 129:
|name2=Tabitha
|name2=Tabitha
|sprite2=Tabithasprite.png
|sprite2=Tabithasprite.png
|game={{v2|Emerald}}
|game=E
|location=Mossdeep Space Center
|location=Mossdeep Space Center
|prize={{pdollar}}5120
|prize={{pdollar}}5120
Line 178: Line 172:
Code:
Code:
<pre>
<pre>
{{Party|tag=yes|color={{ruby color light}}|bordercolor={{ruby color}}|headcolor={{fire color light}}
{{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}}
|color1={{ruby color light}}|headcolor1={{fire color}}|color2={{ruby color light}}|headcolor2={{fire color}}
|class=Magma Leader
|class=Magma Leader
Line 186: Line 181:
|name2=Tabitha
|name2=Tabitha
|sprite2=Tabithasprite.png
|sprite2=Tabithasprite.png
|game={{v2|Emerald}}
|game=E
|location=Mossdeep Space Center
|location=Mossdeep Space Center
|prize={{pdollar}}5120
|prize={{pdollar}}5120
Line 229: Line 224:


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


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


===Single Battle, Colosseum===
===Single Battle, Colosseum===
{{Party|
{{Party
|color={{colo color}}
|color={{colo color}}|bordercolor={{colo color dark}}|headcolor={{colo color light}}
|bordercolor={{colo color dark}}
|headcolor={{colo color light}}
|sprite=Colo Rogue Cail.png{{!}}75px
|sprite=Colo Rogue Cail.png{{!}}75px
|prize={{pdollar}}464
|prize={{pdollar}}464
|class=Rogue
|class=Rogue
|name=Cail
|name=Cail
|game={{g|Colosseum}}
|game=Colo
|location=Pyrite Town
|location=Pyrite Town
|pokemon=4
|pokemon=4
|pokemon1={{Pokémon
|pokemon1={{Pokémon/3
|pokemon=Machop
|pokemon=Machop
|ndex=066|gen=3
|ndex=066
|level=29
|level=29
|gender=male
|gender=male
Line 325: Line 326:
|move3=Strength|move3type=Normal
|move3=Strength|move3type=Normal
}}
}}
|pokemon2={{Pokémon
|pokemon2={{Pokémon/3
|pokemon=Seedot
|pokemon=Seedot
|ndex=273|gen=3
|ndex=273
|level=29
|level=29
|gender=male
|gender=male
Line 335: Line 336:
|move2=Rock Smash|move2type=Fighting
|move2=Rock Smash|move2type=Fighting
}}
}}
|pokemon3={{Pokémon
|pokemon3={{Pokémon/3
|pokemon=Ralts  
|pokemon=Ralts  
|ndex=280|gen=3
|ndex=280
|level=29
|level=29
|gender=female
|gender=female
Line 345: Line 346:
|move2=Confusion|move2type=Psychic
|move2=Confusion|move2type=Psychic
}}
}}
|pokemon4={{Pokémon
|pokemon4={{Pokémon/3
|pokemon=Furret
|pokemon=Furret
|ndex=162|gen=3
|ndex=162
|level=33
|level=33
|type1=Normal
|type1=Normal
Line 356: Line 357:
|move4=Strength|move4type=Normal}}
|move4=Strength|move4type=Normal}}
}}
}}
Code:
Code:
<pre>
<pre>
{{Party|
{{Party
|color={{colo color}}
|color={{colo color}}|bordercolor={{colo color dark}}|headcolor={{colo color light}}
|bordercolor={{colo color dark}}
|headcolor={{colo color light}}
|sprite=Colo Rogue Cail.png{{!}}75px
|sprite=Colo Rogue Cail.png{{!}}75px
|prize={{pdollar}}464
|prize={{pdollar}}464
|class=Rogue
|class=Rogue
|name=Cail
|name=Cail
|game={{g|Colosseum}}
|game=Colo
|location=Pyrite Town
|location=Pyrite Town
|pokemon=4
|pokemon=4
|pokemon1={{Pokémon
|pokemon1={{Pokémon/3
|pokemon=Machop
|pokemon=Machop
|ndex=066|gen=3
|ndex=066
|level=29
|level=29
|gender=male
|gender=male
Line 380: Line 380:
|move3=Strength|move3type=Normal
|move3=Strength|move3type=Normal
}}
}}
|pokemon2={{Pokémon
|pokemon2={{Pokémon/3
|pokemon=Seedot
|pokemon=Seedot
|ndex=273|gen=3
|ndex=273
|level=29
|level=29
|gender=male
|gender=male
Line 390: Line 390:
|move2=Rock Smash|move2type=Fighting
|move2=Rock Smash|move2type=Fighting
}}
}}
|pokemon3={{Pokémon
|pokemon3={{Pokémon/3
|pokemon=Ralts  
|pokemon=Ralts  
|ndex=280|gen=3
|ndex=280
|level=29
|level=29
|gender=female
|gender=female
Line 400: Line 400:
|move2=Confusion|move2type=Psychic
|move2=Confusion|move2type=Psychic
}}
}}
|pokemon4={{Pokémon
|pokemon4={{Pokémon/3
|pokemon=Furret
|pokemon=Furret
|ndex=162|gen=3
|ndex=162
|level=33
|level=33
|type1=Normal
|type1=Normal