Template talk:Pokémon: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 576: Line 576:
|move4cat=
|move4cat=
}}
}}
Once again only difference is there that there isn't a [[File:ShinyDPStar.png]]. So in some ways, [[User:CuboneKing|CuboneKing]] was right and so was [[User:ElectAbuzzzz|ElectAbuzzzz]]. It sure looks fancier if you use the ''spritegender'' command, but it doesn't matter for the sprite. ----[[User:NateVirus|<span style="color:blue">NateVirus</span>]]<small>''([[User talk:NateVirus|<span style="color:green">Talk</span>]]''|''[[Special:Contributions/NateVirus|<span style="color:red">Contributions</span>]]''</small>) 04:26, 8 December 2011 (UTC)
Once again only difference is there that there isn't a [[File:ShinyIVStar.png]]. So in some ways, [[User:CuboneKing|CuboneKing]] was right and so was [[User:ElectAbuzzzz|ElectAbuzzzz]]. It sure looks fancier if you use the ''spritegender'' command, but it doesn't matter for the sprite. ----[[User:NateVirus|<span style="color:blue">NateVirus</span>]]<small>''([[User talk:NateVirus|<span style="color:green">Talk</span>]]''|''[[Special:Contributions/NateVirus|<span style="color:red">Contributions</span>]]''</small>) 04:26, 8 December 2011 (UTC)


== <nowiki>{{{back}}}</nowiki> parameter ==
== <nowiki>{{{back}}}</nowiki> parameter ==

Revision as of 01:33, 26 November 2012

Code to copy

Generation I

{{Pokémon
|gen=1
|pokemon=
|nickname=
|ndex=
|level=
|game=
|type1=
|type2=
|move1=
|move1type=
|move2=
|move2type=
|move3=
|move3type=
|move4=
|move4type=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Blue for the Red and Blue games or Yellow for the Yellow game. Delete for Stadium.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Held is the item the user is holding.
  • Move1 is the name of the Pokémon's first move.
  • Move1type is the elemental type of the Pokémon's first move.
  • Move2 is the name of the Pokémon's second move.
  • Move2type is the elemental type of the Pokémon's second move.
  • Move3 is the name of the Pokémon's third move.
  • Move3type is the elemental type of the Pokémon's third move.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4type is the elemental type of the Pokémon's fourth move.

Generation II

{{Pokémon
|gen=2
|pokemon=
|nickname=
|ndex=
|level=
|game=
|gender=
|spritegender=
|type1=
|type2=
|held=
|move1=
|move1type=
|move2=
|move2type=
|move3=
|move3type=
|move4=
|move4type=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Gold for the Gold game, Silver for the Silver game or Crystal for the Crystal game. Delete for Stadium 2.
  • Gender is the gender of the Pokémon. Use male if the Pokémon is a male or female if the Pokémon is a female. Delete if the Pokémon is genderless.
  • Spritegender is the gender of the sprite displayed. Since Generation II did not have alternate sprites for different gendered Pokémon, use this to determine whether the Pokémon is shiny. Use shiny if the Pokémon in question is shiny. Delete if the Pokémon is not shiny.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Held is the item the user is holding. If the user is not holding an item, do not include this field.
  • Move1 is the name of the Pokémon's first move.
  • Move1type is the elemental type of the Pokémon's first move.
  • Move2 is the name of the Pokémon's second move.
  • Move2type is the elemental type of the Pokémon's second move.
  • Move3 is the name of the Pokémon's third move.
  • Move3type is the elemental type of the Pokémon's third move.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4type is the elemental type of the Pokémon's fourth move.

Generation III

{{Pokémon
|gen=3
|alt=
|pokemon=
|nickname=
|ndex=
|level=
|game=
|gender=
|spritegender=
|type1=
|type2=
|held=
|ability=
|move1=
|move1type=
|move2=
|move2type=
|move3=
|move3type=
|move4=
|move4type=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Ruby for the Ruby and Sapphire games, Emerald for the Emerald game, and FireRed for the FireRed and LeafGreen games. Delete for Colosseum and XD.
  • Gender is the gender of the Pokémon. Use male if the Pokémon is a male or female if the Pokémon is a female. Delete if the Pokémon is genderless.
  • Spritegender is the gender of the sprite displayed. Since Generation III did not have alternate sprites for different gendered Pokémon, use this to determine whether the Pokémon is shiny. Use shiny if the Pokémon in question is shiny. Delete if the Pokémon is not shiny.
  • Alt is an alternation parameter: if it is set to contest, see below. If it is set to shadow, the Pokémon will be treated as a Shadow Pokémon.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Held is the item the user is holding. If the user is not holding an item, do not include this field.
  • Ability is the Pokemon's ability.
  • Move1 is the name of the Pokémon's first move.
  • Move1type is the elemental type of the Pokémon's first move.
  • Move2 is the name of the Pokémon's second move.
  • Move2type is the elemental type of the Pokémon's second move.
  • Move3 is the name of the Pokémon's third move.
  • Move3type is the elemental type of the Pokémon's third move.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4type is the elemental type of the Pokémon's fourth move.

Generation III contests

{{Pokémon
|gen=3
|alt=contest
|pokemon=
|nickname=
|ndex=
|level=
|game=
|gender=
|spritegender=
|type1=
|type2=
|held=
|ability=
|move1=
|move1cat=
|move1app=
|move1jam=
|move2=
|move2cat=
|move2app=
|move2jam=
|move3=
|move3cat=
|move3app=
|move3jam=
|move4=
|move4cat=
|move4app=
|move4jam=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Ruby for the Ruby and Sapphire games, Emerald for the Emerald game, and FireRed for the FireRed and LeafGreen games. Delete for Colosseum and XD.
  • Gender is the gender of the Pokémon. Use male if the Pokémon is a male or female if the Pokémon is a female. Delete if the Pokémon is genderless.
  • Spritegender is the gender of the sprite displayed. Since Generation III did not have alternate sprites for different gendered Pokémon, use this to determine whether the Pokémon is shiny. Use shiny if the Pokémon in question is shiny. Delete if the Pokémon is not shiny.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Held is the item the Pokémon is holding. If the user is not holding an item, do not include this field.
  • Move1 is the name of the Pokémon's first move.
  • Move1cat is the contest category of the Pokémon's first move.
  • Move1app is the appeal points of the Pokémon's first move.
  • Move1jam is the jam points of the Pokémon's first move.
  • Move2 is the name of the Pokémon's second move.
  • Move2cat is the contest category of the Pokémon's second move.
  • Move2app is the appeal points of the Pokémon's second move.
  • Move2jam is the jam points of the Pokémon's second move.
  • Move3 is the name of the Pokémon's third move.
  • Move3cat is the contest category of the Pokémon's third move.
  • Move3app is the appeal points of the Pokémon's third move.
  • Move3jam is the jam points of the Pokémon's third move.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4cat is the contest category of the Pokémon's fourth move.
  • Move4app is the appeal points of the Pokémon's fourth move.
  • Move4jam is the jam points of the Pokémon's fourth move.

Generation IV

{{Pokémon
|gen=4
|pokemon=
|nickname=
|ndex=
|level=
|game=
|gender=
|spritegender=
|type1=
|type2=
|held=
|ability=
|move1=
|move1type=
|move1cat=
|move2=
|move2type=
|move2cat=
|move3=
|move3type=
|move3cat=
|move4=
|move4type=
|move4cat=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Diamond for the Diamond and Pearl games or Platinum for the Platinum game. Delete for Battle Revolution.
  • Gender is the gender of the Pokémon. Use male if the Pokémon is a male or female if the Pokémon is a female. Delete if the Pokémon is genderless.
  • Spritegender is the gender of the sprite displayed. It can also determine whether the Pokémon is shiny or not. Use male if the Pokémon is a male, female if the Pokémon is a female, shiny if the Pokémon is shiny and genderless or shiny with no difference between the male and female sprites, shiny male if the Pokémon is shiny and male, or shiny female if the Pokémon is shiny and female. Delete if the Pokémon is genderless and not shiny or if the Pokémon does not have differing sprites for male and female and is not shiny.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Held is the item the user is holding. If the user is not holding an item, do not include this field.
  • Ability is the Pokemon's ability.
  • Move1 is the name of the Pokémon's first move.
  • Move1type is the elemental type of the Pokémon's first move.
  • Move1cat is the type of the Pokémon's first move. Use either Physical, Special, or Status.
  • Move2 is the name of the Pokémon's second move.
  • Move2type is the elemental type of the Pokémon's second move.
  • Move2cat is the type of the Pokémon's second move. Use either Physical, Special, or Status.
  • Move3 is the name of the Pokémon's third move.
  • Move3type is the elemental type of the Pokémon's third move.
  • Move3cat is the type of the Pokémon's third move. Use either Physical, Special, or Status.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4type is the elemental type of the Pokémon's fourth move.
  • Move4cat is the type of the Pokémon's fourth move. Use either Physical, Special, or Status.

Generation IV contest

{{Pokémon
|gen=4
|alt=contest
|pokemon=
|nickname=
|ndex=
|level=
|game=
|gender=
|spritegender=
|type1=
|type2=
|move1=
|move1cat=
|move1app=
|move2=
|move2cat=
|move2app=
|move3=
|move3cat=
|move3app=
|move4=
|move4cat=
|move4app=
}}

Description of fields

  • Pokemon is the name of the Pokémon.
  • Nickname is the nickname of the Pokémon. Delete if the Pokémon does not have a nickname.
  • Ndex is its National Dex number.
  • Level is the Pokémon's level.
  • Game is the game from which this Pokémon appears. Use Diamond for the Diamond and Pearl games or Platinum for the Platinum game. Delete for Battle Revolution.
  • Gender is the gender of the Pokémon. Use male if the Pokémon is a male or female if the Pokémon is a female. Delete if the Pokémon is genderless.
  • Spritegender is the gender of the sprite displayed. It can also determine whether the Pokémon is shiny or not. Use male if the Pokémon is a male, female if the Pokémon is a female, shiny if the Pokémon is shiny and genderless or shiny with no difference between the male and female sprites, shiny male if the Pokémon is shiny and male, or shiny female if the Pokémon is shiny and female. Delete if the Pokémon is genderless and not shiny or if the Pokémon does not have differing sprites for male and female and is not shiny.
  • Type1 is the primary type of the Pokémon.
  • Type2 is the secondary type of the Pokémon. Delete if it is mono-typed.
  • Move1 is the name of the Pokémon's first move.
  • Move1cat is the contest category of the Pokémon's first move.
  • Move1app is the appeal points of the Pokémon's first move.
  • Move2 is the name of the Pokémon's second move.
  • Move2cat is the contest category of the Pokémon's second move.
  • Move2app is the appeal points of the Pokémon's second move.
  • Move3 is the name of the Pokémon's third move.
  • Move3cat is the contest category of the Pokémon's third move.
  • Move3app is the appeal points of the Pokémon's third move.
  • Move4 is the name of the Pokémon's fourth move.
  • Move4cat is the contest category of the Pokémon's fourth move.
  • Move4app is the appeal points of the Pokémon's fourth move.

Slegna 09:02, 8 September 2009 (UTC)

Problem with the type1/type2

For some reason, I'm getting a problem when I just delete the "|tyep2=" line. For example:

{{Pokémon/1
|pokemon=Dragonair
|ndex=148
|level=54
|game=FireRed
|type1=Dragon
|held=Unknown
|ability=Shed Skin
|move1=Safeguard
|move1type=Normal
|move2=Outrage
|move2type=Dragon
|move3=Dragon Rage
|move3type=Dragon
|move4=Hyper Beam
|move4type=Normal
}}

Gives me:

Spr 1b 148.png
Type:
Dragon Unknown
Dragonair Lv.54
Safeguard
Normal
Outrage
Dragon
Dragon Rage
Dragon
Hyper Beam
Normal

However,

{{Pokémon/1
|pokemon=Dragonair
|ndex=148
|level=54
|game=FireRed
|type1=Dragon
|type2=Dragon
|held=Unknown
|ability=Shed Skin
|move1=Safeguard
|move1type=Normal
|move2=Outrage
|move2type=Dragon
|move3=Dragon Rage
|move3type=Dragon
|move4=Hyper Beam
|move4type=Normal
}}

Gives me:

Spr 1b 148.png
Types:
Dragon Dragon
Dragonair Lv.54
Safeguard
Normal
Outrage
Dragon
Dragon Rage
Dragon
Hyper Beam
Normal

I'm getting slightly aggravated with this, it's probably due to my lack of sleep though - Slegna 00:05, 9 September 2009 (UTC)

I found your problem, even though I'm sure why it happens. Use "{{Pokémon|gen=<number>" instead of "{{Pokémon/<number>" and it'll work. --electAbuzzzz 07:32, 9 September 2009 (UTC)
Gracias. I knew it was something small and stupid. - Slegna 11:12, 9 September 2009 (UTC)

shiny

how can shiny Pokémon be shown using this template? Turtwig A Contributions Talk 22:08, 2 October 2009 (UTC)

I think it has something to do with the "ndex" section, Turtwig A. Alpha CuboneKing 22:12, 2 October 2009 (UTC)
No, actually there's a parameter called "spritegender". You can enter "shiny", "male", "female", "male shiny" or "female shiny" there to change the sprite when needed. --electAbuzzzz 22:13, 2 October 2009 (UTC)
Yep. Obserrrve on the red Gyarados's page. TTEchidna 17:35, 6 October 2009 (UTC)

Purpose

of {{Pokémon/1}}, {{Pokémon/2}}, etc... Seriously, they're not necessary. If anything, it's aggravating. The only "shortcut" is removing the gen parser. That's it... unless someone tells me their purpose, I think these should be deleted. ht14 03:19, 6 November 2009 (UTC)

Ummm... Dude, when you use this template, you're actually using the subtemplates. The "gen" parameter calls one of these subtemplates. --electAbuzzzz 09:43, 6 November 2009 (UTC)
Me no comprende... I vaguely understand it, but it's ok... ht14 21:46, 18 November 2009 (UTC)

what if?

the Pokémon can have both abilities. How can that be represented? Turtwig A (talk | contribs) 00:22, 18 November 2009 (UTC)

Only one ability supported. Sorry.
People have tried to reflect two abilities on userpages, but all that ends up doing is adding unwanted links to the wanted pages...--Shiningpikablu252 00:28, 18 November 2009 (UTC)
The reason I was asking was because of this page. Apparently, Houndoom has two abilities. Turtwig A (talk | contribs) 00:31, 18 November 2009 (UTC)
Could there at least be an "ability2" parameter? Turtwig A (talk | contribs) 00:42, 18 November 2009 (UTC)
Houndoom doesn't have two abilities. Its ability can be one of two things (if you saw a Houndoom in the wild, this would be randomly determined by the game). Apparently, Darach's Houndoom has the ability Early Bird. Kidburla 12:49, 13 February 2010 (UTC)

I know this conversation's six months old, But it's come up again now that it is used for some MD Pokémon, which can have two abilities at the same time. I could edit the template to have an optional ability2 parameter which doesn't change the current template if it is left out if that is alright. Werdnae (talk) 03:12, 29 July 2010 (UTC)

That would make life easier actually. ht14 03:20, 29 July 2010 (UTC)
Provided you don't kill the template in the process, go for it. —darklordtrom 04:13, 29 July 2010 (UTC)
I've changed the Generation IV template, and previewed it extensively, so I hope I haven't missed something stupid. Do any of the Pokémon from MDRB have one? (i.e. do I need to change the Gen III template as well?) I don't want to kill the server unnecessarily. Werdnae (talk) 06:02, 29 July 2010 (UTC)
Yeah, Ekans in Team Meanies can have two abilities. Turtwig's A-B-Cs (talk | contribs) 20:47, 29 July 2010 (UTC)
Done. Werdnae (talk) 21:09, 29 July 2010 (UTC)
One issue... due to the upgrade of the shadow alternate form, there's only the option of two abilities instead of one. It seems redundant if there's a Dragonite who has the Inner Focus ability or the Inner Focus ability. Hmm... maybe an ability3 parser. ht14 00:27, 30 September 2010 (UTC)
Where is this? The only cause I can see would be that something is making it so that ability2 and ability are both defined as the same thing. Werdnae (talk) 01:47, 30 September 2010 (UTC)
That's what I mean. ht14 01:48, 30 September 2010 (UTC)

Changes

I don't know when this template was changed, but all the PMD characters now only have one ability. What happened? I looked through the history of this page and it doesn't change much. Samjohn95 21:58, 27 August 2010 (UTC)

What happened was that TTE upgraded the template, and that option was created after he designed it. The changes that matter are actually on the sub-templates. They're currently under cascading protection from Joey and Battle CD, so I can't fix it, it'll need someone with more power than I do to edit it. Specifically, the easiest way to do it would be to replace <small>Ability:</small> with <small>{{#if: {{{ability2|}}}|Abilities|Ability}}:</small> and [[{{{ability|No ability}}} (ability)|<span style="color:#000;">{{{ability|No ability}}}</span>]] with [[{{{ability|No ability}}} (ability)|<span style="color:#000;">{{{ability|No ability}}}</span>]] {{#if: {{{ability2|}}}|and [[{{{ability2}}} (ability)|{{color|000|{{{ability2}}}}}]]|}} If no-one does it before then, I'll do it once the cascading protection expires, and it goes back to regular protection. Werdnae (talk) 01:19, 28 August 2010 (UTC)
And it should be displaying both now. Werdnae (talk) 23:41, 4 September 2010 (UTC)
Yes, it does, thanks! It may seem small, but it makes a lot of pages inaccurate when only one is displayed. Thanks again, Samjohn95 01:04, 5 September 2010 (UTC)

Small change

Could we possibly make it so that the sprite of the Pokémon is actually in the same square as the name/level/gender? Like this? (copied from BP for example purposes only). I find that some animated sprite are larger than they should be, and this makes it look neater.

Spr 4h 131.png
Types:
Water Ice
Ability:
Shell Armor
Held item:
Bag Expert Belt Sprite.png Expert Belt
Sakura Lv.54
Psychic
Psychic Special
Thunderbolt
Electric Special
Ice Beam
Ice Special
Surf
Water Special
Spr 4h 006.png
Types:
Fire Flying
Ability:
Blaze
Held item:
Bag Life Orb Sprite.png Life Orb
Hiruki Lv.42
Dragon Pulse
Dragon Special
Heat Wave
Fire Special
Focus Blast
Fighting Special
Air Slash
Flying Special

See how the animated one is noticeably wider? Merging them into the same box would eliminate this. たかはり 11:51, 4 December 2010 (UTC)

I 'spose its not too big a problem, but I'm just bringing this back up. たかはり 10:31, 17 December 2010 (UTC)

Spritegender

I know this was discussed in Template_talk:Pokémon#shiny (but it is over 6 months old), but I noticed that the sprite is controlled by both ndex and spritegender. Just spritegender adds the little star next to the level.

For example:

{{Pokémon
|gen=4
|pokemon=Wobbuffet
|nickname=Wobbuffet
|ndex=202
|level=12
|game=Platinum
|gender=female
|spritegender=female shiny
|type1=Psychic
|type2=
|held=
|ability=
|move1=
|move1type=
|move1cat=
|move2=
|move2type=
|move2cat=
|move3=
|move3type=
|move3cat=
|move4=
|move4type=
|move4cat=
}}

That gives me:

Spr 4p 202 f s.png
Type:
Psychic '
Ability:
Held item:
None
Wobbuffet Lv.12ShinyIVStar.png
class="roundy" width="50%" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" width="50%" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   

But:

{{Pokémon
|gen=4
|pokemon=Wobbuffet
|nickname=Wobbuffet
|ndex=202 f s
|level=12
|game=Platinum
|gender=female
|spritegender=
|type1=Psychic
|type2=
|held=
|ability=
|move1=
|move1type=
|move1cat=
|move2=
|move2type=
|move2cat=
|move3=
|move3type=
|move3cat=
|move4=
|move4type=
|move4cat=
}}

That gives me this:

Spr 4p 202 f s.png
Type:
Psychic '
Ability:
Held item:
None
Wobbuffet Lv.12
class="roundy" width="50%" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" width="50%" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   
class="roundy" style="background: #Template:Color dark; border: 2px solid #Template:Color dark" |
  --  
   

Once again only difference is there that there isn't a ShinyIVStar.png. So in some ways, CuboneKing was right and so was ElectAbuzzzz. It sure looks fancier if you use the spritegender command, but it doesn't matter for the sprite. ----NateVirus(Talk|Contributions) 04:26, 8 December 2011 (UTC)

{{{back}}} parameter

The main template needs a {{{back}}} parameter to incorporate the parameter of the same name that was put into the sub-templates a few months ago. - Chosen of Mana 03:03, 17 June 2012 (UTC)

Shiny Forme difs

What if I need to put a shiny of a different forme than normal, such as a Shiny Deoxys Speed Forme? How does this fit in the party template? -- Pringles 23:50, 1 August 2012 (UTC)

Just put "386S s" in the "ndex" parameter. Replace S with A for attack, or D for defense. Jo the Marten ಠ_ಠ 00:33, 2 August 2012 (UTC)