Template:SSB4HitboxTableRow: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
(new ability: disable autocategories) |
||
Line 7: | Line 7: | ||
This template leaves out values that are only in special hitboxes; for those go to {{t|SSB4SpecialHitboxTableRow}}. If you need to add empty cells to fit in a special table, add <code>expand=y</code>. | This template leaves out values that are only in special hitboxes; for those go to {{t|SSB4SpecialHitboxTableRow}}. If you need to add empty cells to fit in a special table, add <code>expand=y</code>. | ||
[[Category:Meta-templates]]</noinclude><includeonly>[[Category:{{{type|Typeless}}} attacks (SSB4)]][[Category:{{{effect|Normal}}} attacks (SSB4)]]{{#switch:{{lc:{{{clang|1}}}}}|f|false|n|no|0=[[Category:Attacks with hitboxes that cannot clang]]}}{{#switch:{{lc:{{{direct|1}}}}}|f|false|n|no|0=[[Category:Indirect attacks]]}}{{#ifexpr:{{{sd|0}}}>0|[[Category:Attacks with extra shield damage]]}}{{#ifexpr:{{{sd|0}}}<0|[[Category:Attacks with penalized shield damage]]}}{{#ifexpr:{{{angle|361}}} >= 230 and {{{angle|361}}} <= 310|[[Category:Meteor smashes (SSB4)]]}}{{#ifexpr:({{{angle|361}}} >= 0 and {{{angle|361}}} <= 30) or ({{{angle|361}}} >= 150 and {{{angle|361}}} <= 180)|[[Category:Semi-spikes (SSB4)]]}}{{#ifexpr:(({{{angle|361}}} > 180 and {{{angle|361}}} < 360) and not({{{angle|361}}} >= 230 and {{{angle|361}}} <= 310)) or ({{{angle|361}}} < 0 and {{{angle|361}}} > -180)|[[Category:Spikes]]}}</includeonly> | |||
This template adds a bunch of automatic categories when used, such as "Flame attacks" or "Attacks with extra shield damage". To disable this behaviour, add <code>nocategories=y</code>. This should only be done for tables about obsolete hitboxes - for example, if an attack is changed from a meteor to a non-meteor between versions, and the old version is no longer available (unlike NTSC/PAL versions), it should have this property so it's longer in the meteors category. | |||
[[Category:Meta-templates]]</noinclude><includeonly>{{#if:{{{nocategories|}}}||[[Category:{{{type|Typeless}}} attacks (SSB4)]][[Category:{{{effect|Normal}}} attacks (SSB4)]]{{#switch:{{lc:{{{clang|1}}}}}|f|false|n|no|0=[[Category:Attacks with hitboxes that cannot clang]]}}{{#switch:{{lc:{{{direct|1}}}}}|f|false|n|no|0=[[Category:Indirect attacks]]}}{{#ifexpr:{{{sd|0}}}>0|[[Category:Attacks with extra shield damage]]}}{{#ifexpr:{{{sd|0}}}<0|[[Category:Attacks with penalized shield damage]]}}{{#ifexpr:{{{angle|361}}} >= 230 and {{{angle|361}}} <= 310|[[Category:Meteor smashes (SSB4)]]}}{{#ifexpr:({{{angle|361}}} >= 0 and {{{angle|361}}} <= 30) or ({{{angle|361}}} >= 150 and {{{angle|361}}} <= 180)|[[Category:Semi-spikes (SSB4)]]}}{{#ifexpr:(({{{angle|361}}} > 180 and {{{angle|361}}} < 360) and not({{{angle|361}}} >= 230 and {{{angle|361}}} <= 310)) or ({{{angle|361}}} < 0 and {{{angle|361}}} > -180)|[[Category:Spikes]]}}}}</includeonly> |
Revision as of 20:13, October 6, 2017
ID | Part | Damage | SD | Angle | BK | KS | FKV | Radius | Bone | Offset | SDIx | H× | T% | Clang | Rebound | Type | Effect | G | A | Sound | Direct | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#! | 0 | %! | 0 | bk! | ks! | fkv! | r! | bn! | 0.0 | 0.0 | 0.0 | 1.0x | 1.0x | 0% | ?! ...! |
Usage
Fills out rows in HitboxTables.
This template leaves out values that are only in special hitboxes; for those go to {{SSB4SpecialHitboxTableRow}}. If you need to add empty cells to fit in a special table, add expand=y
.
This template adds a bunch of automatic categories when used, such as "Flame attacks" or "Attacks with extra shield damage". To disable this behaviour, add nocategories=y
. This should only be done for tables about obsolete hitboxes - for example, if an attack is changed from a meteor to a non-meteor between versions, and the old version is no longer available (unlike NTSC/PAL versions), it should have this property so it's longer in the meteors category.