Difference between revisions of "Template:MoveInfobox"
From Rollo
Line 28: | Line 28: | ||
| style="background: #FFF" | {{{priority}}} | | style="background: #FFF" | {{{priority}}} | ||
|- | |- | ||
− | | colspan=2 style="background: #FFF; text-align:center"| {{{summary|}}} | + | | colspan=2 style="background: #FFF; text-align:center"| {{#replace:{{{summary|}}}|"|}} |
|- | |- | ||
| style="background: #FFF; font-size: 0.90em; {{roundybottom|10px}}" colspan="2" | | | style="background: #FFF; font-size: 0.90em; {{roundybottom|10px}}" colspan="2" | | ||
Line 129: | Line 129: | ||
|[[Category:Classic moves]]}} [[Category:{{{function|Unknown}}} code]] [[Category:{{#replace:{{PAGENAME}}|(move)}}]]</includeonly> | |[[Category:Classic moves]]}} [[Category:{{{function|Unknown}}} code]] [[Category:{{#replace:{{PAGENAME}}|(move)}}]]</includeonly> | ||
{{clear}} | {{clear}} | ||
− | <span style="color:#FFF;float:right;">{{{ID|???}}},{{#replace:{{uc:{{#replace:{{PAGENAME}}|(move)|}}}}|<nowiki> </nowiki>|}},{{#replace:{{#replace:{{PAGENAME}}|(move)|}},|<nowiki> ,</nowiki>|<nowiki>,</nowiki>}}[[Function code#{{{function|000}}}|<span style="color:#FFF;">{{{function|000}}}</span>]],{{#ifeq:{{{power}}}|—|0|{{{power|0}}}}},{{uc:{{{type|???}}}}},{{{damagecategory|Status}}},{{#ifeq:{{{accuracy}}}|—|0|{{{accuracy|0}}}}},{{{PP|1}}},{{{additional|0}}},{{{target|00}}},{{{priority|0}}},{{{flags|}}}, | + | <span style="color:#FFF;float:right;">{{{ID|???}}},{{#replace:{{uc:{{#replace:{{PAGENAME}}|(move)|}}}}|<nowiki> </nowiki>|}},{{#replace:{{#replace:{{PAGENAME}}|(move)|}},|<nowiki> ,</nowiki>|<nowiki>,</nowiki>}}[[Function code#{{{function|000}}}|<span style="color:#FFF;">{{{function|000}}}</span>]],{{#ifeq:{{{power}}}|—|0|{{{power|0}}}}},{{uc:{{{type|???}}}}},{{{damagecategory|Status}}},{{#ifeq:{{{accuracy}}}|—|0|{{{accuracy|0}}}}},{{{PP|1}}},{{{additional|0}}},{{{target|00}}},{{{priority|0}}},{{{flags|}}},{{{summary|Unknown effect.}}}</span><noinclude> |
{{clear}} | {{clear}} | ||
==Usage== | ==Usage== |
Revision as of 18:30, 6 October 2023
MoveInfobox | ||||||||||||||
| ||||||||||||||
Target
|
MoveInfobox is a [[{{{type}}} (type)|{{{type}}}]]-type [[{{{damagecategory}}} move]].
Template:LearnsetDPL
???,MOVEINFOBOX,MoveInfobox,000,0,???,Status,0,1,0,00,0,,Unknown effect.
Usage
{{MoveInfobox |power= |type= |damagecategory= |accuracy= |mp= |target= |flags= }}
{{MoveInfobox |power=40 (delete if 0) |type=Warrior |damagecategory=Physical |accuracy=100 (delete if never misses) |pp=40 |target=NearOther |priority=0 |additional=0 |flags=abef }}
Seldom-used parameters
|cut=yes |field=yes |image= |image2= |imagewidth=
Valid "target" entries
00 | NearOther | Moves that target any monster but the user |
400 | NearFoe | Moves that target any foe |
200 | UserOrNearAlly | Moves that target the user or an ally (Acupressure) |
04 | AllNearFoes | Moves that target both foes |
08 | AllNearMonsters | Moves that target all monsters |
100 | NearAlly | Moves that target the user's ally |
02 | RandomNearFoe | Moves that target a random foe (Outrage, Petal Dance) |
10 | User | Moves that deliberately target the user (Howl, Swords Dance, Recover) |
01 | None | Moves that don't have a deliberate target (Counter, Mirror Coat, Curse) |
40 | UserSide | Moves that target the user's side (Light Screen, Reflect, Tailwind) |
80 | FoeSide | Moves that target the foe's side (Spikes, Stealth Rock) |
20 | BothSides | Moves that target the field (Sunny Day, Gravity, Trick Room) |
800 | ??? | Moves that target any one monster (including the user) Deviates from the essential source |
Flags
a | Contact | Makes contact |
b | CanProtect | Affected by Protect and similar moves |
c | — | Magic Coat (most offensive status moves); should be mutually exclusive with d |
d | — | Affected by Snatch (most defensive/buffing status moves); should be mutually exclusive with c |
e | CanMirrorMove | Affected by Mirror Move |
f | — | Affected by King's Rock or similar effects; should include any attack move without a secondary effect |
g | ThawsUser | Thaws the user if |
h | HighCriticalHitRate | Elevated critical hit rate; predominantly used for "cutting" moves |
i | Biting | Empowered by the Strong Jaw and Sunder Fang abilities |
j | Punching | Empowered by the Iron Fist and Open Palm abilities |
k | Sound | Affected by Soundproof, Echo, Siren Song, Megaphone, and Throat Chop |
l | Powder | Any porkman is unaffected if it is Grass-type or is holding Hazmat Gear |
m | Pulse | Empowered by Mega Pulse |
n | Bomb | Bomb or cannon move; empowered by Mega Cannon and blocked by Bunker |
o | Dance | Dance move |
p | CannotMetronome | Can't be called by moves like Metronome; generally includes mega moves and signature moves |
q | Beam | Beam, bolt, ray, or laser move Currently unaffected by any effect Deviates from the essential source |