Template:AttackType: Difference between revisions
mNo edit summary |
(not sure if this should be deprecated or not, but for now it'll be a delegate/legacy code) |
||
Line 1: | Line 1: | ||
{{#if:{{{type|}}}|{{TypeIcon|{{{type}}}|s={{{size|32}}}}}}}{{#if:{{{t|}}}|{{!}}{{!}}rowspan="{{{t|1}}}"{{!}}}}{{#if:{{{effect|}}}|{{EffectIcon|{{{effect}}}|s={{{size|32}}}}}}}<noinclude> | |||
Use this template in order to display type icons, for example in moveset tables. | Use this template in order to display type icons, for example in moveset tables. | ||
===Examples=== | ===Examples=== |
Revision as of 17:46, February 9, 2012
Use this template in order to display type icons, for example in moveset tables.
Examples
{{AttackType|type=Hand|effect=Flame}}
→ File:HitboxType(Hand).pngFile:HitboxEffect(Flame).png
{{AttackType|type=Sword|effect=Slash}}
→ File:HitboxType(Sword).pngFile:HitboxEffect(Slash).png
{{AttackType|type=Typeless|effect=Darkness|size=50}}
→ File:HitboxType(Typeless).pngFile:HitboxEffect(Darkness).png
This template includes the ability to split the two images into two table cells. To do this, add the parameter t
at set it to 1. Setting it to something other than 1 will cause that number to act as a rowspan.
Valid Types/Effects
Blank spots represent holes in the type/effect data that may be filled at a later time.
Type List | Effect List |
---|---|
Typeless | Normal |
Head | |
Body | Slash |
Butt | Electric |
Hand | Freezing |
Elbow | Flame |
Foot | Coin |
Knee | Reverse |
Throwing | Slip |
Weapon | Sleep |
Sword | |
Hammer | Bury |
Explosive | Stun |
Spin | |
Bite | Flower |
Magic | |
PK | |
Bow | Grass |
Water | |
Bat | Darkness |
Umbrella | Paralyze |
Pikmin | Aura |
Water | Plunge |
Whip | Down |
Tail | Flinchless |
Energy | |
Other | |
Grab | |
Screw | |
Inert |
The effects in the Other category are used in SSB and/or SSBM but not SSBB.