Template:KeitaBossPokemon: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<b> | <b>KeitaBossPokemon Template</b> is the template that adds the <b>Pokemon lineup</b> to the [[Template:KeitaBossNPCLineup|KeitaBossNPCLineup Template]]. <br> | ||
It's used in correspondence with [[Template: | It's used in correspondence with [[Template:KeitaBossNPCLineup|KeitaBossNPCLineup Template]] and with the [[Template:KeitaNPCMove|KeitaNPCMove template]] being an optional addon for adding moves. <br> | ||
==Parameters and arguments== | ==Parameters and arguments== | ||
Line 10: | Line 10: | ||
<li>'''Ability:''' Input the Pokemon's Ability, if any (e.g Intimidate)</li> | <li>'''Ability:''' Input the Pokemon's Ability, if any (e.g Intimidate)</li> | ||
<li>'''Item:''' Input the Pokemon's Held Item, if any (e.g Leftovers)</li> | <li>'''Item:''' Input the Pokemon's Held Item, if any (e.g Leftovers)</li> | ||
<li>'''Moveset:''' If the Pokemon have any moves, use the [[Template: | <li>'''Moveset:''' If the Pokemon have any moves, use the [[Template:KeitaNPCMove|KeitaNPCMove template]]</li> | ||
</ul> | </ul> | ||
===Example=== | ===Example=== | ||
This example also features the [[Template: | This example also features the [[Template:KeitaNPCMove|KeitaNPCMove template]]. <br> | ||
The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't. <br> | The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't. <br> | ||
<pre style="color: red"> | <pre style="color: red"> | ||
<nowiki>{{ | <nowiki>{{KeitaBossNPCLineup| Boss=Professor Oak| Lineup= | ||
{{ | {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= | ||
{{ | {{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }} | ||
{{ | {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} | ||
}}</nowiki> | }}</nowiki> | ||
</pre> | </pre> | ||
=== Result === | === Result === | ||
{{ | {{KeitaBossNPCLineup| Boss=Professor Oak| Lineup= | ||
{{ | {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= | ||
{{ | {{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }} | ||
{{ | {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ifeq:{{ucfirst:{{{Form}}}}}|Mega|{{MegaPokemonArray}}}}{{#vardefine:pname|{{ucfirst:{{{Name}}}}}}}{{#vardefine:iteration|{{#arraysearch:pname|{{#var:pname}}}}}}{{#vardefine:type1|{{#arrayindex:type1|{{#var:iteration}}}}}}{{#vardefine:type2|{{#arrayindex:type2|{{#var:iteration}}}}}}{{#vardefine:rows|{{#expr:{{#var:rows}}+1}}}} | <includeonly>{{#ifeq:{{ucfirst:{{{Form}}}}}|Mega|{{MegaPokemonArray}}}}{{#vardefine:pname|{{ucfirst:{{{Name}}}}}}}{{#vardefine:iteration|{{#arraysearch:pname|{{#var:pname}}}}}}{{#vardefine:type1|{{#arrayindex:type1|{{#var:iteration}}}}}}{{#vardefine:type2|{{#arrayindex:type2|{{#var:iteration}}}}}}{{#vardefine:rows|{{#expr:{{#var:rows}}+1}}}} | ||
Line 76: | Line 74: | ||
</div> | </div> | ||
</div> | </div> | ||
{{#ifeq:{{ucfirst:{{{Form}}}}}|Mega|{{PokemonArray} | {{#ifeq:{{ucfirst:{{{Form}}}}}|Mega|{{PokemonArray}}}} | ||
</includeonly> |
Revision as of 22:16, 8 March 2025
KeitaBossPokemon Template is the template that adds the Pokemon lineup to the KeitaBossNPCLineup Template.
It's used in correspondence with KeitaBossNPCLineup Template and with the KeitaNPCMove template being an optional addon for adding moves.
Parameters and arguments
- Name: Input the Pokemon name (e.g Gyarados)
- Form: Input the Pokemon form/counterpart, if any (e.g Shiny Mega Gyarados or Christmas Zekrom)
- Nature: Input the Pokemon's Nature, if any (e.g Jolly)
- Ability: Input the Pokemon's Ability, if any (e.g Intimidate)
- Item: Input the Pokemon's Held Item, if any (e.g Leftovers)
- Moveset: If the Pokemon have any moves, use the KeitaNPCMove template
Example
This example also features the KeitaNPCMove template.
The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't.
{{KeitaBossNPCLineup| Boss=Professor Oak| Lineup= {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= {{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }} {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} }}
Result
- Emboldened moves avail from a STAB bonus when deployed by that Pokémon.
- Italicized moves are functionally broken; see their individualized pages for more information.