User:SpecialK/PokémonInfoTemplateEdit: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Testing...) |
m (Text replacement - "Category:Pokémon with unknown gender ratios" to "Category:Pokémon with undiscovered gender ratios") Tags: Mobile edit Mobile web edit |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 75: | Line 75: | ||
| class="roundy" width="20%" style="{{#if: {{{sdex|}}}||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | <small>'''[[List of Pokémon by Sinnoh Pokédex number|{{color|000|Sinnoh}}]]'''</small><br>#{{#if: {{{sdex|}}}|{{{sdex|000}}}{{#ifexpr: {{{sdex|000}}} > 151|{{sup|Pt}}}}<includeonly>[[Category:Pokémon native to the Sinnoh region|{{{sdex|000}}}]]</includeonly>|—}} | | class="roundy" width="20%" style="{{#if: {{{sdex|}}}||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | <small>'''[[List of Pokémon by Sinnoh Pokédex number|{{color|000|Sinnoh}}]]'''</small><br>#{{#if: {{{sdex|}}}|{{{sdex|000}}}{{#ifexpr: {{{sdex|000}}} > 151|{{sup|Pt}}}}<includeonly>[[Category:Pokémon native to the Sinnoh region|{{{sdex|000}}}]]</includeonly>|—}} | ||
| class="roundy" width="20%" style="{{#if: {{{idex|}}}||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | <small>'''[[List of Pokémon by Isshu Pokédex number|{{color|000|Isshu}}]]'''</small><br>#{{#if: {{{idex|}}}|{{{idex|000}}}<includeonly>[[Category:Pokémon native to the Isshu region|{{{idex|000}}}]]</includeonly>|—}} | | class="roundy" width="20%" style="{{#if: {{{idex|}}}||display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}};" | <small>'''[[List of Pokémon by Isshu Pokédex number|{{color|000|Isshu}}]]'''</small><br>#{{#if: {{{idex|}}}|{{{idex|000}}}<includeonly>[[Category:Pokémon native to the Isshu region|{{{idex|000}}}]]</includeonly>|—}} | ||
| class="roundy" style="{{#if: {{#ifexpr: {{{ndex|999}}} < 152|{{{ndex|}}}}}{{{jdex|}}}{{{hdex|}}}{{{sdex|}}}{{{idex|}}}|display: none;}} background: #FFFFFF; border: 1px solid #{{{{{type1|Unknown}}} color light}}; " | | class="roundy" style="{{#if: {{#ifexpr: {{{ndex|999}}} < 152|{{{ndex|}}}}}{{{jdex|}}}{{{hdex|}}}{{{sdex|}}}{{{idex|}}}|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|}}}{{{idex|}}}||<includeonly>[[Category:Pokémon in no regional Pokédex|{{{ndex|???}}}]]</includeonly>}} | ||
|} | |} | ||
|} | |} | ||
Line 167: | Line 167: | ||
| 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" 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" 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|Genderless}}|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 230: | Line 230: | ||
<!--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:No eggs group Pokémon]]|1=[[Category:{{{egggroup1}}} group Pokémon]]|2=[[Category:{{{egggroup1}}} group Pokémon]] [[Category:{{{egggroup2}}} group Pokémon]]}} | <!--Egg groups-->{{#switch: {{{egggroupn|0}}}|0=[[Category:No eggs group Pokémon]]|1=[[Category:{{{egggroup1}}} group Pokémon]]|2=[[Category:{{{egggroup1}}} group Pokémon]] [[Category:{{{egggroup2}}} group Pokémon]]}} | ||
<!--Signature Move(s)--></includeonly> | <!--Signature Move(s)--></includeonly> |
Latest revision as of 22:04, 23 March 2023
| ||||||||||||||
| ||||||||||||||
|
| |||||||||||||
|
| |||||||||||||
| ||||||||||||||
| ||||||||||||||
|
| |||||||||||||
|
| |||||||||||||
|
| |||||||||||||
| ||||||||||||||
| ||||||||||||||
| ||||||||||||||
|