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|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|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|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|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|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|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|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|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}}}
|00=May affect any one battler, except the user <includeonly>[[Category:Moves that target any one monster other than the user]]</includeonly>
+
|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>
|400=May affect any foe, but not allies [[Category:Moves that target any one foe]]
+
|NearFoe=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]]
+
|UserOrNearAlly=May affect the user or an ally [[Category:Moves that target only the user or an ally]]
|04=Affects both foes [[Category:Moves that target both foes]]
+
|AllNearFoes=Affects both foes [[Category:Moves that target both foes]]
|08=Affects all monsters other than the user [[Category:Moves that target all monsters]]
+
|AllNearOthers=Affects all monsters other than the user [[Category:Moves that target all monsters other than the user]]
|100=Affects the user's ally [[Category:Moves that target only the user's ally]]
+
|NearAlly=Affects the user's ally [[Category:Moves that target only the user's ally]]
|10=Affects the user [[Category:Moves that target only the user]]
+
|User=Affects the user [[Category:Moves that target only the user]]
|01=Affects the user [[Category:Moves that target only the user]]
+
|None=Affects the user [[Category:Moves that target only the user]]
|40=Affects the user's side of the field [[Category:Moves that target the user's side]]
+
|UserSide=Affects the user's side of the field [[Category:Moves that target the user's side]]
|80=Affects the foe's side of the field [[Category:Moves that target the foe's side]]
+
|FoeSide=Affects the foe's side of the field [[Category:Moves that target the foe's side]]
|20=Affects the entire field [[Category:Moves that target the entire field]]
+
|BothSides=Affects the entire field [[Category:Moves that target the entire field]]
|02=Affects a foe selected at random [[Category:Moves that target a random foe]]
+
|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 [[SM]] 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|}}}.}}
  
Line 150: Line 150:
 
|damagecategory=Physical
 
|damagecategory=Physical
 
|accuracy=100 (delete if never misses)
 
|accuracy=100 (delete if never misses)
|mp=40
+
|pp=40
|target=00
+
|target=NearOther
 +
|priority=0
 +
|additional=0
 
|flags=abef
 
|flags=abef
 
}}
 
}}
Line 159: Line 161:
 
<pre>
 
<pre>
 
|cut=yes
 
|cut=yes
|additional=20
 
 
|field=yes
 
|field=yes
|priority=+1
 
 
|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 || <span style="color:red;">'''Beam'''</span> || Beam, bolt, ray, or laser move<br/>Currently unaffected by any effect<br/>Deviates from the essential source
+
| 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
 
|-
 
|-
| &mdash; || '''Dance''' || Not used
+
| 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
[[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=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 frozen Frosbitten
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