Difference between revisions of "Template:MoveInfobox"
From Pixelmon Wiki
(4 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;" | ||
|- | |- | ||
Line 17: | Line 16: | ||
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! Accuracy | ! Accuracy | ||
− | | {{#if: {{Accuracy|{{{name|}}}}}|{{Accuracy|{{{name}}}}}|{{#ifeq: {{{accuracy| | + | | {{#if: {{Accuracy|{{{name|}}}}}|{{Accuracy|{{{name}}}}}|{{#ifeq: {{{accuracy|—}}}|-|—|{{{accuracy|—}}}}}}}{{#ifeq: {{#ifeq: {{{accuracy|—}}}|-|—|{{{accuracy|—}}}}}|—||%}} |
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! PP | ! PP | ||
Line 27: | 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 38: | Line 37: | ||
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! [[TM]]/[[Tutor]] | ! [[TM]]/[[Tutor]] | ||
− | | {{#if:{{{tm|}}}|[[{{{tm}}}]]|None}} | + | | {{#if:{{{tm|}}}|{{#if:{{{nolink|}}}|{{{tm}}}|[[{{{tm}}}]]}}|None}} |
|- style="background: #FFFFFF" | |- style="background: #FFFFFF" | ||
! [[External move]] | ! [[External move]] |
Latest revision as of 01:38, 28 December 2016
Move | ||||||||||||||||||
|