Template:BossNPCLineup: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Bash (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
<noinclude><pre>
<noinclude>
Small introduction how this template works.
==Parameters and arguments==


<ul>
<li>'''Boss:''' Input the boss's name.</li>
<li>'''Lineup:''' Marshal the boss's Pokemon lineup in order of deployment using [[:Template:BossPokemon]].</li>
</ul>
</noinclude>


{{BossNPCLineup|Boss= '''Write the bosses name in here'''
<includeonly>{{PokemonArray}}{{MoveArray}}
|Lineup= '''Put in the Pokémon names, seperated with commas. The first Pokémon name you put in will be the first on the Template.'''
|MoveNumber= '''Some Bosses have more than 4 moves or sometimes you only know only 2 moves. Put in here the number of moves you know and seperate each number with a comma.'''
|Moves0= '''Put in the moves of the first Pokémon, must be spelled correctly and must be seperated by a comma'''
|Moves1= '''Second Pokémon, same as above.'''
|Moves2= '''^'''
|Moves3=
|Moves4=
|Moves5=
|Item= '''Put in the item names here, seperate them by commas. If a Pokémon has no item, insert "None" '''
|Ability= ''' Same as above just with Abilities'''
|Nature= ''' Same as above just with Natures'''
}}
</pre>
 
Here a example:
 
<pre>
 
{{BossNPCLineup|Boss=Brock|MoveNumber=5,4,4,4,2,4|Lineup=Aerodactyl,Golem,Steelix,Cradily,Toxicroak,Terrakion|Moves0=Heal Bell,Rock Slide,Taunt,Stealth Rock,Explosion|Moves1=Rock Slide,Bulldoze,Heavy Slam,Sucker Punch|Moves2=Iron Head,Dig,Sandstorm,Double-Edge|Moves3=Toxic,Solarbeam,Smack Down,Sludge Wave|Moves4=Dark Pulse,Round|Moves5=Sacred Sword,Rock Slide,X-Scissor,Poison Jab|Item=None,None,None,None,Focus Sash,None|Ability=Rock Head,Sturdy,Sturdy,Storm Drain,Poison Touch,Justified|Nature=Naive,Jolly,Adamant,Sassy,Timid,Jolly}}
 
</pre></noinclude>
 
 
<includeonly>{{#arraydefine:lineup|{{{Lineup}}}}}
{{#arraydefine:nature|{{{Nature}}}}}
{{#arraydefine:ability|{{{Ability}}}}}
{{#arraydefine:item|{{{Item}}}}}
{{#arraydefine:mega|{{{Mega|0,0,0,0,0,0}}}}}
{{#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}}
{{#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}}
{{#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}}
{{#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}}
{{#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}}
{{#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}}
{{#arraydefine:MoveNumber|{{{MoveNumber}}}}}
{{#arraydefine:moves0|{{{Moves0}}}}}
{{#arraydefine:moves1|{{{Moves1}}}}}
{{#arraydefine:moves2|{{{Moves2}}}}}
{{#arraydefine:moves3|{{{Moves3}}}}}
{{#arraydefine:moves4|{{{Moves4}}}}}
{{#arraydefine:moves5|{{{Moves5}}}}}
{{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}
<table style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 75%; max-width: 100%;">
<table style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 75%; max-width: 100%;">
<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
<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
Line 51: Line 14:
</div>
</div>
</th></tr>
</th></tr>
<tr>
{{{Lineup|}}}
<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: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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|0}}|
<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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|1}}|
<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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|2}}|
<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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|3}}|
<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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|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: #FFFFFF; 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|
{{#arrayindex:MoveNumber|5}}|
<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>
<td style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};">
<td style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};">

Revision as of 23:27, 6 November 2019

Parameters and arguments

  • Boss: Input the boss's name.
  • Lineup: Marshal the boss's Pokemon lineup in order of deployment using Template:BossPokemon.