Difference between revisions of "Template:MoveInfobox"

From Rollo
 
(16 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
|-
 
|-
 
! style="background: #FFF; {{roundytl|10px}}" | {{#if:{{{mp|}}}|MP|PP}}  
 
! style="background: #FFF; {{roundytl|10px}}" | {{#if:{{{mp|}}}|MP|PP}}  
| style="background: #FFF; {{roundytr|10px}}" |  {{#if:{{{mp|}}}|{{{mp}}}|{{{pp|10}}}}}
+
| style="background: #FFF; {{roundytr|10px}}" |  {{#if:{{{mp|}}}|{{{mp}}}|{{#ifeq:{{{pp|10}}}|0|∞|{{{pp|10}}}}}}}
 
|- style="background: #FFF"  
 
|- style="background: #FFF"  
 
! Power
 
! Power
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]]'''}} {{#if:{{#pos:{{{flags|}}}|a}}
+
|* '''{{{additional|10}}}% chance of [[additional effects]]'''}} {{#if:{{{contact|}}}
 
|* '''Makes [[contact]]'''  
 
|* '''Makes [[contact]]'''  
 
|* Does not make [[contact]]
 
|* Does not make [[contact]]
}}{{#if:{{#pos:{{{flags|}}}|b}}
+
}}{{#if:{{{noprotect|}}}
|* '''Affected by [[Protection]]'''
+
|* Unaffected by [[protection]] [[Category:Moves unaffected by Protection]]
|* Unaffected by [[Protection]] [[Category:Moves unaffected by Protection]]
+
|* '''Affected by [[protection]]'''
}}{{#if:{{#pos:{{{flags|}}}|c}}
+
}}{{#if:{{{nocopy|}}}
|* '''Affected by {{move|Reflector}}''' [[Category:Moves affected by Reflector]]
+
|* Cannot be [[copied]] [[Category:Moves that cannot be copied]]
|* Unaffected by {{move|Reflector}}
 
}}{{#if:{{#pos:{{{flags|}}}|d}}
 
|* '''Affected by {{move|Swipe}}''' [[Category:Moves affected by Swipe]]
 
|* Unaffected by {{move|Swipe}}
 
}}{{#if:{{#pos:{{{flags|}}}|e}}
 
 
|* '''Can be [[copied]]'''
 
|* '''Can be [[copied]]'''
|* Cannot be [[copied]] [[Category:Moves that cannot be copied]]
+
}} {{#if:{{{thaw|}}}|
}}<!--{{#if:{{#pos:{{{flags|}}}|f}}
+
* '''Cures the user's [[Frostbitten|Frostbite]]''' [[Category:User-thawing moves]]
|* '''Can [[additional effects|add effects]]'''
+
}} {{#if:{{{douse|}}}|
|* Cannot [[additional effects|add effects]]
+
* '''Cures the user's [[Burned|Burn]]''' [[Category:User-dousing moves]]
}}--> {{#if:{{#pos:{{{flags|}}}|g}}
+
}} {{#if:{{{shockheal|}}}|
|* '''Thaws the user if [[frozen]]''' [[Category:User-thawing moves]]
+
* '''Cures the user's [[Shocked|Shock]]''' [[Category:Shock-healing moves]]
}} {{#if:{{#pos:{{{flags|}}}|h}}
+
}} {{#if:{{{purify|}}}|
|* '''Has a high critical hit rate''' [[Category:High critical hit rate moves]]
+
* '''Cures the user's [[Poisoned|Poison]] and [[Corrupted|Corruption]]''' [[Category:User-purifying moves]]
}} {{#if:{{#pos:{{{flags|}}}|k}}
+
}} {{#if:{{{spin|}}}|
|* '''Is a [[sound-based]] move''' [[Category:Sound-based moves]]
+
* '''Clears [[Seeded|SED]], [[binding]], and [[hazard]]s from user [[Category:Spinning moves]]
}} {{#if:{{#pos:{{{flags|}}}|i}}
+
}} {{#if:{{{crit|}}}|
 +
* '''Has a high critical hit rate''' [[Category:High critical hit rate moves]]
 +
}}{{#if:{{{bite|}}}
 
|* '''Is a [[biting]] move''' [[Category:Biting moves]]
 
|* '''Is a [[biting]] move''' [[Category:Biting moves]]
}} {{#if:{{#pos:{{{flags|}}}|j}}
+
}} {{#if:{{{punch|}}}
 
|* '''Is a [[punch or fist]] move''' [[Category:Punch and fist moves]]
 
|* '''Is a [[punch or fist]] move''' [[Category:Punch and fist moves]]
}} {{#if:{{#pos:{{{flags|}}}|l}}
+
}} {{#if:{{{powder|}}}
 
|* '''Is a [[spore or powder move]]''' [[Category:Spore and powder moves]]
 
|* '''Is a [[spore or powder move]]''' [[Category:Spore and powder moves]]
}} {{#if:{{#pos:{{{flags|}}}|m}}
+
}} {{#if:{{{pulse|}}}
 
|* '''Is empowered by {{ability|Concentrated Energy}}''' [[Category:Pulse moves]]
 
|* '''Is empowered by {{ability|Concentrated Energy}}''' [[Category:Pulse moves]]
}} {{#if:{{#pos:{{{flags|}}}|n}}
+
}} {{#if:{{{bomb|}}}
 
|* '''Is a [[bomb, bullet, or cannon move]]''' [[Category:Artillery moves]]
 
|* '''Is a [[bomb, bullet, or cannon move]]''' [[Category:Artillery moves]]
}} {{#if:{{#pos:{{{flags|}}}|o}}
+
}} {{#if:{{{wind|}}}
|* '''Is a [[beam, bolt, or ray move]]''' [[Category:Boltbeam moves]]
+
|* '''Is a [[wind move]]''' [[Category:Wind moves]]
 +
}} {{#if:{{{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 104: Line 103:
 
|}  
 
|}  
 
{{#ifeq:{{{intro}}}|no||'''{{#replace:{{PAGENAME}}|(move)|}}''' is {{#switch:{{{type|}}}
 
{{#ifeq:{{{intro}}}|no||'''{{#replace:{{PAGENAME}}|(move)|}}''' is {{#switch:{{{type|}}}
|EARTH=an
+
|Ice=an
|EDGE=an
+
|Electric=an
|ESPER=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:{{{quote|}}}|{{Quote|{{{quote}}}}}}}
 
  
 
{{#if:{{{field|}}}|
 
{{#if:{{{field|}}}|
==Outside of battle==
+
===Outside of battle===
 
{{{field|}}}}}
 
{{{field|}}}}}
  
 
{{#if:{{{diff|}}}|
 
{{#if:{{{diff|}}}|
==Differences from the [https://bulbapedia.bulbagarden.net/wiki/{{#replace:{{#replace:{{PAGENAME}}|(move)|}}|&nbsp;|_}}_(move) main timeline] ==
+
===Differences from the [https://bulbapedia.bulbagarden.net/wiki/List_of_moves main timeline]===
 
{{{diff|}}}}}
 
{{{diff|}}}}}
  
Line 151: Line 149:
 
{{MoveInfobox
 
{{MoveInfobox
 
|power=40 (delete if 0)
 
|power=40 (delete if 0)
|type=Warrior
+
|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
|priority=0
+
|additional=0 (delete if no additional effect)
|additional=0
+
|contact=
|flags=abef
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 200: Line 197:
 
|}
 
|}
  
===Flags===
+
===Flags (new)===
{| class="wikitable"
+
* '''contact'''
| a || '''Contact''' || Makes [[contact]]
+
* '''noprotect''' - important to remember for User-target moves
|-
+
* '''nocopy''' - cannot be mimicked by Mirror Move or the like
| b || '''CanProtect''' || Affected by {{move|Protect}} and similar moves
+
* '''crit''' - gives high crit rate, should normally be paired with cut
|-
+
* '''critlegend''' - always crits upon hitting a [[legendary]] {{pork}}
| c || '''&mdash;''' || Affected by {{move|Magic Coat (most offensive status moves); should be mutually exclusive with d
+
* '''multi''' - hits multiple times
|-
+
 
| d || '''&mdash;''' || Affected by {{move|Snatch}} (most defensive/buffing status moves); should be mutually exclusive with c
+
;heals user ailment
|-
+
* '''thaw''' - ends [[Frostbitten|FRS]] on user
| e || '''CanMirrorMove''' || Affected by {{move|Mirror Move}}
+
* '''douse''' - ends [[Burned|BRN]] on user
|-
+
* '''spin''' - removes [[Seeded|SED]] on the user and hazards on the user's side
| f || '''&mdash;''' || Affected by King's Rock or similar effects; should include any attack move without a secondary effect
+
* '''purify''' - removes [[Poisoned|PSN]] and [[Corrupted|CRT]] on the user
|-
+
 
| g || '''ThawsUser''' || Thaws the user if <s>frozen</s> [[Frosbitten]]
+
;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.
| h || '''HighCriticalHitRate''' || Elevated [[critical hit]] rate; predominantly used for "cutting" moves
+
* '''bite'''
|-
+
* '''bomb'''
| i || '''Biting''' || Empowered by the {{ability|Strong Jaw}} and {{ability|Sunder Fang}} abilities
+
* '''beam''' - beam, ray, or laser moves
|-
+
* '''cut'''
| j || '''Punching''' || Empowered by the {{ability|Iron Fist}} and {{ability|Open Palm}} abilities
+
* '''dance'''
|-
+
* '''fist'''
| k || '''Sound''' || Affected by {{ability|Soundproof}}, {{ability|Echo}}, {{ability|Siren Song}}, {{item|Megaphone}}, and {{move|Throat Chop}}
+
* '''kick'''
|-
+
* '''powder'''
| l || '''Powder''' || Any {{pork}} is unaffected if it is {{type|Grass}}-type or is holding {{item|Hazmat Gear}}
+
* '''pulse'''
|-
+
* '''toss''' - throw, hurl, or toss moves (excluding judo-type throws), including stuff like {{move|Ball Lightning}}; Batter Up
| m || '''Pulse''' || Empowered by {{ability|Mega Pulse}}
+
* '''wind'''
|-
 
| n || '''Bomb''' || Bomb or cannon move; empowered by {{ability|Mega Cannon}} and blocked by {{ability|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<br/>Currently unaffected by any effect<br/>Deviates from the essential source
 
|}
 
  
  
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 02:33, 15 February 2024

MoveInfobox
[[File:|center]]
Type  Unknown
Category  uncategorized
PP  10
Power  —
Accuracy  —%
Priority  {{{priority}}}
Target
Foe Foe
Self Ally
Does not affect any monsters*

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