Difference between revisions of "Template:MoveInfobox"
From Rollo
(11 intermediate revisions by the same user not shown) | |||
Line 34: | Line 34: | ||
|* '''Usable outside of battle'''<includeonly>[[Category:Moves usable outside of battle]]</includeonly> | |* '''Usable outside of battle'''<includeonly>[[Category:Moves usable outside of battle]]</includeonly> | ||
}} {{#if:{{{additional|}}} | }} {{#if:{{{additional|}}} | ||
− | |* '''{{{additional|10}}}% chance of [[additional effects]]'''}} | + | |* '''{{{additional|10}}}% chance of [[additional effects]]'''}} {{#if:{{{contact|}}} |
|* '''Makes [[contact]]''' | |* '''Makes [[contact]]''' | ||
|* Does not make [[contact]] | |* Does not make [[contact]] | ||
}}{{#if:{{{noprotect|}}} | }}{{#if:{{{noprotect|}}} | ||
− | |* Unaffected by [[ | + | |* Unaffected by [[protection]] [[Category:Moves unaffected by Protection]] |
− | |* '''Affected by [[ | + | |* '''Affected by [[protection]]''' |
}}{{#if:{{{nocopy|}}} | }}{{#if:{{{nocopy|}}} | ||
|* Cannot be [[copied]] [[Category:Moves that cannot be copied]] | |* Cannot be [[copied]] [[Category:Moves that cannot be copied]] | ||
|* '''Can be [[copied]]''' | |* '''Can be [[copied]]''' | ||
− | }}{{#if:{{{thaw|}}}| | + | }} {{#if:{{{thaw|}}}| |
− | * ''' | + | * '''Cures the user's [[Frostbitten|Frostbite]]''' [[Category:User-thawing moves]] |
+ | }} {{#if:{{{douse|}}}| | ||
+ | * '''Cures the user's [[Burned|Burn]]''' [[Category:User-dousing moves]] | ||
+ | }} {{#if:{{{shockheal|}}}| | ||
+ | * '''Cures the user's [[Shocked|Shock]]''' [[Category:Shock-healing moves]] | ||
+ | }} {{#if:{{{purify|}}}| | ||
+ | * '''Cures the user's [[Poisoned|Poison]] and [[Corrupted|Corruption]]''' [[Category:User-purifying moves]] | ||
+ | }} {{#if:{{{spin|}}}| | ||
+ | * '''Clears [[Seeded|SED]], [[binding]], and [[hazard]]s from user [[Category:Spinning moves]] | ||
}} {{#if:{{{crit|}}}| | }} {{#if:{{{crit|}}}| | ||
* '''Has a high critical hit rate''' [[Category:High critical hit rate moves]] | * '''Has a high critical hit rate''' [[Category:High critical hit rate moves]] | ||
Line 59: | Line 67: | ||
}} {{#if:{{{wind|}}} | }} {{#if:{{{wind|}}} | ||
|* '''Is a [[wind move]]''' [[Category:Wind moves]] | |* '''Is a [[wind move]]''' [[Category:Wind moves]] | ||
− | }} {{#if:{{{ | + | }} {{#if:{{{beam|}}} |
− | |* '''Is a [[beam, | + | |* '''Is a [[beam, ray, or laser move]]''' [[Category:Beam moves]] |
}} {{#if:{{{nocharge|}}}||{{#ifeq:{{{damagecategory|}}}|Status||{{#ifexpr: {{{pp|0}}} > 15 | }} {{#if:{{{nocharge|}}}||{{#ifeq:{{{damagecategory|}}}|Status||{{#ifexpr: {{{pp|0}}} > 15 | ||
|* '''Up to {{#expr:{{{pp|0}}} + {{{power|0}}}}} power {{#if:{{{multi|}}}|for the first hit}} with [[Overcharge Band (item)|Overcharge]]''' | |* '''Up to {{#expr:{{{pp|0}}} + {{{power|0}}}}} power {{#if:{{{multi|}}}|for the first hit}} with [[Overcharge Band (item)|Overcharge]]''' | ||
Line 95: | Line 103: | ||
|} | |} | ||
{{#ifeq:{{{intro}}}|no||'''{{#replace:{{PAGENAME}}|(move)|}}''' is {{#switch:{{{type|}}} | {{#ifeq:{{{intro}}}|no||'''{{#replace:{{PAGENAME}}|(move)|}}''' is {{#switch:{{{type|}}} | ||
− | | | + | |Ice=an |
− | | | + | |Electric=an |
− | |||
|a}} {{type|{{ucfirst:{{lc:{{{type}}}}}}}}}-type [[{{{damagecategory}}} move]]. {{#switch:{{{SM}}} | |a}} {{type|{{ucfirst:{{lc:{{{type}}}}}}}}}-type [[{{{damagecategory}}} move]]. {{#switch:{{{SM}}} | ||
|yes=It is {{SM|{{#replace:{{PAGENAME}}|(move)|}}}}. | |yes=It is {{SM|{{#replace:{{PAGENAME}}|(move)|}}}}. | ||
|universal=It is a universal [[TM]] and thus can be learned by almost any {{pork}}. <includeonly>[[Category:Secret Mushroom moves]]</includeonly> | |universal=It is a universal [[TM]] and thus can be learned by almost any {{pork}}. <includeonly>[[Category:Secret Mushroom moves]]</includeonly> | ||
}} {{#ifeq:{{{TA}}}|yes|It is {{TA|{{#replace:{{PAGENAME}}|(move)|}}}}.}}}} {{#if:{{TM List}}|It is [[{{TM List}}]].}} {{#if:{{{signature|}}}|It is the signature move of {{{signature|}}}.}} | }} {{#ifeq:{{{TA}}}|yes|It is {{TA|{{#replace:{{PAGENAME}}|(move)|}}}}.}}}} {{#if:{{TM List}}|It is [[{{TM List}}]].}} {{#if:{{{signature|}}}|It is the signature move of {{{signature|}}}.}} | ||
+ | |||
+ | {{#if:{{{quote|}}}|{{Quote|{{{quote}}}}}}} | ||
{{{text|}}} | {{{text|}}} | ||
− | |||
− | |||
{{#if:{{{field|}}}| | {{#if:{{{field|}}}| | ||
Line 142: | Line 149: | ||
{{MoveInfobox | {{MoveInfobox | ||
|power=40 (delete if 0) | |power=40 (delete if 0) | ||
− | |type= | + | |type=Critter |
|damagecategory=Physical | |damagecategory=Physical | ||
|accuracy=100 (delete if never misses) | |accuracy=100 (delete if never misses) | ||
− | |pp=40 | + | |pp=40 (0 means infinite) |
|target=NearOther | |target=NearOther | ||
− | | | + | |additional=0 (delete if no additional effect) |
− | + | |contact= | |
− | | | ||
}} | }} | ||
</pre> | </pre> | ||
Line 191: | Line 197: | ||
|} | |} | ||
− | ===Flags=== | + | ===Flags (new)=== |
− | + | * '''contact''' | |
− | + | * '''noprotect''' - important to remember for User-target moves | |
− | + | * '''nocopy''' - cannot be mimicked by Mirror Move or the like | |
− | + | * '''crit''' - gives high crit rate, should normally be paired with cut | |
− | + | * '''critlegend''' - always crits upon hitting a [[legendary]] {{pork}} | |
− | + | * '''multi''' - hits multiple times | |
− | + | ||
− | + | ;heals user ailment | |
− | + | * '''thaw''' - ends [[Frostbitten|FRS]] on user | |
− | + | * '''douse''' - ends [[Burned|BRN]] on user | |
− | + | * '''spin''' - removes [[Seeded|SED]] on the user and hazards on the user's side | |
− | + | * '''purify''' - removes [[Poisoned|PSN]] and [[Corrupted|CRT]] on the user | |
− | + | ||
− | + | ;pseudo-types | |
− | + | Ideally almost all single-solid-object "projectile" moves should be bomb, boltbeam, pulse, or throw. Notable exceptions include sprays, avalanches, gases, liquids, winds, powders. | |
− | + | * '''bite''' | |
− | + | * '''bomb''' | |
− | + | * '''beam''' - beam, ray, or laser moves | |
− | + | * '''cut''' | |
− | + | * '''dance''' | |
− | + | * '''fist''' | |
− | + | * '''kick''' | |
− | + | * '''powder''' | |
− | + | * '''pulse''' | |
− | + | * '''toss''' - throw, hurl, or toss moves (excluding judo-type throws), including stuff like {{move|Ball Lightning}}; Batter Up | |
− | + | * '''wind''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |} | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 02:33, 15 February 2024
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=Critter |damagecategory=Physical |accuracy=100 (delete if never misses) |pp=40 (0 means infinite) |target=NearOther |additional=0 (delete if no additional effect) |contact= }}
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 (new)
- contact
- noprotect - important to remember for User-target moves
- nocopy - cannot be mimicked by Mirror Move or the like
- crit - gives high crit rate, should normally be paired with cut
- critlegend - always crits upon hitting a legendary porkman
- multi - hits multiple times
- heals user ailment
- thaw - ends FRS on user
- douse - ends BRN on user
- spin - removes SED on the user and hazards on the user's side
- purify - removes PSN and CRT on the user
- pseudo-types
Ideally almost all single-solid-object "projectile" moves should be bomb, boltbeam, pulse, or throw. Notable exceptions include sprays, avalanches, gases, liquids, winds, powders.
- bite
- bomb
- beam - beam, ray, or laser moves
- cut
- dance
- fist
- kick
- powder
- pulse
- toss - throw, hurl, or toss moves (excluding judo-type throws), including stuff like Ball Lightning; Batter Up
- wind