Template:AttackType: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#if:{{{arm|}}}|[[Image:ArmAttack.png|32px|Arm]]}}{{#if:{{{leg|}}}|[[Image:LegAttack.png|32px|Leg]]}}{{#if:{{{head|}}}|[[Image:HeadAttack.png|32px|Head]]}}{{#if:{{{body|}}}|[[Image:BodyAttack.png|32px|Body]]}}{{#if:{{{spin|}}}|[[Image:SpinAttack.png|32px|Spin]]}}{{#if:{{{tail|}}}|[[Image:TailAttack.png|32px|Tail]]}}{{#if:{{{bite|}}}|[[Image:BiteAttack.png|32px|Bite]]}}{{#if:{{{slash|}}}|[[Image:SlashAttack.png|32px|Slash]]}}{{#if:{{{weapon|}}}|[[Image:WeaponAttack.png|32px|Weapon]]}}{{#if:{{{throwing|}}}|[[Image:ThrowingAttack.png|32px|Throwing]]}}{{#if:{{{flame|}}}|[[Image:FlameAttack.png|32px|Flame]]}}{{#if:{{{electric|}}}|[[Image:ElectricAttack.png|32px|Electric]]}}{{#if:{{{freezing|}}}|[[Image:FreezingAttack.png|32px|Freezing]]}}{{#if:{{{water|}}}|[[Image:WaterAttack.png|32px|Water]]}}{{#if:{{{grass|}}}|[[Image:GrassAttack.png|32px|Grass]]}}{{#if:{{{energy|}}}|[[Image:EnergyAttack.png|32px|Energy]]}}{{#if:{{{magic|}}}|[[Image:MagicAttack.png|32px|Magic]]}}{{#if:{{{pk|}}}|[[Image:PKAttack.png|32px|PK]]}}{{#if:{{{aura|}}}|[[Image:AuraAttack.png|32px|Aura]]}}{{#if:{{{pikmin|}}}|[[Image:PikminAttack.png|32px|Pikmin]]}}{{#if:{{{darkness|}}}|[[Image:DarknessAttack.png|32px|Darkness]]}}{{#if:{{{explosive|}}}|[[Image:ExplosiveAttack.png|32px|Explosive]]}}{{#if:{{{specialdirect|}}}|[[Image:SpecialDirectAttack.png|32px|Special (Direct)]]}}{{#if:{{{specialindirect|}}}|[[Image:SpecialIndirectAttack.png|32px|Special (Indirect)]]}}<noinclude>
{{#if:{{{typeless|}}}|[[Image:TypelessAttack.png|32px|Typeless]]}}{{#if:{{{arm|}}}|[[Image:ArmAttack.png|32px|Arm]]}}{{#if:{{{leg|}}}|[[Image:LegAttack.png|32px|Leg]]}}{{#if:{{{head|}}}|[[Image:HeadAttack.png|32px|Head]]}}{{#if:{{{body|}}}|[[Image:BodyAttack.png|32px|Body]]}}{{#if:{{{spin|}}}|[[Image:SpinAttack.png|32px|Spin]]}}{{#if:{{{tail|}}}|[[Image:TailAttack.png|32px|Tail]]}}{{#if:{{{bite|}}}|[[Image:BiteAttack.png|32px|Bite]]}}{{#if:{{{slash|}}}|[[Image:SlashAttack.png|32px|Slash]]}}{{#if:{{{weapon|}}}|[[Image:WeaponAttack.png|32px|Weapon]]}}{{#if:{{{throwing|}}}|[[Image:ThrowingAttack.png|32px|Throwing]]}}{{#if:{{{flame|}}}|[[Image:FlameAttack.png|32px|Flame]]}}{{#if:{{{electric|}}}|[[Image:ElectricAttack.png|32px|Electric]]}}{{#if:{{{freezing|}}}|[[Image:FreezingAttack.png|32px|Freezing]]}}{{#if:{{{water|}}}|[[Image:WaterAttack.png|32px|Water]]}}{{#if:{{{grass|}}}|[[Image:GrassAttack.png|32px|Grass]]}}{{#if:{{{energy|}}}|[[Image:EnergyAttack.png|32px|Energy]]}}{{#if:{{{magic|}}}|[[Image:MagicAttack.png|32px|Magic]]}}{{#if:{{{pk|}}}|[[Image:PKAttack.png|32px|PK]]}}{{#if:{{{aura|}}}|[[Image:AuraAttack.png|32px|Aura]]}}{{#if:{{{pikmin|}}}|[[Image:PikminAttack.png|32px|Pikmin]]}}{{#if:{{{darkness|}}}|[[Image:DarknessAttack.png|32px|Darkness]]}}{{#if:{{{explosive|}}}|[[Image:ExplosiveAttack.png|32px|Explosive]]}}{{#if:{{{specialdirect|}}}|[[Image:SpecialDirectAttack.png|32px|Special (Direct)]]}}{{#if:{{{specialindirect|}}}|[[Image:SpecialIndirectAttack.png|32px|Special (Indirect)]]}}<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===
<nowiki>{{AttackType|arm|flame}}</nowiki> -> [[Image:ArmAttack.png|32px|Arm]][[Image:FlameAttack.png|32px|Flame]]
<code><nowiki>{{AttackType|arm|flame}}</nowiki></code> [[Image:ArmAttack.png|32px|Arm]][[Image:FlameAttack.png|32px|Flame]]


<nowiki>{{AttackType|weapon|explosive|specialindirect}}</nowiki> -> [[Image:WeaponAttack.png|32px|Weapon]][[Image:ExplosiveAttack.png|32px|Explosive]][[Image:SpecialIndirectAttack.png|32px|Special (Indirect)]]</noinclude>
<code><nowiki>{{AttackType|weapon|explosive|specialindirect}}</nowiki></code> [[Image:WeaponAttack.png|32px|Weapon]][[Image:ExplosiveAttack.png|32px|Explosive]][[Image:SpecialIndirectAttack.png|32px|Special (Indirect)]]</noinclude>
 
<code><nowiki>{{AttackType|typeless|darkness}}</nowiki></code> → [[Image:TypelessAttack.png|32px|Typeless]][[Image:DarknessAttack.png|32px|Darkness]]

Revision as of 10:36, July 8, 2010

Use this template in order to display type icons, for example in moveset tables.

Examples

{{AttackType|arm|flame}}ArmFlame

{{AttackType|weapon|explosive|specialindirect}}WeaponExplosiveSpecial (Indirect)

{{AttackType|typeless|darkness}}TypelessDarkness