Template:NPCTrader: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{ucfirst:{{{NPCPokemon}}}}}|data=number=Pokedex Number,name=Name,type1=Type1,rarity=Tier}}
<includeonly>{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{ucfirst:{{{NPCPokemon}}}}}|data=number=Pokedex Number,name=Name,type1=Type1,rarity=Tier}}{{#vardefine:border|#{{{{#external_value:type1}}_color_dark}}}}{{#vardefine:background|#{{{{#external_value:type1}}_color}}}}{{#vardefine:cell|#{{{{#external_value:type1}}_color_light}}}}<table style="width: 100%; text-align: center; border: 5px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:background}}; padding: 5px; border-spacing: 3px;">
{{#vardefine:border|#{{{{#external_value:type1}}_color_dark}}}}
{{#vardefine:background|#{{{{#external_value:type1}}_color}}}}
{{#vardefine:cell|#{{{{#external_value:type1}}_color_light}}}}
<table style="width: 100%; text-align: center; border: 5px solid {{#var:border}}; border-radius: 25px; background-color: {{#var:background}}; padding: 5px; border-spacing: 3px;">
<tr style="background-color:{{#var:cell}}; color:{{#var:border}}; font-weight: bold;">
<tr style="background-color:{{#var:cell}}; color:{{#var:border}}; font-weight: bold;">
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{ucfirst:{{{PlayerPokemon}}}}}|data=number1=Pokedex Number,name1=Name}}
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{ucfirst:{{{PlayerPokemon}}}}}|data=number1=Pokedex Number,name1=Name}}

Revision as of 03:43, 28 March 2017