PRO Wiki Discord

Difference between revisions of "Template:OverworldPokemon"

From Pokémon Revolution Online Wiki
Jump to: navigation, search
m (Text replacement - "pro-wiki" to "prowiki")
m
 
Line 2: Line 2:
  
 
It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.</noinclude>
 
It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.</noinclude>
<includeonly>{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Pokemon}}}|data=name=Name,number=Pokedex Number,type1=Type1,type2=Type2}}
+
<includeonly>{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Name={{{Pokemon}}}|data=name=Name,number=Pokedex Number,type1=Type1,type2=Type2}}
 
{{#if:{{{Theme|}}}|{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}}}
 
{{#if:{{{Theme|}}}|{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}}}
 
<table style="width: 66%; padding: 4px; text-align: center;">
 
<table style="width: 66%; padding: 4px; text-align: center;">
Line 22: Line 22:
 
4|
 
4|
 
<tr style="background-color:#FFFFFF; color:#000000;">
 
<tr style="background-color:#FFFFFF; color:#000000;">
{{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|{{#var:vector}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
+
{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves|{{#var:vector}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
 
<td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
 
<td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }}  {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
 
<td style="background-color: #{{{{#external_value:movetype}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
 
<td style="background-color: #{{{{#external_value:movetype}}_color}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>

Latest revision as of 23:47, 24 March 2020

To be used for battlable overworld-interactable Pokémon—usually Legendary Pokémon—on area pages.

It accepts two arguments: {{{Pokemon}}} for the Pokemon's name, and {{{Moves}}} for their moveset.