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}}}|800=F1C232| | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|NearOther=F1C232|NearFoe=F1C232|AllNearFoes=ED1C24|AllNearOthers=ED1C24|FoeSide=ED1C24|BothSides=ED1C24|RandomNearFoe=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> |
− | | style="background: #{{#switch: {{{target|00}}}|800=F1C232| | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|NearOther=F1C232|NearFoe=F1C232|AllNearFoes=ED1C24|AllNearOthers=ED1C24|FoeSide=ED1C24|BothSides=ED1C24|RandomNearFoe=F1C232|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Foe</small> |
|- | |- | ||
− | | style="background: #{{#switch: {{{target|00}}}|800=F1C232| | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|UserOrNearAlly=F1C232|User=ED1C24|None=ED1C24|UserSide=ED1C24|BothSides=ED1C24|709AD1}}; {{roundy|3px}} border: 1px solid #000" {{!}} <small>Self</small> |
− | | style="background: #{{#switch: {{{target|00}}}|800=F1C232| | + | | style="background: #{{#switch: {{{target|00}}}|800=F1C232|NearOther=F1C232|UserOrNearAlly=F1C232|AllNearOthers=ED1C24|NearAlly=ED1C24|UserSide=ED1C24|BothSides=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}}} | ||
− | | | + | |NearOther=May affect any one battler, except the user <includeonly>[[Category:Moves that target any one monster other than the user]]</includeonly> |
|800=May affect any one battler<includeonly>[[Category:Moves that target any one monster including the user]]</includeonly> | |800=May affect any one battler<includeonly>[[Category:Moves that target any one monster including the user]]</includeonly> | ||
− | | | + | |NearFoe=May affect any foe, but not allies [[Category:Moves that target any one foe]] |
− | | | + | |UserOrNearAlly=May affect the user or an ally [[Category:Moves that target only the user or an ally]] |
− | | | + | |AllNearFoes=Affects both foes [[Category:Moves that target both foes]] |
− | | | + | |AllNearOthers=Affects all monsters other than the user [[Category:Moves that target all monsters other than the user]] |
− | | | + | |NearAlly=Affects the user's ally [[Category:Moves that target only the user's ally]] |
− | | | + | |User=Affects the user [[Category:Moves that target only the user]] |
− | | | + | |None=Affects the user [[Category:Moves that target only the user]] |
− | | | + | |UserSide=Affects the user's side of the field [[Category:Moves that target the user's side]] |
− | | | + | |FoeSide=Affects the foe's side of the field [[Category:Moves that target the foe's side]] |
− | | | + | |BothSides=Affects the entire field [[Category:Moves that target the entire field]] |
− | | | + | |RandomNearFoe=Affects a foe selected at random [[Category:Moves that target a random foe]] |
|Does not affect any monsters{{tt|*|Default message!}}}}</small> | |Does not affect any monsters{{tt|*|Default message!}}}}</small> | ||
|} | |} | ||
Line 109: | Line 109: | ||
|a}} {{type|{{{type}}}}}-type [[{{{damagecategory}}} move]]. {{#switch:{{{SM}}} | |a}} {{type|{{{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 [[ | + | |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|}}}.}} | ||
Line 150: | Line 150: | ||
|damagecategory=Physical | |damagecategory=Physical | ||
|accuracy=100 (delete if never misses) | |accuracy=100 (delete if never misses) | ||
− | | | + | |pp=40 |
− | |target= | + | |target=NearOther |
+ | |priority=0 | ||
+ | |additional=0 | ||
|flags=abef | |flags=abef | ||
}} | }} | ||
Line 159: | Line 161: | ||
<pre> | <pre> | ||
|cut=yes | |cut=yes | ||
− | |||
|field=yes | |field=yes | ||
− | |||
|image= | |image= | ||
|image2= | |image2= | ||
Line 226: | Line 226: | ||
| n || '''Bomb''' || Bomb or cannon move; empowered by {{ability|Mega Cannon}} and blocked by {{ability|Bunker}} | | n || '''Bomb''' || Bomb or cannon move; empowered by {{ability|Mega Cannon}} and blocked by {{ability|Bunker}} | ||
|- | |- | ||
− | | o || | + | | o || '''Dance''' || Dance move |
|- | |- | ||
| p || '''CannotMetronome''' || Can't be called by moves like Metronome; generally includes mega moves and signature moves | | 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> |
Revision as of 17:11, 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 |