Template:PokémonInfobox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Egg Group update please let the server be okay) |
m (Text replacement - "Category:Pokémon with unknown gender ratios" to "Category:Pokémon with undiscovered gender ratios") |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{OldTemplate}}</noinclude> | |||
{| class="roundy" style="float:right; background: #{{{{{type1|Unknown}}} color}}; width: 30%; max-width: 30%; margin-left: 5px; margin-bottom: 5px; border: 3px solid #{{ {{#if: {{{disptype|}}}|{{{disptype|Unknown}}} color|{{#if: {{{type2|}}}|{{{type2|Unknown}}} color|{{{type1|Unknown}}} color dark}}}} }};" | {| class="roundy" style="float:right; background: #{{{{{type1|Unknown}}} color}}; width: 30%; max-width: 30%; margin-left: 5px; margin-bottom: 5px; border: 3px solid #{{ {{#if: {{{disptype|}}}|{{{disptype|Unknown}}} color|{{#if: {{{type2|}}}|{{{type2|Unknown}}} color|{{{type1|Unknown}}} color dark}}}} }};" | ||
|- | |- | ||
Line 18: | Line 19: | ||
{| class="roundy" width="100%" style="background: #FFFFFF;}" | {| class="roundy" width="100%" style="background: #FFFFFF;}" | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| {{#if: {{{image|}}}|[[File:{{{image|000.png}}}|{{{size|200px}}}]]|{{#ifexpr: {{{ndex|999}}} < 152|{{#switch: {{#time: z}}|{{#time: z|February 27}}|{{#time: z|September | | {{#if: {{{image|}}}|[[File:{{{image|000.png}}}|{{{size|200px}}}]]|{{#ifexpr: {{{ndex|999}}} < 152|{{#switch: {{#time: z}}|{{#time: z|February 27}}|{{#time: z|September 28}}=[[File:{{{ndex|001}}}{{{altname|{{{name|Bulbasaur}}}}}} RG.png|150px]]|[[File:{{{ndex|001}}}{{{altname|{{{name|Bulbasaur}}}}}}.png|{{{size|200px}}}]]}}|{{#ifexpr: {{{ndex|999}}} < 252|{{#switch: {{#time: z}}|{{#time: z|November 21}}|{{#time: z|October 15}}=[[File:{{{ndex|152}}}{{{name|Chikorita}}} GS.png|150px]]|[[File:{{{ndex|152}}}{{{name|Chikorita}}}.png|{{{size|200px}}}]]}}|[[File:{{{ndex|}}}{{{altname|{{{name|{{{tmname|001Bulbasaur}}}}}}}}}.png|{{{size|200px}}}]]}}}}}}<br><small>''{{{caption|Art by [[Ken Sugimori]] from {{#switch: {{{art|RG}}}|RG|RB={{2v2|Red|Green}}|Y={{v2|Yellow}}|GS={{2v2|Gold|Silver}}|C={{v2|Crystal}}|RS={{2v2|Ruby|Sapphire}}|E={{v2|Emerald}}||FRLG={{#ifexpr: {{{ndex|000}}} < 152 |{{#switch: {{#time: z}}|{{#time: z|February 27}}|{{#time: z|September 28}}={{2v2|Red|Green}}|{{2v2|FireRed|LeafGreen}}}}|{{#switch: {{#time: z}}|{{#time: z|November 21}}|{{#time: z|October 15}}={{2v2|Gold|Silver}}|{{2v2|FireRed|LeafGreen}}}}}}|DP={{2v2|Diamond|Pearl}}|Pt={{v2|Platinum}}|HGSS={{#switch: {{#time: z}}|{{#time: z|November 21}}|{{#time: z|October 15}}={{2v2|Gold|Silver}}|{{2v2|HeartGold|SoulSilver}}}}|BW={{2v2|Black|White}}|B2W2={{2v2|Black|White|2}}|XY={{g|X and Y}}|{{{art|RG}}}}}}}}''</small> | ||
|} | |} | ||
|- | |- | ||
Line 64: | Line 65: | ||
{| class="roundy" width="100%" style="background: #{{{{{type1|Unknown}}} color light}}; border: 1px solid #{{{{{type1|Unknown}}} color dark}};" | {| class="roundy" width="100%" style="background: #{{{{{type1|Unknown}}} color light}}; border: 1px solid #{{{{{type1|Unknown}}} color dark}};" | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| '''[[ | | '''[[Pokémon category|{{color|000|Category}}]]''' | ||
{| class="roundy" width="100%" style="background: #FFFFFF;" | {| class="roundy" width="100%" style="background: #FFFFFF;" | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| class="roundy" style="background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | {{{species|Glitch}}} Pokémon | | class="roundy" style="background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | {{{category|{{{species|Glitch}}}}}} Pokémon | ||
|} | |} | ||
|} | |} | ||
Line 114: | Line 115: | ||
{{!}} width="50%" {{!}} {{#if: {{{u2dex|}}}|{{tt|#{{{u2dex|000}}}|Black 2 and White 2}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions 2|{{{u2dex|000}}}]]</includeonly>|}} | {{!}} width="50%" {{!}} {{#if: {{{u2dex|}}}|{{tt|#{{{u2dex|000}}}|Black 2 and White 2}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions 2|{{{u2dex|000}}}]]</includeonly>|}} | ||
{{!}}}|{{#if: {{{u2dex|}}}|<br/>{{tt|#{{{u2dex|000}}}|Black 2 and White 2}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions 2|{{{u2dex|000}}}]]</includeonly>|}}}}|{{#if: {{{udex|}}}|<br/>{{tt|#{{{udex|000}}}|Black and White}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions|{{{udex|000}}}]]</includeonly>|}}}} | {{!}}}|{{#if: {{{u2dex|}}}|<br/>{{tt|#{{{u2dex|000}}}|Black 2 and White 2}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions 2|{{{u2dex|000}}}]]</includeonly>|}}}}|{{#if: {{{udex|}}}|<br/>{{tt|#{{{udex|000}}}|Black and White}}<includeonly>[[Category:Pokémon in the Unova Pokédex in Black and White Versions|{{{udex|000}}}]]</includeonly>|}}}} | ||
| class="roundy" style="{{#if: {{#ifexpr: {{{ndex|999}}} < 152|{{{ndex|}}}}}{{{jdex|}}}{{{hdex|}}}{{{sdex|}}}{{{udex|}}}|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}}; " | | class="roundy" style="{{#if: {{#ifexpr: {{{ndex|999}}} < 152|{{{ndex|}}}}}{{{jdex|}}}{{{hdex|}}}{{{sdex|}}}{{{udex|}}}|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}}; " | Not in any regional Pokédex{{#if: {{#ifexpr: {{{ndex|999}}} < 152|{{{ndex|}}}}}{{{jdex|}}}{{{hdex|}}}{{{sdex|}}}{{{udex|}}}||<includeonly>[[Category:Pokémon in no regional Pokédex|{{{ndex|???}}}]]</includeonly>}} | ||
|} | |} | ||
|} | |} | ||
Line 211: | Line 212: | ||
{| class="roundy" width="100%" style="background: #FFFFFF;" | {| class="roundy" width="100%" style="background: #FFFFFF;" | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| class="roundy" style="{{#ifeq: {{{gendercode|255}}}|255||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | | | class="roundy" style="{{#ifeq: {{{gendercode|255}}}|255||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | Gender unknown | ||
| class="roundy" style="{{#ifeq: {{{gendercode|255}}}|256||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | Unknown | | class="roundy" style="{{#ifeq: {{{gendercode|255}}}|256||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | Unknown | ||
| style="{{#ifeq: {{{gendercode|255}}}|255|display: none;}}{{#ifeq: {{{gendercode|255}}}|256|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}}; {{roundy|20px}}" | {{#ifeq: {{{gendercode|255}}}|254||<div class="statbar" style="float:left;background:#3355FF; {{roundyleft|20px}} {{#ifeq: {{{gendercode|255}}}|0|{{roundyright|20px}}}} width: {{#expr:{{#switch: {{{gendercode|127}}}|255=1|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=98}}-1.5}}%; height: 10px; border: 0.5px solid black; {{#ifeq: {{{gendercode|255}}}|0||border-right-width:0px;}} overflow: hidden;"></div>}}{{#ifeq: {{{gendercode|255}}}|0||<div class="statbar" style="float:{{#ifeq:{{{gendercode|0}}}|255|right|left}};background:#FF77DD; {{roundyright|20px}} {{#ifeq: {{{gendercode|255}}}|254|{{roundyleft|20px}}}} width: {{#expr: 98.5 - {{#switch: {{{gendercode|127}}}|255=99|254=2|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}}}%; height: 10px; border: 0.5px solid black; overflow: hidden; {{#ifeq: {{{gendercode|255}}}|254||border-left-width:0px;}}"></div>}} | | style="{{#ifeq: {{{gendercode|255}}}|255|display: none;}}{{#ifeq: {{{gendercode|255}}}|256|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}}; {{roundy|20px}}" | {{#ifeq: {{{gendercode|255}}}|254||<div class="statbar" style="float:left;background:#3355FF; {{roundyleft|20px}} {{#ifeq: {{{gendercode|255}}}|0|{{roundyright|20px}}}} width: {{#expr:{{#switch: {{{gendercode|127}}}|255=1|254=1|223=12.5|191=25|127=50|63=75|31=87.5|0=98}}-1.5}}%; height: 10px; border: 0.5px solid black; {{#ifeq: {{{gendercode|255}}}|0||border-right-width:0px;}} overflow: hidden;"></div>}}{{#ifeq: {{{gendercode|255}}}|0||<div class="statbar" style="float:{{#ifeq:{{{gendercode|0}}}|255|right|left}};background:#FF77DD; {{roundyright|20px}} {{#ifeq: {{{gendercode|255}}}|254|{{roundyleft|20px}}}} width: {{#expr: 98.5 - {{#switch: {{{gendercode|127}}}|255=99|254=2|223=12.5|191=25|127=50|63=75|31=87.5|0=99}}}}%; height: 10px; border: 0.5px solid black; overflow: hidden; {{#ifeq: {{{gendercode|255}}}|254||border-left-width:0px;}}"></div>}} | ||
|- | |- | ||
| class="roundy" style="text-align:center;" style="{{#ifeq: {{{gendercode|255}}}|255|display: none;}}{{#ifeq: {{{gendercode|255}}}|256|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | {{#switch: {{{gendercode|255}}}|256={{cat|Pokémon with unknown gender ratios}}|255={{cat| | | class="roundy" style="text-align:center;" style="{{#ifeq: {{{gendercode|255}}}|255|display: none;}}{{#ifeq: {{{gendercode|255}}}|256|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | {{#switch: {{{gendercode|255}}}|256={{cat|Pokémon with unknown gender ratios}}|255={{cat|Gender-unknown Pokémon|Gender unknown}}|254={{cat|Female-only Pokémon|{{color|FF6060|100% female}}}}|223={{cat|Pokémon with a gender ratio of one male to seven females|{{color|0000FF|12.5% male}}{{color|000|,}} {{color|FF6060|87.5% female}}}}|191={{cat|Pokémon with a gender ratio of one male to three females|{{color|0000FF|25% male}}{{color|000|,}} {{color|FF6060|75% female}}}}|127={{cat|Pokémon with a gender ratio of one male to one female|{{color|0000FF|50% male}}{{color|000|,}} {{color|FF6060|50% female}}}}|63={{cat|Pokémon with a gender ratio of three males to one female|{{color|0000FF|75% male}}{{color|000|,}} {{color|FF6060|25% female}}}}|31={{cat|Pokémon with a gender ratio of seven males to one female|{{color|0000FF|87.5% male}}{{color|000|,}} {{color|FF6060|12.5% female}}}}|0={{cat|Male-only Pokémon|{{color|0000FF|100% male}}}}}} | ||
|} | |} | ||
|} | |} | ||
Line 267: | Line 268: | ||
<!--Color-->[[Category:{{{color|Unknown}}}-colored Pokémon]] | <!--Color-->[[Category:{{{color|Unknown}}}-colored Pokémon]] | ||
<!--Body style-->[[Category:Body style {{{body|Unknown}}} Pokémon]] | <!--Body style-->[[Category:Body style {{{body|Unknown}}} Pokémon]] | ||
<!--Gender dist.-->{{#switch: {{{gendercode|255}}}|256=[[Category:Pokémon with | <!--Gender dist.-->{{#switch: {{{gendercode|255}}}|256=[[Category:Pokémon with undiscovered gender ratios]]|255=[[Category:Gender-unknown Pokémon]]|254=[[Category:Female-only Pokémon]]|223=[[Category:Pokémon with a gender ratio of one male to seven females]]|191=[[Category:Pokémon with a gender ratio of one male to three females]]|127=[[Category:Pokémon with a gender ratio of one male to one female]]|63=[[Category:Pokémon with a gender ratio of three males to one female]]|31=[[Category:Pokémon with a gender ratio of seven males to one female]]|0=[[Category:Male-only Pokémon]]}} | ||
<!--Egg Groups-->{{#switch: {{{egggroupn|0}}}|0=[[Category:Undiscovered group Pokémon]]|1=[[Category:{{{egggroup1}}} group Pokémon]]|2=[[Category:{{{egggroup1}}} group Pokémon]] [[Category:{{{egggroup2}}} group Pokémon]]}}</includeonly><noinclude>[[Category:Infobox templates]][[ja:テンプレート:ポケモン図鑑基本情報]] | <!--Egg Groups-->{{#switch: {{{egggroupn|0}}}|0=[[Category:Undiscovered group Pokémon]]|1=[[Category:{{{egggroup1}}} group Pokémon]]|2=[[Category:{{{egggroup1}}} group Pokémon]] [[Category:{{{egggroup2}}} group Pokémon]]}}</includeonly><noinclude>[[Category:Infobox templates]][[ja:テンプレート:ポケモン図鑑基本情報]] | ||
[[zh:Template:寶可夢信息框]] | |||
</noinclude> | </noinclude> |
Latest revision as of 22:04, 23 March 2023
This template is no longer used. It is being retained for archival purposes. |
---|
| ||||||||||||||
| ||||||||||||||
|
| |||||||||||||
|
| |||||||||||||
| ||||||||||||||
| ||||||||||||||
| ||||||||||||||
|
| |||||||||||||
|
| |||||||||||||
| ||||||||||||||
| ||||||||||||||
| ||||||||||||||
|