Template:PokemonByNumber: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Generation={{{1}}}|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2,generation=Generation}}
<includeonly>{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Generation=1|data=number=Pokedex Number,name=Name,type1=Type1,type2=Type2}}


<table class="pro-table" style="text-align: center; width: 40%">
<table class="pro-table" style="text-align: center; width: 45%">
<tr class="pro-table-header"><th scope="col" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 5%">No.</th><th scope="col" class="pro-table-header-cell" colspan="2" width="20%">Name</th><th scope="col" class="pro-table-header-cell" width="18%">Type 1</th><th class="pro-table-header-cell" style="border-radius: 1px 15px 1px 1px; width: 18%">Type 2</th></tr>
<tr class="pro-table-header"><th scope="col" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 5%">No.</th><th scope="col" class="pro-table-header-cell" colspan="2" width="20%">Name</th><th scope="col" class="pro-table-header-cell" width="18%">Type 1</th><th class="pro-table-header-cell" style="border-radius: 1px 15px 1px 1px; width: 18%">Type 2</th></tr>
{{#for_external_table:
{{#for_external_table:
Line 8: Line 8:
<td width="5%">[[File:{{{number}}}Icon.png]]
<td width="5%">[[File:{{{number}}}Icon.png]]
<td>[[{{{name}}}]]</td>
<td>[[{{{name}}}]]</td>
<td style="background: #{{ {{{type1}}}_color}};">[[{{{type1}}}_(type)|<p style="color: #{{ {{{type1}}}_color_dark}}; font-weight: bold">{{{type1}}}</p>]]</td>
<td style="background: #{{ {{{type1}}}_color}};">[[{{{type1}}}_(type)|<span style="color:#000">{{{type1}}}</span>]]</td>
<td style="background: #{{ {{{type2}}}_color}};">[[{{{type2}}}_(type)|<p style="color: #{{ {{{type2}}}_color_dark}}; font-weight: bold">{{{type2}}}</p>]]</td>
<td style="background: #{{ {{{type2}}}_color}};">[[{{{type2}}}_(type)|<span style="color:#000">{{{type2}}}</span>]]</td>
</tr>
</tr>
}}
}}
</table>
</table>
</includeonly>
</includeonly>

Revision as of 22:43, 28 November 2016