Template:PokemonByEVYield: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
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.
No edit summary
Tag: Manual revert
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="pro-table" align="center" style="width: 80%;">
<table class="pro-table" align="center" style="width: 90%;">
<tr>
<tr>
<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: 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>
<tr class="pro-table-header"><th scope="col" colspan="2" class="pro-table-header-cell" style="border-radius: 15px 1px 1px 1px; width: 7%;">No.</th><th scope="col" class="pro-table-header-cell" width="10%">Name</th><th scope="col" class="pro-table-header-cell" width="4%">Exp.</th><th class="pro-table-header-cell" width="11%">Rarity Tier</th><th style="background-color: #FF0000; width: 6%; border: 3px solid #{{HP_color_dark}};">HP</th><th style="background-color: #F08030; width: 7%; border: 3px solid #{{Attack_color_dark}};">Attack</th><th style="background-color: #FD8030; width: 7%; border: 3px solid #{{Defense_color_dark}};">Defense</th><th style="background-color: #6890F0; width: 10%; border: 3px solid #{{Special_Attack_color_dark}};">Sp. Attack</th><th style="background-color: #78C850; width: 12%; border: 3px solid #{{Special_Defense_color_dark}};">Sp. Defense</th><th style="background-color: #F85888; width: 6%; border: 3px solid #{{Speed_color_dark}}; border-top-right-radius: 15px;">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,HP=EVHP,ATK=EVATK,DEF=EVDEF,SPA=EVSPA,SPDDEF=EVSPD,SPD=EVSP,wild=Wild}}
{{#get_web_data:url=https://wiki.pokemonrevolution.net/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,rarity=Tier}}
<tr style="background-color: #666666; cellpadding: 3px">
<tr style="background-color: #DDD; color:#000000; cellpadding: 3px">
<td>{{{number}}}</td>
<td>{{{number}}}</td>
<td>[[File:{{{number}}}Icon.png]]</td>  
<td>[[File:{{{number}}}Icon.png]]</td>  
<td>{{{npc}}}{{{wild}}}[[{{{name}}}]]{{{wild}}}{{{npc}}}</td>
<td>{{{npc}}}{{{wild}}}[[{{{name}}}]]{{{wild}}}{{{npc}}}</td>
<td>{{{exp}}}</td>
<td>{{{exp}}}</td>
<td style="background-color: #FF5959;">{{{HP}}}</td>
<td>{{{rarity}}}</td>
<td style="background-color: #F5AC78;">{{{ATK}}}</td>
<td style="background-color: #FF5959; color:#FFFFFF;">{{{HP}}}</td>
<td style="background-color: #FAE078;">{{{DEF}}}</td>
<td style="background-color: #F5AC78; color:#FFFFFF;">{{{ATK}}}</td>
<td style="background-color: #9DB7F5;">{{{SPA}}}</td>
<td style="background-color: #FAE078; color:#FFFFFF;">{{{DEF}}}</td>
<td style="background-color: #A7DB8D;">{{{SPDDEF}}}</td>
<td style="background-color: #9DB7F5; color:#FFFFFF;">{{{SPA}}}</td>
<td style="background-color: #FA92B2;">{{{SPD}}}</td>
<td style="background-color: #A7DB8D; color:#FFFFFF;">{{{SPDDEF}}}</td>
<td style="background-color: #FA92B2; color:#FFFFFF;">{{{SPD}}}</td>
</tr>
</tr>
}}
}}

Latest revision as of 08:31, 28 August 2025