Template:PokemonByEVYield: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m Finalized the optimized version of the template. Had to omit the total-EV column due to math-parsing limitations in this string-handling language, but it should load much, much more seamlessly now overall. |
||
Line 4: | Line 4: | ||
<td> | <td> | ||
<table class="sortable" style="text-align: center; background-color: #333333;"> | <table class="sortable" style="text-align: center; background-color: #333333;"> | ||
<tr class="pro-table-header"><th scope="col" colspan="2" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 8%;">No.</th><th scope="col" class="pro-table-header-cell" width="10%">Name</th><th scope="col" class="pro-table-header-cell" width="7%">Exp.</th><th style="background-color: #FF0000; width: | <tr class="pro-table-header"><th scope="col" colspan="2" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 8%;">No.</th><th scope="col" class="pro-table-header-cell" width="10%">Name</th><th scope="col" class="pro-table-header-cell" width="7%">Exp.</th><th style="background-color: #FF0000; width: 6%">HP</th><th style="background-color: #F08030; width: 7%;">Attack</th><th style="background-color: #FD8030; width: 7%>Defense</th><th style="background-color: #6890F0; width: 10%">Sp. Attack</th><th style="background-color: #78C850; width: 12%;">Sp. Defense</th><th style="background-color: #F85888; width: 6%; border-radius: 1px 15px 1px 1px;">Speed</th></tr> | ||
{{#for_external_table: | {{#for_external_table: | ||
{{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Generation={{{1}}}|data=generation=Generation,number=Pokedex Number,name=Name,exp=Base Experience | {{#get_web_data:url=http://pro-wiki.info/index.php?title=Special:GetData/PokemonRawList|format=CSV with header|filters=Generation={{{1}}}|data=generation=Generation,number=Pokedex Number,name=Name,exp=Base Experience,HP=EVHP,ATK=EVATK,DEF=EVDEF,SPA=EVSPA,SPDDEF=EVSPD,SPD=EVSP,wild=Wild}} | ||
<tr style="background-color: #666666; cellpadding: 3px"> | <tr style="background-color: #666666; cellpadding: 3px"> | ||
<td>{{{number}}}</td> | <td>{{{number}}}</td> | ||
<td>[[File:{{{number}}}Icon.png]]</td> | <td>[[File:{{{number}}}Icon.png]]</td> | ||
<td>[[{{{name}}}]]</td> | <td>{{{npc}}}{{{wild}}}[[{{{name}}}]]{{{wild}}}{{{npc}}}</td> | ||
<td>{{{exp}}}</td> | <td>{{{exp}}}</td> | ||
<td style="background-color: #FF5959;">{{{HP}}}</td> | <td style="background-color: #FF5959;">{{{HP}}}</td> | ||
Line 19: | Line 19: | ||
<td style="background-color: #A7DB8D;">{{{SPDDEF}}}</td> | <td style="background-color: #A7DB8D;">{{{SPDDEF}}}</td> | ||
<td style="background-color: #FA92B2;">{{{SPD}}}</td> | <td style="background-color: #FA92B2;">{{{SPD}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 25: | Line 24: | ||
<tr><td style="border-radius: 1px 1px 15px 15px; text-align: left; padding: 3px; color: #FFFFFF; font-size: 13px;" colspan="11"> All '''emboldened''' Pokémon are encounterable in the wild; see their individual pages for locational information regardingly.</td></tr> | <tr><td style="border-radius: 1px 1px 15px 15px; text-align: left; padding: 3px; color: #FFFFFF; font-size: 13px;" colspan="11"> All '''emboldened''' Pokémon are encounterable in the wild; see their individual pages for locational information regardingly.</td></tr> | ||
</table> | </table> | ||
</includeonly> | </includeonly> |