Template:PokemonPrimaryTypes: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude>This is a type-specific Pokémon table to be used on all Pokémon-type pages. It tabulates all Pokémon that satisfy the primary-type fi..." |
mNo edit summary Tag: Manual revert |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is a type-specific Pokémon table to be used on all [[:Category:Pokémon | <noinclude>This is a type-specific Pokémon table to be used on all [[:Category:Pokémon types|Pokémon-type pages]]. It tabulates all Pokémon that satisfy the primary-type filter used in the pages. | ||
For the secondary-type homologue, refer to [[Template:PokemonSecondaryTypes]]. | For the secondary-type homologue, refer to [[Template:PokemonSecondaryTypes]]. | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<table style="width: | <table style="width: 56%; max-width: 75%; text-align: center; border: 3px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:background}}; padding: 7px;"> | ||
<tr style="background-color:{{#var:cell}}; color: {{#var:border}};><th scope="col" colspan="2" style="border-top-left-radius: 25px; border: 1px solid {{#var:border}}; width: 22%">Pokédex Number</th><th scope="col" style="border: 1px solid {{#var:border}}" width="12%">Pokémon</th><th scope="col" style="border: 1px solid {{#var:border}}" width="10%">Type 1</th><th scope="col" style="border: 1px solid {{#var:border}}" width="10%">Type 2</th><th scope="col" style="border: 1px solid {{#var:border}}; width: 16%; border-top-right-radius: 25px;">[[List of Pokémon by Rarity Tier|<span style="color:{{#var:border}};">Rarity Tier</span>]]</th></tr> | <tr style="background-color:{{#var:cell}}; color: {{#var:border}};><th scope="col" colspan="2" style="border-top-left-radius: 25px; border: 1px solid {{#var:border}}; width: 22%">Pokédex Number</th><th scope="col" style="border: 1px solid {{#var:border}}" width="12%">Pokémon</th><th scope="col" style="border: 1px solid {{#var:border}}" width="10%">Type 1</th><th scope="col" style="border: 1px solid {{#var:border}}" width="10%">Type 2</th><th scope="col" style="border: 1px solid {{#var:border}}; width: 16%; border-top-right-radius: 25px;">[[List of Pokémon by Rarity Tier|<span style="color:{{#var:border}};">Rarity Tier</span>]]</th></tr> | ||
{{#for_external_table: | {{#for_external_table: | ||
{{#get_web_data:url= | {{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Type1={{#var:type}}|data=number=Pokedex Number,name=Name,rarity=Tier,type1=Type1,type2=Type2}} | ||
<tr style="background-color:#FFFFFF; color:#000000;"> | <tr style="background-color:#FFFFFF; color:#000000;"> | ||
<td>#{{padleft:{{ | <td>#{{padleft:{{{number}}}|3}}</td> | ||
<td>[[File:{{ | <td>[[File:{{{number}}}Icon.png]]</td> | ||
<td>[[{{ | <td>[[{{{name}}}]]</td> | ||
<td style="background-color: #{{ {{{type1}}}_color}}; border: 1px solid #{{ {{{type1}}}_color_dark}};">[[{{{type1}}}_(type)|<span style="color:#FFFFFF;">{{{type1}}}</span>]]</td> | <td style="background-color: #{{ {{{type1}}}_color}}; border: 1px solid #{{ {{{type1}}}_color_dark}};">[[{{{type1}}}_(type)|<span style="color:#FFFFFF;">{{{type1}}}</span>]]</td> | ||
<td style="background-color: #{{ {{{type2}}}_color}}; border: 1px solid #{{ {{{type2}}}_color_dark}};">[[{{{type2}}}_(type)|<span style="color:#FFFFFF;">{{{type2}}}</span>]]</td> | <td style="background-color: #{{ {{{type2}}}_color}}; border: 1px solid #{{ {{{type2}}}_color_dark}};">[[{{{type2}}}_(type)|<span style="color:#FFFFFF;">{{{type2}}}</span>]]</td> | ||
<td>[[:Category: | <td>[[:Category:{{{rarity}}} Pokémon|{{{rarity}}}]]</td> | ||
</tr> | </tr> | ||
}} | }} | ||
</table></includeonly> | </table></includeonly> |
Latest revision as of 06:53, 18 September 2025
This is a type-specific Pokémon table to be used on all Pokémon-type pages. It tabulates all Pokémon that satisfy the primary-type filter used in the pages.
For the secondary-type homologue, refer to Template:PokemonSecondaryTypes.