Template:PokeNavTable: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{PAGENAME}}|data=name=Name,number=Pokedex Number,type=Type1}}
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{PAGENAME}}|data=name=Name,number=Pokedex Number,type=Type1}}
<table style="margin-left: auto; margin-right: auto; height: 60px; border: 5px #{{{{#external_value: type}}_color_dark}} solid; width: 65%; cellspacing: 3px; border-radius: 20px 20px 20px 20px; padding: 2px; background: #{{{{#external_value: type}}_color}};">
<table style="margin-left: auto; margin-right: auto; height: 60px; border: 4px #{{{{#external_value: type}}_color_dark}} solid; width: 65%; cellspacing: 3px; border-radius: 20px 20px 20px 20px; padding: 2px; background: #{{{{#external_value: type}}_color}};">
{{#vardefine:predecessor|{{#expr:{{#external_value:number}} - 1}}}}
{{#vardefine:predecessor|{{#expr:{{#external_value:number}} - 1}}}}
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Pokedex Number={{#var:predecessor}}|data=name2=Name,number2=Pokedex Number}}
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Pokedex Number={{#var:predecessor}}|data=name2=Name,number2=Pokedex Number}}

Revision as of 00:35, 10 December 2016