Difference between revisions of "Template:MoveInfobox"
From Pixelmon Wiki
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| 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="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|Move}}}|<font size=4>'''{{{name|Move}}}'''</font><br><small>''' | | style="text-align:center" {{{name|Move}}}|<font size=4>'''{{{name|Move}}}'''</font><br><small>''' | ||
|- | |- | ||
− | | style="background: #999999; border: 1px solid #{{{{{type|Normal}}} color}}; | + | | style="background: #999999; border: 1px solid #{{{{{type|Normal}}} color}};" | |
{| style="background: transparent" width="100%" | {| style="background: transparent" width="100%" | ||
|- | |- | ||
− | ! width="35%" style="background: #{{{{{type|Normal}}} color}}; border: 1px solid #FFFFFF; | + | ! 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|Normal}}} color}}; border: 1px solid #FFFFFF; | + | | 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|Status}}} color}}; border: 1px solid #FFFFFF; | + | ! style="background: #{{{{{damagecategory|Status}}} color}}; border: 1px solid #FFFFFF;" | <span style="color:#FFFFFF">Category</span> |
− | | style="background: #{{{{{damagecategory|Status}}} color}}; border: 1px solid #FFFFFF; | + | | style="background: #{{{{{damagecategory|Status}}} color}}; border: 1px solid #FFFFFF;" | <span style="color:#FFFFFF">{{{damagecategory|Status}}}</span> |
|- | |- | ||
− | ! style="background: #FFFFFF; | + | ! style="background: #FFFFFF;" | Power |
− | | style="background: #FFFFFF; {{ | + | | style="background: #FFFFFF;" | {{#if: {{Power|{{{name|}}}}}|{{Power|{{{name|}}}}}|{{#ifeq: {{{power|—}}}|-|—|{{{power|—}}}}}}} |
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! Accuracy | ! Accuracy | ||
− | | {{#ifeq: {{{accuracy| | + | | {{#if: {{Accuracy|{{{name|}}}}}|{{Accuracy|{{{name}}}}}|{{#ifeq: {{{accuracy|—}}}|-|—|{{{accuracy|—}}}}}}}{{#ifeq: {{#ifeq: {{{accuracy|—}}}|-|—|{{{accuracy|—}}}}}|—||%}} |
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! PP | ! PP | ||
Line 26: | Line 26: | ||
! Target | ! Target | ||
| {{#switch: {{{target|single}}} | | {{#switch: {{{target|single}}} | ||
− | |single={{tt|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|-}}}|-|| If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-|| Whether or not {{{name|this move}}} misses is calculated separately per Pokémon.}}}} | |both={{tt|Both opponents|{{{name|This move}}} will affect both opponents in a double battle.{{#ifeq: {{{power|-}}}|-|| If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-|| 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|-}}}|-|| If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-|| 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|-}}}|-|| If this is the case, {{{name|this move}}}'s damage will be reduced to 75% of its usual damage.}}{{#ifeq: {{{accuracy|-}}}|-|| Whether or not {{{name|This move}}} misses is calculated separately per Pokémon.}}}} | ||
Line 34: | Line 34: | ||
|partner={{tt|Partner|{{{name|This move}}} affects the user's partner. If used in a single battle, {{{name|This move}}} will fail.}} | |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.}} | |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.}} | + | |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]] | ||
+ | | {{#if:{{{tm|}}}|{{#if:{{{nolink|}}}|{{{tm}}}|[[{{{tm}}}]]}}|None}} | ||
+ | |- style="background: #FFFFFF" | ||
+ | ! [[External move]] | ||
+ | | {{{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 | ||||||||||||||||||
|