Template:PokemonSecondaryTypes: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
m Text replacement - "prowiki.info" to "wiki.pokemonrevolution.net"
Line 7: Line 7:
<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=https://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Type2={{#var:type}}|data=number=Pokedex Number,name=Name,rarity=Tier,type1=Type1,type2=Type2}}
{{#get_web_data:url=https://wiki.pokemonrevolution.net/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Type2={{#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:{{{number}}}|3}}</td>
<td>#{{padleft:{{{number}}}|3}}</td>

Revision as of 05:29, 30 October 2021

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 secondary-type filter used in the pages.

For the primary-type homologue, refer to Template:PokemonPrimaryTypes.