Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Template:MoveInfobox"

From Pixelmon Wiki
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="float:right; background: #{{#switch: {{{type}}}|{{{{{type|???}}} color light}}}}; border: 2px solid #{{{{{type|???}}} color}}; width: 25%; margin-left: 5px; margin-bottom: 5px; {{roundy|5px}}"
+
{| style="float:right; background: #{{#switch: {{{type}}}|{{{{{type|Normal}}} color light}}}}; border: 2px solid #{{{{{type|Normal}}} color}}; width: 25%; margin-left: 5px; margin-bottom: 5px;"
 
|-
 
|-
| style="text-align:center" {{{name|}}}|<font size=4>'''{{{name}}}'''</font><br><small>'''
+
| style="text-align:center" {{{name|Move}}}|<font size=4>'''{{{name|Move}}}'''</font><br><small>'''
 
|-
 
|-
| style="background: #999999; border: 1px solid #{{{{{type|???}}} color}}; {{roundy|10px}}" |
+
| style="background: #999999; border: 1px solid #{{{{{type|Normal}}} color}};" |
 
{| style="background: transparent" width="100%"
 
{| style="background: transparent" width="100%"
 
|-
 
|-
! width="35%" style="background: #{{{{{type|???}}} color}}; border: 1px solid #FFFFFF; {{roundyleft|10px}}" | <span style="color:#FFFFFF">Type</span>
+
! width="35%" style="background: #{{{{{type|Normal}}} color}}; border: 1px solid #FFFFFF;" | <span style="color:#FFFFFF">[[Type|<span style="color:#{{#ifeq: {{{type}}}|Electric|565D4D|FFFFFF}}">Type</span>]]</span>
| style="background: #{{{{{type|???}}} color}}; border: 1px solid #FFFFFF; {{roundyright|10px}}" | {{#switch: {{{type|???}}}|[[{{{type|???}}}{{#ifeq: {{{type}}}|Psychic|&nbsp;(type)|}}|<span style="color:#FFFFFF">&nbsp;'''{{{type|???}}}'''</span>]]}}
+
| style="background: #{{{{{type|Normal}}} color}}; border: 1px solid #FFFFFF; " | '''{{t|{{{type|Normal}}}}}'''
 
|- style="{{#ifexpr: {{{spm|0}}} = 1 | display: none; }}"  
 
|- style="{{#ifexpr: {{{spm|0}}} = 1 | display: none; }}"  
! style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF; {{roundyleft|10px}}" | <span style="color:#FFFFFF">Category</span>
+
! style="background: #{{{{{damagecategory|Status}}} color}}; border: 1px solid #FFFFFF;" | <span style="color:#FFFFFF">Category</span>
| style="background: #{{{{{damagecategory}}} color}}; border: 1px solid #FFFFFF;{{roundyright|10px}}" | &nbsp;<span style="color:#FFFFFF">{{{damagecategory}}}</span>
+
| style="background: #{{{{{damagecategory|Status}}} color}}; border: 1px solid #FFFFFF;" | &nbsp;<span style="color:#FFFFFF">{{{damagecategory|Status}}}</span>
 
|-
 
|-
! style="background: #FFFFFF; {{roundytl|10px}}" | Power
+
! style="background: #FFFFFF;" | Power
| style="background: #FFFFFF; {{roundytr|10px}}" | &nbsp;{{{power|-}}}
+
| style="background: #FFFFFF;" | &nbsp;{{#if: {{Power|{{{name|}}}}}|{{Power|{{{name|}}}}}|{{#ifeq: {{{power|—}}}|-|—|{{{power|—}}}}}}}
 
|- style="background: #FFFFFF"
 
|- style="background: #FFFFFF"
 
! Accuracy
 
! Accuracy
| &nbsp;{{{accuracy|-}}}%
+
| &nbsp;{{#if: {{Accuracy|{{{name|}}}}}|{{Accuracy|{{{name}}}}}|{{#ifeq: {{{accuracy|&mdash;}}}|-|&mdash;|{{{accuracy|&mdash;}}}}}}}{{#ifeq: {{#ifeq: {{{accuracy|&mdash;}}}|-|&mdash;|{{{accuracy|&mdash;}}}}}|&mdash;||%}}
 
|- style="background: #FFFFFF"
 
|- style="background: #FFFFFF"
 
! PP
 
! PP
| &nbsp;{{{basepp}}}
+
| &nbsp;{{{basepp|40}}}
 +
|- style="background: #FFFFFF"
 +
! Priority
 +
| &nbsp;{{#if: {{{priority|}}}|{{tt|{{{priority}}}|This affects the order in which moves are used. If a move has more priority than another move, the higher-priority move will occur first regardless of the combatants' Speed stats. Otherwise, turn order is determined by the Speed stats of the combatants.}}|0}}
 
|- style="background: #FFFFFF"
 
|- style="background: #FFFFFF"
 
! Target
 
! Target
| &nbsp;{{{target|Single opponent}}}
+
| &nbsp;{{#switch: {{{target|single}}}
 +
|single={{tt|Single target|{{{name|This move}}} will affect a single target. In a double battle, {{{name|this move}}}'s target can be chosen.}}
 +
|both={{tt|Both opponents|{{{name|This move}}} will affect both opponents in a double battle.{{#ifeq: {{{power|-}}}|-||&nbsp;If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-||&nbsp;Whether or not {{{name|this move}}} misses is calculated separately per Pokémon.}}}}
 +
|allothers={{tt|All others|In a double battle, this move will affect the user's partner and both opponents.{{#ifeq: {{{power|-}}}|-||&nbsp;If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-||&nbsp;Whether or not {{{name|This move}}} misses is calculated separately per Pokémon.}}}}
 +
|all={{tt|All|{{{name|This move}}} affects all Pokémon that are currently in battle.}}
 +
|self={{tt|Self|{{{name|This move}}} affects the user.}}
 +
|selforpartner={{tt|Self or partner|In a double battle, {{{name|This move}}}'s target can be either the user or the user's partner.}}
 +
|partner={{tt|Partner|{{{name|This move}}} affects the user's partner. If used in a single battle, {{{name|This move}}} will fail.}}
 +
|team={{tt|Team|{{{name|This move}}} affects the user's entire team.}}
 +
|random={{tt|Random opponent|{{{name|This move}}} will affect a single opponent. In a double battle, {{{name|This move}}}'s target is random and cannot be chosen.}}}}
 +
|- style="background: #FFFFFF"
 +
! [[TM]]/[[Tutor]]
 +
| &nbsp;{{#if:{{{tm|}}}|{{#if:{{{nolink|}}}|{{{tm}}}|[[{{{tm}}}]]}}|None}}
 +
|- style="background: #FFFFFF"
 +
! [[External move]]
 +
| &nbsp;{{{external|None}}}
 
|}
 
|}
 
|}
 
|}
 +
<!--Derived from Bulbapedia (http://bulbapedia.bulbagarden.net/wiki/Template:MoveInfobox), licensed under CC BY-NC-SA (http://creativecommons.org/licenses/by-nc-sa/2.5).-->

Latest revision as of 01:38, 28 December 2016

Move
Type NormalType.pngNormal
Category  Status
Power  —
Accuracy  —
PP  40
Priority  0
Target  Single target
TM/Tutor  None
External move  None

© 2012 - 2025 Pixelmon Mod