25,083
edits
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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=== | ||
<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. | 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. | ||
Line 66: | Line 66: | ||
|- | |- | ||
|Energy|| | |Energy|| | ||
|}</noinclude> | |- | ||
!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> |