Template:KeitaNPCMove: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- 3. KeitaNPCMove Template --> | |||
<noinclude> | <noinclude> | ||
<b> | <b>KeitaNPCMove Template</b> is the addon template that adds the <b>Pokemon moves</b> to a Pokemon in the lineup. <br> | ||
It's used in correspondence with [[:Template: | It's used in correspondence with [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]] and [[Template:KeitaBossNPCLineup|KeitaBossNPCLineup Template]]. <br> | ||
__NOTOC__ | __NOTOC__ | ||
Line 14: | Line 15: | ||
<pre style="color: red"> | <pre style="color: red"> | ||
<nowiki> | <nowiki> | ||
{{ | {{KeitaNPCMove | Bolt Strike}} {{KeitaNPCMove | Stone Edge}} {{KeitaNPCMove | Outrage}} {{KeitaNPCMove | Dark Pulse}}</nowiki> | ||
</pre> | </pre> | ||
====Example on a lineup==== | ====Example on a lineup==== | ||
<pre style="color: blue"> | <pre style="color: blue"> | ||
<nowiki> | <nowiki> | ||
{{ | {{KeitaBossNPCLineup| Boss=Professor Rowan| Theme=Grass |Lineup= | ||
{{ | {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= | ||
{{ | {{KeitaNPCMove | Bolt Strike}} {{KeitaNPCMove | Stone Edge}} {{ KeitaNPCMove | Outrage}} }} | ||
{{ | {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers | Moveset= | ||
{{ | {{KeitaNPCMove|Dark Void}} {{KeitaNPCMove|Dark Pulse}} | ||
}} | }} | ||
}}</nowiki> | }}</nowiki> | ||
Line 30: | Line 31: | ||
=== Result === | === Result === | ||
{{ | {{KeitaBossNPCLineup| Boss=Professor Rowan| Theme=Grass |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 | Moveset= | ||
{{ | {{KeitaNPCMove|Dark Void}}{{KeitaNPCMove|Dark Pulse}} | ||
}} | }} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 44: | Line 44: | ||
{{#if:{{{Type|}}}|{{#vardefine:mtype|{{{Type}}}}}|{{#vardefine:mtype|{{#arrayindex:movetype|{{#var:iteration}}}}}}}} | {{#if:{{{Type|}}}|{{#vardefine:mtype|{{{Type}}}}}|{{#vardefine:mtype|{{#arrayindex:movetype|{{#var:iteration}}}}}}}} | ||
<tr style="background-color:#FFFFFF;"> | <tr style="background-color:#FFFFFF;"> | ||
<td><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#var:type1}} | {{#var:mtype}} | font-weight: bold; | {{#ifeq: {{#var:type2}} | {{#var:mtype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]]</span></td> | <td style="padding: 5px;"><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#var:type1}} | {{#var:mtype}} | font-weight: bold; | {{#ifeq: {{#var:type2}} | {{#var:mtype}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]]</span></td> | ||
<td style="background-color: #{{{{#var:mtype}}_color}}; border: | <td style="background-color: #{{{{#var:mtype}}_color}}; border: 1px solid #{{{{#var:mtype}}_color_dark}}; padding: 5px;">[[{{#var:mtype}}_(type)|<span style="color:#FFFFFF;">{{#var:mtype}}</span>]]</td> | ||
<td style="background-color:#{{{{#arrayindex:category|{{#var:iteration}}}}_color}}; border: | <td style="background-color:#{{{{#arrayindex:category|{{#var:iteration}}}}_color}}; border: 1px solid #{{{{#arrayindex:category|{{#var:iteration}}}}_color_dark}}; padding: 5px;">[[{{#arrayindex:category|{{#var:iteration}}}} moves|<span style="color:#FFFFFF;">{{#arrayindex:category|{{#var:iteration}}}}</span>]]</td> | ||
<td>{{#if:{{#arrayindex:power|{{#var:iteration}}}} | {{#arrayindex:power|{{#var:iteration}}}} | — }}</td> | <td style="padding: 5px;">{{#if:{{#arrayindex:power|{{#var:iteration}}}} | {{#arrayindex:power|{{#var:iteration}}}} | — }}</td> | ||
<td>{{#arrayindex:accuracy|{{#var:iteration}}}}</td> | <td style="padding: 5px;">{{#arrayindex:accuracy|{{#var:iteration}}}}</td> | ||
</tr> | </tr> | ||
</includeonly> | </includeonly> |
Revision as of 22:24, 8 March 2025
KeitaNPCMove Template is the addon template that adds the Pokemon moves to a Pokemon in the lineup.
It's used in correspondence with KeitaBossPokemon Template and KeitaBossNPCLineup Template.
Parameters and arguments
- Move: Input the name of the Move (e.g Bolt Strike)
Example
Template example
{{KeitaNPCMove | Bolt Strike}} {{KeitaNPCMove | Stone Edge}} {{KeitaNPCMove | Outrage}} {{KeitaNPCMove | Dark Pulse}}
Example on a lineup
{{KeitaBossNPCLineup| Boss=Professor Rowan| Theme=Grass |Lineup= {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= {{KeitaNPCMove | Bolt Strike}} {{KeitaNPCMove | Stone Edge}} {{ KeitaNPCMove | Outrage}} }} {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers | Moveset= {{KeitaNPCMove|Dark Void}} {{KeitaNPCMove|Dark Pulse}} }} }}
Result
|
|
||||||||||||||||||||||||||
|