Template:MegaPokemonList: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#vardefine:cell|#{{Typeless_color_light}}}}{{#vardefine:background|#{{Typeless_color}}}}{{#vardefine:border|#{{Typeless_color_dark}}}}<table align="center" styl..."
 
No edit summary
Line 3: Line 3:
<td>
<td>
<table class="sortable" style="text-align: center; width: 100%;">
<table class="sortable" style="text-align: center; width: 100%;">
<tr style="text-align: center; background-color: {{#var:cell}}; color: {{#var:border}};"><th scope="col" colspan="2" style="width: 5%; border: 1px solid {{#var:border}};"># No.</th><th scope="col" style="width: 10%; border: 1px solid {{#var:border}};">Name</th><th style="backround-color: {{#var:cell}}; border: 1px solid {{#var:border}}; width: 7%;">[[Mega Stones|<span style="color: {{#var:border}};>Mega Stone</span>]]</th><th style="backround-color: {{#var:cell}}; border: 1px solid {{#var:border}}; width: 10%;">Ability</th><th style="background-color: #{{HP_color_light}}; width: 5%; border: 1px solid #{{HP_color_dark}}; color: #{{HP_color_dark}}">HP</th><th style="background-color: #{{Attack_color_light}}; width: 5%; border: 1px solid #{{Attack_color_dark}}; color: #{{Attack_color_dark}};">Att</th><th style="background-color: #{{Defense_color_light}}; width: 5%; border: 1px solid #{{Defense_color_dark}}; color: #{{Defense_color_dark}};">Def</th><th style="background-color: #{{Special_Attack_color_light}}; width: 4%; border: 1px solid #{{Special_Attack_color_dark}}; color: #{{Special_Attack_color_dark}};">Sp. Att</th><th style="background-color: #{{Special_Defense_color_light}}; width: 6%; border: 1px solid #{{Special_Defense_color_dark}}; color: #{{Special_Defense_color_dark}};">Sp. Def</th><th style="background-color: #{{Speed_color_light}}; width: 6%; border: 1px solid #{{Speed_color_dark}}; color: #{{Speed_color_dark}};">Spd</th></tr>
<tr style="text-align: center; background-color: {{#var:cell}}; color: {{#var:border}};"><th scope="col" colspan="2" style="width: 5%; border: 1px solid {{#var:border}};"># No.</th><th scope="col" style="width: 10%; border: 1px solid {{#var:border}};">Name</th><th colspan="2" style="backround-color: {{#var:cell}}; border: 1px solid {{#var:border}}; width: 7%;">Mega Stone</th><th style="backround-color: {{#var:cell}}; border: 1px solid {{#var:border}}; width: 10%;">Ability</th><th style="background-color: #{{HP_color_light}}; width: 5%; border: 1px solid #{{HP_color_dark}}; color: #{{HP_color_dark}}">HP</th><th style="background-color: #{{Attack_color_light}}; width: 5%; border: 1px solid #{{Attack_color_dark}}; color: #{{Attack_color_dark}};">Att</th><th style="background-color: #{{Defense_color_light}}; width: 5%; border: 1px solid #{{Defense_color_dark}}; color: #{{Defense_color_dark}};">Def</th><th style="background-color: #{{Special_Attack_color_light}}; width: 4%; border: 1px solid #{{Special_Attack_color_dark}}; color: #{{Special_Attack_color_dark}};">Sp. Att</th><th style="background-color: #{{Special_Defense_color_light}}; width: 6%; border: 1px solid #{{Special_Defense_color_dark}}; color: #{{Special_Defense_color_dark}};">Sp. Def</th><th style="background-color: #{{Speed_color_light}}; width: 6%; border: 1px solid #{{Speed_color_dark}}; color: #{{Speed_color_dark}};">Spd</th></tr>
{{#for_external_table:
{{#for_external_table:
{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/RawMegaPokemonList|format=CSV with header|data=generation=Generation,number=Pokedex Number,name=Name,ability=Ability 1,stone=Stone,HP=HP,ATK=Attack,DEF=Defense,SPA=Special Attack,SPDDEF=Special Defense,SPD=Speed}}
{{#get_web_data:url=https://prowiki.info/index.php?title=Special:GetData/RawMegaPokemonList|format=CSV with header|data=generation=Generation,number=Pokedex Number,name=Name,ability=Ability 1,stone=Stone,HP=HP,ATK=Attack,DEF=Defense,SPA=Special Attack,SPDDEF=Special Defense,SPD=Speed}}
Line 11: Line 11:
<td>[[{{{name}}}]]</td>
<td>[[{{{name}}}]]</td>
<td>[[File:{{{stone}}}.png|alt={{{stone}}}|{{{stone}}}]]
<td>[[File:{{{stone}}}.png|alt={{{stone}}}|{{{stone}}}]]
<td>{{{stone}}}</td>
<td>[[{{{ability}}}_(ability)|{{{ability}}}]]</td>
<td>[[{{{ability}}}_(ability)|{{{ability}}}]]</td>
<td style="background-color: #{{HP_color}}; color:#FFFFFF;">{{{HP}}}</td>
<td style="background-color: #{{HP_color}}; color:#FFFFFF;">{{{HP}}}</td>

Revision as of 02:54, 25 November 2020