Difference between revisions of "Template:MPK"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m (Updated to https links)
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/PokémonRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,type1=Type1,type2=Type2,pdex=Pokedex Number}}
+
<includeonly>{{#get_web_data:url=https://pwo-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,type1=Type1,type2=Type2,pdex=Pokedex Number}}
 
<td colspan="1" style="border: 0px #33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="10%"> {{#external_value: pdex}}
 
<td colspan="1" style="border: 0px #33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="10%"> {{#external_value: pdex}}
 
<td colspan="1" style="border: 0px #33CC33 solid; text-align: center; background: #FFFFFF; border-radius: 0px;" width="20%"><b>&nbsp;&nbsp;&nbsp;[[File:{{#external_value: pdex}}small.png]] &nbsp;&nbsp;&nbsp;</b>
 
<td colspan="1" style="border: 0px #33CC33 solid; text-align: center; background: #FFFFFF; border-radius: 0px;" width="20%"><b>&nbsp;&nbsp;&nbsp;[[File:{{#external_value: pdex}}small.png]] &nbsp;&nbsp;&nbsp;</b>
{{#ifeq: {{#external_value: type}} | {{#ifeq: {{#external_value: type1}} | {{#external_value: type2}} | <td colspan="6" style="border: 0px ##33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="80%"> '''[[{{#external_value: name}}]]'''</td> | <td colspan="6" style="border: 0px ##33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="80%"> '''[[{{#external_value: name}}]]'''</td>}} | <td colspan="6" style="border: 0px ##33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="80%"> [[{{#external_value: name}}]]</td></tr></includeonly>
+
<td colspan="1" style="border: 0px ##33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="80%"> {{#ifeq: {{#external_value: typeless}} | Y | [[{{#external_value: name}}]] | {{#ifeq: {{#external_value: type}} | {{#external_value: type1}} | '''[[{{#external_value: name}}]]''' | {{#ifeq: {{#external_value: type}} | {{#external_value: type2}} | '''[[{{#external_value: name}}]]''' | [[{{#external_value: name}}]]}}}}}}</td><td colspan="1" style="border: 0px ##33CC33 solid; background: #FFFFFF; border-radius: 0px;" width="80%">{{#ifeq: {{{l|}}} | {{{l|-}}} | {{{l}}} | --- }}</td></tr></includeonly>

Latest revision as of 02:38, 18 November 2018