Template:AttackType: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(adding sizing ability) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{type|}}}| | {{#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=== | ||
<code><nowiki>{{AttackType|type=Hand|effect=Flame}}</nowiki></code> → | <code><nowiki>{{AttackType|type=Hand|effect=Flame}}</nowiki></code> → {{AttackType|type=Hand|effect=Flame}} | ||
<code><nowiki>{{AttackType|type=Sword|effect=Slash}}</nowiki></code> → | <code><nowiki>{{AttackType|type=Sword|effect=Slash}}</nowiki></code> → {{AttackType|type=Sword|effect=Slash}} | ||
<code><nowiki>{{AttackType|type=Typeless|effect=Darkness|size=50}}</nowiki></code> → | <code><nowiki>{{AttackType|type=Typeless|effect=Darkness|size=50}}</nowiki></code> → {{AttackType|type=Typeless|effect=Darkness|size=50}} | ||
This template includes the ability to split the two images into two table cells. To do this, add the parameter <code>t</code> at set it to 1. Setting it to something other than 1 will cause that number to act as a rowspan.</noinclude> | This template includes the ability to split the two images into two table cells. To do this, add the parameter <code>t</code> 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. | |||
{|class="wikitable" | |||
!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|| | |||
|- | |||
!colspan="2"|Other | |||
|- | |||
|colspan="2"|Grab | |||
|- | |||
|colspan="2"|Screw | |||
|- | |||
|colspan="2"|Inert | |||
|} | |||
The effects in the Other category are used in SSB and/or SSBM but not SSBB.</noinclude> |
Latest revision as of 08:28, February 10, 2012
Use this template in order to display type icons, for example in moveset tables.
Examples
{{AttackType|type=Hand|effect=Flame}}
→
{{AttackType|type=Sword|effect=Slash}}
→
{{AttackType|type=Typeless|effect=Darkness|size=50}}
→
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.