Template:KeitaBossPokemon: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude>
<noinclude>
<b>BossPokemon Template</b> is the template that adds the <b>Pokemon lineup</b> to the [[Template:BossNPCLineup|BossNPCLineup Template]]. <br>
<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:BossNPCLineup|BossNPCLineup Template]] and with the [[Template:NPCMove|NPCMove template]] being an optional addon for adding moves. <br>
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:NPCMove|NPCMove template]]</li>
<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:NPCMove|NPCMove template]]. <br>
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>{{BossNPCLineup| Boss=Professor Oak| Lineup=
<nowiki>{{KeitaBossNPCLineup| Boss=Professor Oak| Lineup=
{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }}
{{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }}


{{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
{{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
}}</nowiki>
}}</nowiki>
</pre>
</pre>
=== Result ===
=== Result ===
{{BossNPCLineup| Boss=Professor Oak| Lineup=
{{KeitaBossNPCLineup| Boss=Professor Oak| Lineup=


{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }}
{{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }}


{{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
{{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

max-width=100%
Christmas Zekrom
         Professor Oak's Lineup
max-width=200px
max-width=200px
Nature Ability Item
Adamant Teravolt Leftovers
Show Moves
Move Type Category Power Accuracy
Bolt Strike Electric Physical 130 85
Stone Edge Rock Physical 100 80
Outrage Dragon Physical 120 100
Outrage Dragon Physical 120 100




Show Moves
Move Type Category Power Accuracy
  • 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.