|
|
(21 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| <includeonly>{{#arraydefine:lineup|{{{Lineup}}}}} | | <noinclude> |
| {{#arraydefine:nature|{{{Nature}}}}}
| | <b>BossNPCLineup Template</b> is the main template that adds the <b>Boss name</b> and <b>lineup</b>. <br> |
| {{#arraydefine:ability|{{{Ability}}}}}
| | It's used in correspondence with [[:Template:BossPokemon|BossPokemon Template]] and with the [[Template:NPCMove|NPCMove template]] being an optional addon for adding moves. <br> |
| {{#arraydefine:item|{{{Item}}}}}
| | |
| {{#arraydefine:mega|{{{Mega|0,0,0,0,0,0}}}}}
| | ==Parameters and arguments== |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|0}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|0}}|data=name0=Name,number0=Pokedex Number,0type1=Type1,0type2=Type2}}
| | <ul> |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|1}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|1}}|data=name1=Name,number1=Pokedex Number,1type1=Type1,1type2=Type2}}
| | <li>'''Boss:''' Input the boss's name (e.g Professor Oak)</li> |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|2}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|2}}|data=name2=Name,number2=Pokedex Number,2type1=Type1,2type2=Type2}} | | <li>'''Theme:''' Input the Theme ([[:Category:Pokémon_types|Type]]) you want, or leave empty to pick page's theme, if it has any (e.g Ice)</li> |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|3}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|3}}|data=name3=Name,number3=Pokedex Number,3type1=Type1,3type2=Type2}} | | <li>'''Lineup:''' Marshal the boss's Pokemon lineup in order of deployment using [[:Template:BossPokemon|BossPokemon Template]].</li> |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|4}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|4}}|data=name4=Name,number4=Pokedex Number,4type1=Type1,4type2=Type2}}
| | </ul> |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/{{#ifexpr:{{#arrayindex:mega|5}} > 0 |RawMegaPokemonList|PokemonRawList}}|format=CSV with header|filters=Name={{#arrayindex:lineup|5}}|data=name5=Name,number5=Pokedex Number,5type1=Type1,5type2=Type2}} | | <b>Tip:</b> In order to get a image along with the Boss's name, a image with that boss name must exist (e.g Professor Oak) |
| {{#arraydefine:moves0|{{{Moves0}}}}} | | |
| {{#arraydefine:moves1|{{{Moves1}}}}} | | ===Example=== |
| {{#arraydefine:moves2|{{{Moves2}}}}} | | This example also features the [[Template:NPCMove|NPCMove template]] and [[:Template:BossPokemon|BossPokemon Template]]. <br> |
| {{#arraydefine:moves3|{{{Moves3}}}}} | | The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't. <br> |
| {{#arraydefine:moves4|{{{Moves4}}}}} | | <pre style="color: red"> |
| {{#arraydefine:moves5|{{{Moves5}}}}} | | <nowiki>{{BossNPCLineup| Boss=Professor Oak| Theme=Ice |Lineup= |
| {{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}} | | {{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= |
| <table style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 75%; max-width: 100%;"> | | {{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }} |
| <tr><th colspan="6"><div style="margin: auto auto; width: 50%; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px;">{{{Boss}}}'s Lineup | | |
| | {{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} |
| | }}</nowiki> |
| | </pre> |
| | === Result === |
| | {{BossNPCLineup| Boss=Professor Oak| Theme=Ice| Lineup= |
| | |
| | {{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= |
| | {{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }} |
| | |
| | {{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} |
| | }} |
| | </noinclude> |
| | |
| | <includeonly>{{PokemonArray}}{{MoveArray}}{{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}{{#vardefine:rows|0}} |
| | <table class="collapsible" style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 100%;"> |
| | <tr><th colspan="12"><div style="margin: auto auto; width: 50%; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px;">{{{Boss}}}'s Lineup |
| {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center]]</div>}} | | {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center]]</div>}} |
| </div> | | </div> |
| </th></tr> | | </th></tr> |
| <tr> | | <tr> |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| | {{{Lineup|}}} |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:0type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:0type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|0}} > 0 |Mega_}}{{#external_value:name0}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:0type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|0}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name0}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|0}}</td>
| |
| <td>[[{{#arrayindex:ability|0}}]]</td>
| |
| <td>[[{{#arrayindex:item|0}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}}">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop:vector0|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves0|{{#var:vector0}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:0type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:0type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:1type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:1type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|1}} > 0 |Mega_}}{{#external_value:name1}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:1type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|1}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name1}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|1}}</td>
| |
| <td>[[{{#arrayindex:ability|1}}]]</td>
| |
| <td>[[{{#arrayindex:item|1}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop: vector1|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves1|{{#var:vector1}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:1type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:1type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:2type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:2type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|2}} > 0 |Mega_}}{{#external_value:name2}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:2type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|2}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name2}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|2}}</td>
| |
| <td>[[{{#arrayindex:ability|2}}]]</td>
| |
| <td>[[{{#arrayindex:item|2}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop: vector2|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves2|{{#var:vector2}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:2type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:2type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:3type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:3type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|3}} > 0 |Mega_}}{{#external_value:name3}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:3type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|3}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name3}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|3}}</td>
| |
| <td>[[{{#arrayindex:ability|3}}]]</td>
| |
| <td>[[{{#arrayindex:item|3}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop:vector3|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves3|{{#var:vector3}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:3type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:3type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:4type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:4type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|4}} > 0 |Mega_}}{{#external_value:name4}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:4type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|4}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name4}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|4}}</td>
| |
| <td>[[{{#arrayindex:ability|4}}]]</td>
| |
| <td>[[{{#arrayindex:item|4}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop:vector4|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves4|
| |
| {{#var:vector4}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:4type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:4type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr>
| |
| <tr>
| |
| <td style="background-color: {{#var:cell}]; border-radius: 25px; border: 3px solid {{#var:border}};">
| |
| <table width="100%" style="text-align: center;">
| |
| <tr>
| |
| <td colspan="5"><div style="background-color:#{{{{#external_value:5type1}}_color_light}}; border-radius: 25px; border: 3px solid #{{{{#external_value:5type1}}_color_dark}}; padding: 3px; margin: auto auto; width: 30%;">[[File:{{#ifexpr: {{#arrayindex:mega|5}} > 0 |Mega_}}{{#external_value:name5}}_Front_Sprite.png]]<div style="background-color:#FFFFFF; border-radius: 25px; border: 3px solid #{{{{#external_value:5type1}}_color_dark}}; padding: 3px; margin: auto auto; margin-top: 5px; width: 45%;">{{#ifexpr:{{#arrayindex:mega|5}} > 0 |<span style="color:#000000;">Mega</span>}} [[{{#external_value:name5}}]]</div></div></td>
| |
| </tr>
| |
| <tr>
| |
| <td>
| |
| <table width="60%" align="center" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}}; width: 33% ">Nature</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Ability</th><th style="border: 1px solid {{#var:border}}; width: 33% ">Item</th></tr>
| |
| <tr style="background-color: #DDD; color: #000000; cellpadding: 3px">
| |
| <td>{{#arrayindex:nature|5}}</td>
| |
| <td>[[{{#arrayindex:ability|5}}]]</td>
| |
| <td>[[{{#arrayindex:item|5}}]]</td>
| |
| </tr>
| |
| </table>
| |
| <tr>
| |
| <td>
| |
| <table width="100%" class="collapsible collapsed" style="text-align: center;">
| |
| <tr style="background-color: {{#var:cell}}; color: {{#var:border}};">
| |
| <th style="border: 1px solid {{#var:border}};">Move</th><th style="border: 1px solid {{#var:border}};">Type</th><th style="border: 1px solid {{#var:border}};">Category</th><th style="border: 1px solid {{#var:border}};">Base Power</th><th style="border: 1px solid {{#var:border}};">Accuracy</th>
| |
| </tr>
| |
| {{#loop:vector5|
| |
| 0|
| |
| 4|
| |
| <tr style="background-color:#FFFFFF; color:#000000;">
| |
| {{#get_web_data:url=http://prowiki.info/index.php?title=Special:GetData/RawMovesList|format=CSV with header|filters=Name={{#arrayindex:moves5|{{#var:vector5}}}}|data=technique=Name,movetype=Type,category=Category,power=Power,accuracy=Accuracy,pp=PP,broken=Broken,typeless=Typeless}}
| |
| <td><span style="{{#ifeq: {{#external_value:category}} | Status | | {{#ifeq:{{#external_value:typeless}} | N | {{#ifeq:{{#external_value:5type1}} | {{#external_value:movetype}} | font-weight: bold; | {{#ifeq: {{#external_value:5type2}} | {{#external_value:movetype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#external_value:broken}} | Y | font-style: italic;}}">[[{{#external_value:technique}}]]</span></td>
| |
| <td style="background-color: #{{{{#external_value:movetype}}_color}}; border: 2px solid #{{{{#external_value:movetype}}_color_dark}};">[[{{#external_value:movetype}}_(type)|<span style="color:#FFFFFF;">{{#external_value:movetype}}</span>]]</td>
| |
| <td style="background-color:#{{{{#external_value:category}}_color}}; border: 2px solid #{{{{#external_value:category}}_color_dark}};">[[{{#external_value:category}} Moves|<span style="color:#FFFFFF;">{{#external_value:category}}</span>]]</td>
| |
| <td>{{#if:{{#external_value:power}} | {{#external_value:power}} | — }}</td>
| |
| <td>{{#external_value:accuracy}}</td>
| |
| </tr>
| |
| }} | |
| </table>
| |
| </td>
| |
| </tr>
| |
| </table>
| |
| </td>
| |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};"> | | <td colspan="2" style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};"> |
| <ul> | | <ul> |
| <li>'''Emboldened''' moves avail from a STAB bonus when deployed by that Pokémon.</li> | | <li>'''Emboldened''' moves avail from a STAB bonus when deployed by that Pokémon.</li> |