Difference between revisions of "Template:MoveInfobox"
From Rollo
Line 80: | Line 80: | ||
{| style="background: transparent" width="100%" | {| style="background: transparent" width="100%" | ||
|- | |- | ||
− | | style="background: #{{#switch: {{{target|00}}}|00=F1C232|400=F1C232|04=ED1C24|08=ED1C24|80=ED1C24|20=ED1C24|02=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|00=F1C232|400=F1C232|04=ED1C24|08=ED1C24|80=ED1C24|20=ED1C24|02=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> |
− | | style="background: #{{#switch: {{{target|00}}}|00=F1C232|400=F1C232|04=ED1C24|08=ED1C24|80=ED1C24|20=ED1C24|02=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|00=F1C232|400=F1C232|04=ED1C24|08=ED1C24|80=ED1C24|20=ED1C24|02=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> |
|- | |- | ||
| style="background: #{{#switch: {{{target|00}}}|800=F1C232|200=F1C232|10=ED1C24|01=ED1C24|40=ED1C24|20=ED1C24|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Self</small> | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|200=F1C232|10=ED1C24|01=ED1C24|40=ED1C24|20=ED1C24|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Self</small> | ||
− | | style="background: #{{#switch: {{{target|00}}}|00=F1C232|200=F1C232|08=ED1C24|100=ED1C24|40=ED1C24|20=ED1C24|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Ally</small> | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|00=F1C232|200=F1C232|08=ED1C24|100=ED1C24|40=ED1C24|20=ED1C24|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Ally</small> |
|- | |- | ||
| colspan="3" style="background: #FFF; {{roundy|3px}}" | <small>{{#switch: {{{target|00}}} | | colspan="3" style="background: #FFF; {{roundy|3px}}" | <small>{{#switch: {{{target|00}}} | ||
− | |00=May affect | + | |00=May affect any one battler, except the user <includeonly>[[Category:Moves that target any one monster other than the user]]</includeonly> |
− | |800=May affect | + | |800=May affect any one battler<includeonly>[[Category:Moves that target any one monster including the user]]</includeonly> |
|400=May affect any foe, but not allies [[Category:Moves that target any one foe]] | |400=May affect any foe, but not allies [[Category:Moves that target any one foe]] | ||
|200=May affect the user or an ally [[Category:Moves that target only the user or an ally]] | |200=May affect the user or an ally [[Category:Moves that target only the user or an ally]] |
Revision as of 11:21, 5 December 2021
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) |mp=40 |target=00 |flags=abef }}
Seldom-used parameters
|cut=yes |additional=20 |field=yes |priority=+1 |image= |image2= |imagewidth=
Valid "target" entries
00 | Moves that target any monster but the user |
400 | Moves that target any foe |
200 | Moves that target the user or an ally |
04 | Moves that target both foes |
08 | Moves that target all monsters |
100 | Moves that target the user's ally |
02 | Moves that target a random foe (Outrage, Petal Dance) |
10 | Moves that deliberately target the user (Howl, Swords Dance, Recover) |
01 | Moves that don't have a deliberate target (Counter, Mirror Coat, Curse) |
40 | Moves that target the user's side (Light Screen, Reflect, Tailwind) |
80 | Moves that target the foe's side (Spikes, Stealth Rock) |
20 | 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 | makes contact |
b | 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 | affected by Mirror Move |
f | affected by King's Rock, Lunar Orb, Oppression, etc; should include any attack move without a secondary effect |
g | thaws the user if frozen |
h | elevated critical hit rate; predominantly used for "cutting" moves |
i | biting move; empowered by the Strong Jaw and Sunder Fang abilities |
j | punching or fist move; empowered by the Iron Fist and Open Palm abilities |
k | sound move; affected by Soundproof, Echo, Siren Song, Megaphone, and Throat Chop |
l | powder move; any porkman is unaffected if it is Grass-type or is holding Hazmat Gear |
m | pulse move; empowered by Mega Pulse |
n | bomb or cannon move; empowered by Mega Cannon and blocked by Bunker |
o | beam, bolt, or ray move; blocked by Deflector |