Template:AttackType: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
<code><nowiki>{{AttackType|type=Sword|effect=Slash}}</nowiki></code> → [[Image:HitboxType(Sword).png|32px|Sword]][[Image:HitboxEffect(Slash).png|32px|Slash]] | <code><nowiki>{{AttackType|type=Sword|effect=Slash}}</nowiki></code> → [[Image:HitboxType(Sword).png|32px|Sword]][[Image:HitboxEffect(Slash).png|32px|Slash]] | ||
<code><nowiki>{{AttackType|type=Typeless|effect=Darkness}}</nowiki></code> → [[Image:HitboxType(Typeless).png|32px|Typeless]][[Image:HitboxEffect(Darkness).png|32px|Darkness]] | <code><nowiki>{{AttackType|type=Typeless|effect=Darkness}}</nowiki></code> → [[Image:HitboxType(Typeless).png|32px|Typeless]][[Image:HitboxEffect(Darkness).png|32px|Darkness]] | ||
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 anything non-empty (such as <code>y</code>). | 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 anything non-empty (such as <code>y</code>).</noinclude> |
Revision as of 18:55, October 4, 2010
Use this template in order to display type icons, for example in moveset tables.
Examples
{{AttackType|type=Hand|effect=Flame}}
→ HandFlame
{{AttackType|type=Sword|effect=Slash}}
→ SwordSlash
{{AttackType|type=Typeless|effect=Darkness}}
→ TypelessDarkness
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 anything non-empty (such as y
).