Template:PokeNavTable: Difference between revisions
Jump to navigation
Jump to search
m Text replacement - "pro-wiki" to "prowiki" |
Added in a workaround to accommodate for Farfetch'd's page when created soon. |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#get_web_data:url=http://prowiki.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://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{#ifeq:{{PAGENAME}}|Farfetch'd|Farfetch'd|{{PAGENAME}}}}|data=name=Name,number=Pokedex Number,type=Type1}} | ||
<table style="margin-left: auto; margin-right: auto; margin-bottom: 15px; height: 60px; border: 4px #{{{{#external_value: type}}_color_dark}} solid; font-weight: bold; width: 65%; color: #{{{{#external_value:type}}_color_dark}}; cellspacing: 4px; border-radius: 20px 20px 20px 20px; padding: 3px; background: #{{{{#external_value: type}}_color}};"> | <table style="margin-left: auto; margin-right: auto; margin-bottom: 15px; height: 60px; border: 4px #{{{{#external_value: type}}_color_dark}} solid; font-weight: bold; width: 65%; color: #{{{{#external_value:type}}_color_dark}}; cellspacing: 4px; border-radius: 20px 20px 20px 20px; padding: 3px; background: #{{{{#external_value: type}}_color}};"> | ||
{{#vardefine:predecessor|{{#expr:{{#external_value:number}} - 1}}}} | {{#vardefine:predecessor|{{#expr:{{#external_value:number}} - 1}}}} |