Template:Party/Tag: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Adding BDSP) |
m (→Intro) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="expandable" style="float:left; {{roundy|20px}} background: #{{{color|68A090}}}; border: 2px solid #{{{bordercolor|44685E}}}" cellspacing="1" cellpadding="2" | {| class="expandable" style="float:left; {{roundy|20px}} background: #{{{color|68A090}}}; border: 2px solid #{{{bordercolor|44685E}}}; border-collapse: separate;" cellspacing="1" cellpadding="2" | ||
|- | |- | ||
| | | | ||
{| style="margin:auto; background: transparent" cellspacing="1" cellpadding="2" | <center> | ||
! width="80px" height="80px" style="{{roundy|80px}} background: #{{{headcolor1|9DC1B7}}}; border: 2px solid #{{{bordercolor1|44685E}}}" | [[File:{{{sprite|Spr Y Oak.png}}}|{{{size| }}}]] | {| style="margin:auto; background: transparent; border-collapse: separate;" cellspacing="1" cellpadding="2" | ||
! width="{{{width|80px}}}" height="{{{height|80px}}}" style="{{roundy|80px}} background: #{{{headcolor1|9DC1B7}}}; border: 2px solid #{{{bordercolor1|44685E}}}; overflow:hidden" | [[File:{{{sprite|Spr Y Oak.png}}}|{{{size| }}}]] | |||
| | | | ||
{| class="roundy" width="200px" style="margin:auto; text-align:center; background: #{{{headcolor|9DC1B7}}}; border-collapse:collapse" | {| class="roundy" width="200px" style="margin:auto; text-align:center; background: #{{{headcolor|9DC1B7}}}; border-collapse:collapse" | ||
Line 16: | Line 17: | ||
| colspan="3" | '''[[{{{location|Glitch City}}}|<span style="color:#000">{{{locationname|{{{location|Glitch City}}}}}}</span>]]''' | | colspan="3" | '''[[{{{location|Glitch City}}}|<span style="color:#000">{{{locationname|{{{location|Glitch City}}}}}}</span>]]''' | ||
|- | |- | ||
| colspan="3" | <small>{{#switch: {{{game|RG}}}|RG=[[Pokémon Red and Green Versions|<span style="color:#000">Red and Green</span>]]|RGB=[[Pokémon Red and Green Versions|<span style="color:#000">Red, Green</span>]], and [[Pokémon Blue Version (Japanese)|<span style="color:#000">Blue</span>]]|RGBY=[[Pokémon Red and Green Versions|<span style="color:#000">Red, Green</span>]], [[Pokémon Blue Version (Japanese)|<span style="color:#000">Blue</span>]], and [[Pokémon Yellow Version|<span style="color:#000">Yellow</span>]]|Y=[[Pokémon Yellow Version|<span style="color:#000">Yellow</span>]]|GS=[[Pokémon Gold and Silver Versions|<span style="color:#000">Gold and Silver</span>]]|GSC=[[Pokémon Gold and Silver Versions|<span style="color:#000">Gold, Silver</span>]], and [[Pokémon Crystal Version|<span style="color:#000">Crystal</span>]]|C=[[Pokémon Crystal Version|<span style="color:#000">Crystal</span>]]|Ru=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby</span>]]|Sa=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Sapphire</span>]]|RS|RuSa=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby and Sapphire</span>]]|RSE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby, Sapphire</span>]], and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|RE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby</span>]] and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|SE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Sapphire</span>]] and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|E=[[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|FRLG|FL=[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">FireRed and LeafGreen</span>]]|DP=[[Pokémon Diamond and Pearl Versions|<span style="color:#000">Diamond and Pearl</span>]]|DPP|DPPt=[[Pokémon Diamond and Pearl Versions|<span style="color:#000">Diamond, Pearl</span>]], and [[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]]|Pt=[[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]]|HGSS|HS=[[Pokémon HeartGold and SoulSilver Versions|<span style="color:#000">HeartGold and SoulSilver</span>]]|PtHGSS=[[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]], [[Pokémon HeartGold and SoulSilver Versions|<span style="color:#000">HeartGold, and SoulSilver</span>]]|BW=[[Pokémon Black and White Versions|<span style="color:#000">Black and White</span>]]|Bl=[[Pokémon Black and White Versions|<span style="color:#000">Black</span>]]|W=[[Pokémon Black and White Versions|<span style="color:#000">White</span>]]|B2W2=[[Pokémon Black and White Versions 2|<span style="color:#000">Black 2 and White 2</span>]]|B2=[[Pokémon Black and White Versions 2|<span style="color:#000">Black 2</span>]]|W2=[[Pokémon Black and White Versions 2|<span style="color:#000">White 2</span>]]|BWB2W2=[[Pokémon Black and White Versions|<span style="color:#000">Black, White</span>]], [[Pokémon Black and White Versions 2|<span style="color:#000">Black 2, and White 2</span>]]|XY=[[Pokémon X and Y|<span style="color:#000">X and Y</span>]]|X=[[Pokémon X and Y|<span style="color:#000">X</span>]]|y=[[Pokémon X and Y|<span style="color:#000">Y</span>]]|ORAS=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Omega Ruby and Alpha Sapphire</span>]]|OR=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Omega Ruby</span>]]|AS=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Alpha Sapphire</span>]]|SM=[[Pokémon Sun and Moon|<span style="color:#000">Sun and Moon</span>]]|Su=[[Pokémon Sun and Moon|<span style="color:#000">Sun</span>]]|M=[[Pokémon Sun and Moon|<span style="color:#000">Moon</span>]]|SMUSUM=[[Pokémon Sun and Moon|<span style="color:#000">Sun, Moon</span>]], [[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun, and Ultra Moon</span>]]|USUM=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun and Ultra Moon</span>]]|US=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun</span>]]|UM=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Moon</span>]]|LGPE|PE=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Pikachu! and Let's Go, Eevee!</span>]]|LGP=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Pikachu!</span>]]|LGE=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Eevee!</span>]]|SwSh=[[Pokémon Sword and Shield|<span style="color:#000">Sword and Shield</span>]]|BDSP=[[Pokémon Brilliant Diamond and Shining Pearl|<span style="color:#000">Brilliant Diamond and Shining Pearl</span>]]|Colo=[[Pokémon Colosseum|<span style="color:#000">Colosseum</span>]]|XD=[[Pokémon XD: Gale of Darkness|<span style="color:#000">Pokémon XD</span>]]|PBR=[[Pokémon Battle Revolution|<span style="color:#000">Pokémon Battle Revolution</span>]]|{{{game|All games}}}}}</small> | | colspan="3" | <small>{{#switch: {{{game|RG}}}|RG=[[Pokémon Red and Green Versions|<span style="color:#000">Red and Green</span>]]|RGB=[[Pokémon Red and Green Versions|<span style="color:#000">Red, Green</span>]], and [[Pokémon Blue Version (Japanese)|<span style="color:#000">Blue</span>]]|RGBY=[[Pokémon Red and Green Versions|<span style="color:#000">Red, Green</span>]], [[Pokémon Blue Version (Japanese)|<span style="color:#000">Blue</span>]], and [[Pokémon Yellow Version|<span style="color:#000">Yellow</span>]]|Y=[[Pokémon Yellow Version|<span style="color:#000">Yellow</span>]]|GS=[[Pokémon Gold and Silver Versions|<span style="color:#000">Gold and Silver</span>]]|GSC=[[Pokémon Gold and Silver Versions|<span style="color:#000">Gold, Silver</span>]], and [[Pokémon Crystal Version|<span style="color:#000">Crystal</span>]]|C=[[Pokémon Crystal Version|<span style="color:#000">Crystal</span>]]|Ru=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby</span>]]|Sa=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Sapphire</span>]]|RS|RuSa=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby and Sapphire</span>]]|RSE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby, Sapphire</span>]], and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|RE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Ruby</span>]] and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|SE=[[Pokémon Ruby and Sapphire Versions|<span style="color:#000">Sapphire</span>]] and [[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|E=[[Pokémon Emerald Version|<span style="color:#000">Emerald</span>]]|FRLG|FL=[[Pokémon FireRed and LeafGreen Versions|<span style="color:#000">FireRed and LeafGreen</span>]]|DP=[[Pokémon Diamond and Pearl Versions|<span style="color:#000">Diamond and Pearl</span>]]|DPP|DPPt=[[Pokémon Diamond and Pearl Versions|<span style="color:#000">Diamond, Pearl</span>]], and [[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]]|Pt=[[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]]|HGSS|HS=[[Pokémon HeartGold and SoulSilver Versions|<span style="color:#000">HeartGold and SoulSilver</span>]]|PtHGSS=[[Pokémon Platinum Version|<span style="color:#000">Platinum</span>]], [[Pokémon HeartGold and SoulSilver Versions|<span style="color:#000">HeartGold, and SoulSilver</span>]]|BW=[[Pokémon Black and White Versions|<span style="color:#000">Black and White</span>]]|Bl=[[Pokémon Black and White Versions|<span style="color:#000">Black</span>]]|W=[[Pokémon Black and White Versions|<span style="color:#000">White</span>]]|B2W2=[[Pokémon Black and White Versions 2|<span style="color:#000">Black 2 and White 2</span>]]|B2=[[Pokémon Black and White Versions 2|<span style="color:#000">Black 2</span>]]|W2=[[Pokémon Black and White Versions 2|<span style="color:#000">White 2</span>]]|BWB2W2=[[Pokémon Black and White Versions|<span style="color:#000">Black, White</span>]], [[Pokémon Black and White Versions 2|<span style="color:#000">Black 2, and White 2</span>]]|XY=[[Pokémon X and Y|<span style="color:#000">X and Y</span>]]|X=[[Pokémon X and Y|<span style="color:#000">X</span>]]|y=[[Pokémon X and Y|<span style="color:#000">Y</span>]]|ORAS=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Omega Ruby and Alpha Sapphire</span>]]|OR=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Omega Ruby</span>]]|AS=[[Pokémon Omega Ruby and Alpha Sapphire|<span style="color:#000">Alpha Sapphire</span>]]|SM=[[Pokémon Sun and Moon|<span style="color:#000">Sun and Moon</span>]]|Su=[[Pokémon Sun and Moon|<span style="color:#000">Sun</span>]]|M=[[Pokémon Sun and Moon|<span style="color:#000">Moon</span>]]|SMUSUM=[[Pokémon Sun and Moon|<span style="color:#000">Sun, Moon</span>]], [[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun, and Ultra Moon</span>]]|USUM=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun and Ultra Moon</span>]]|US=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Sun</span>]]|UM=[[Pokémon Ultra Sun and Ultra Moon|<span style="color:#000">Ultra Moon</span>]]|LGPE|PE=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Pikachu! and Let's Go, Eevee!</span>]]|LGP=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Pikachu!</span>]]|LGE=[[Pokémon: Let's Go, Pikachu! and Let's Go, Eevee!|<span style="color:#000">Let's Go, Eevee!</span>]]|SwSh=[[Pokémon Sword and Shield|<span style="color:#000">Sword and Shield</span>]]|BDSP=[[Pokémon Brilliant Diamond and Shining Pearl|<span style="color:#000">Brilliant Diamond and Shining Pearl</span>]]|SV=[[Pokémon Scarlet and Violet|<span style="color:#000">Scarlet and Violet</span>]]|Colo=[[Pokémon Colosseum|<span style="color:#000">Colosseum</span>]]|XD=[[Pokémon XD: Gale of Darkness|<span style="color:#000">Pokémon XD</span>]]|PBR=[[Pokémon Battle Revolution|<span style="color:#000">Pokémon Battle Revolution</span>]]|{{{game|All games}}}}}</small> | ||
|} | |} | ||
! width="80px" height="80px" style="{{roundy|80px}} background: #{{{headcolor2|9DC1B7}}}; border: 2px solid #{{{bordercolor2|44685E}}}" | [[File:{{{sprite2|Spr Y Oak.png}}}|{{{size2| }}}]] | ! width="{{{width|80px}}}" height="{{{height|80px}}}" style="{{roundy|80px}} background: #{{{headcolor2|9DC1B7}}}; border: 2px solid #{{{bordercolor2|44685E}}}; overflow:hidden" | [[File:{{{sprite2|Spr Y Oak.png}}}|{{{size2| }}}]] | ||
|- | |- | ||
| style="text-align:center;" | <div style="line-height:10px"><small>Reward:</small></div>'''{{{prize| | | style="text-align:center;" | {{#ifeq:{{{prize|}}}|none||<div style="line-height:10px"><small>Reward:</small></div>'''{{{prize|{{PDollar}}0}}}'''}} | ||
| | | | ||
{| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse" | {| class="roundy" style="margin:auto; background: transparent; border-collapse:collapse" | ||
Line 34: | Line 35: | ||
|} | |} | ||
|} | |} | ||
</center> | |||
| | | | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{| width="100%" class="roundytop" style="background: #{{{color1}}}; border: 5px solid #{{{color1}}}" | {| width="100%" class="roundytop" style="margin:auto; background: #{{{color1}}}; border: 5px solid #{{{color1}}}" | ||
<noinclude>|} | <noinclude>|} | ||
|}<br/ style="clear:both;"> | |}<br/ style="clear:both;"> | ||
{{Documentation}} | |||
[[Category:Party templates]]</noinclude> | [[Category:Party templates]]</noinclude> |
Latest revision as of 19:54, 21 August 2024
|
[show] |
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
{{Party/Tag}}
is used to display detailed info on a team's party and Pokémon for a battle against two Trainers. For battles against a single Trainer, use {{Party/Single}}
.
How to use:
- Use
{{Party/Tag}}
at the top. - Use up to six
{{Pokémon/.}}
templates (upto three for each trainer), selecting the appropriate generation subtemplate. - All Pokémon entries must have a vertical pipe "
|
" before them.- If either Trainer has less than three Pokémon, all of that Trainer's Pokémon entries must begin with "
| style="margin:auto" |
" instead.
- If either Trainer has less than three Pokémon, all of that Trainer's Pokémon entries must begin with "
- After the first Trainer's Pokémon, use
{{Party/Div}}
. It contains only one parameter; color, which should match the head template's headcolor2 parameter in battles against two Trainers. - After the second Trainer's final Pokémon, use
{{Party/Footer}}
to close the template. It has no parameters.
{{Party/Tag |color= |bordercolor= |headcolor= |color1= |bordercolor1= |headcolor1= |bordercolor2= |headcolor2= |class= |classlink= |name= |sprite= |size= |class2= |classlink2= |name2= |sprite2= |size2= |game= |location= |locationname= |prize= |pokemon1= |pokemon2= }}
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
color | Color template | Main background color. |
bordercolor | Border color. | |
headcolor | Trainer information background color. | |
color1 | First Trainer background color. | |
bordercolor1 | First Trainer border color. | |
headcolor1 | First Trainer sprite background color. | |
bordercolor2 | Second Trainer border color. | |
headcolor2 | Second Trainer sprite background color. | |
class | String | First Trainer's Trainer class. |
classlink | String | Optional. Link override for the first trainer's Trainer class. |
name | String | First Trainer's name. |
sprite | Filename | First Trainer's sprite filename, with filename extension. |
size | Filesize | Size of First Trainer's sprite, only if size reduction is required. |
class2 | String | Second Trainer's Trainer class. |
classlink2 | String | Optional. Link override for the second trainer's Trainer class. |
name2 | String | Second Trainer's name. |
sprite2 | Filename | Second Trainer's sprite filename, with filename extension. |
size2 | Filesize | Size of Second Trainer's sprite, only if size reduction is required. |
prize | String | Prize for defeating the Trainers, without any money-increasing effects applied.
Entering " |
game | Valid abbreviation • String | Game(s) the battle takes place in. |
location | String | Location where the battle takes place. |
locationname | String | Optional. Display override for the location. |
pokemon1 | 1 • 2 • 3
|
Number of Pokémon in the first Trainer's party. |
pokemon2 | 0 • 1 • 2 • 3
|
Number of Pokémon in the second Trainer's party. |
Example
The code of Pokémon block is not shown in the below example.
{{Party/Tag |color={{kalos color}} |bordercolor={{kalos color dark}} |headcolor={{kalos color light}} |color1={{castle color}} |bordercolor1={{castle color dark}} |headcolor1={{castle color light}} |color2={{orange color}} |bordercolor2={{orange color dark}} |headcolor2={{orange color light}} |class=Pokémon Trainer |classlink=Pokémon Trainer |name={{color2|000|Trevor}} |sprite=VSTrevor.png |size=150px |class2=Pokémon Trainer |classlink2=Pokémon Trainer |name2=Tierno |sprite2=VSTierno.png |size2=150px |game=XY |location=Kalos Route 7 |locationname=Route 7 |prize={{pdollar}}3000 |pokemon1=2 |pokemon2=1 }} | style="margin:auto" | {{Pokémon/6}} | style="margin:auto" | {{Pokémon/6}} {{Party/Div|color={{orange color}}}} | style="margin:auto" | {{Pokémon/6}} {{Party/Footer}}
|
[show] |