77,629
edits
(How did I find this page again?) |
(fixing Trainer and other things, adding a single battle current gen example. Also, interwiki means "between wikis", you wanted "internal link") |
||
Line 1: | Line 1: | ||
The following is documentation for using | The following is documentation for using {{Template|Party}} to display detailed info on Trainers and their Pokémon. | ||
== Party == | ==Party== | ||
The Party template creates a standalone table displaying one | 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 [[Template:Trainerheader/doc|Trainer templates]]. | ||
===Usage=== | ===Usage=== | ||
Line 13: | Line 13: | ||
* 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. | * class: Link to class of Trainer 1. Applies regardless of tag parameter. | ||
* name: Name of Trainer 1. | * name: Name of Trainer 1. Applies regardless of tag parameter. | ||
* game: | * game: Link to the game this Trainer is in. This parameter may use of {{Template|V2}}. | ||
* location: | * location: Link to Trainer location. | ||
* pokemon: Number of pokemon this | * 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. | ||
Line 24: | Line 24: | ||
* 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: | * 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. | * 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: | * pokemon1: {{Template|Pokémon}} for Pokémon 1. | ||
* pokemon2: | * pokemon2: {{Template|Pokémon}} for Pokémon 2. | ||
* pokemon3: | * pokemon3: {{Template|Pokémon}} for Pokémon 3. | ||
* pokemon4: | * pokemon4: {{Template|Pokémon}} for Pokémon 4. | ||
* pokemon5: | * pokemon5: {{Template|Pokémon}} for Pokémon 5. | ||
* pokemon6: | * pokemon6: {{Template|Pokémon}} for Pokémon 6. | ||
==Examples== | |||
===Single Battle, HGSS=== | |||
{{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 | ||
=== Double Battle, Ruby=== | |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}} | |||
}} | |||
Code: | |||
<pre> | |||
{{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}} | |||
}} | |||
</pre> | |||
===Double Battle, Ruby=== | |||
{{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}} |