Template:SSB4HitboxTableRow: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(let's see how this goes) |
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:") |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{SSB4HitboxTableHeader}}</noinclude> | <noinclude>{{SSB4HitboxTableHeader}}</noinclude> | ||
|- | |- | ||
|{{{id|<span class="error">#!</span>}}}||{{{part|0}}}{{#if:{{{expand|}}}|{{!!}}<span title="By default">0</span>}}||{{{damage|<span class="error">%!</span>}}}||{{{sd|0}}}||{{AngleIcon|{{{angle|361}}}|{{#if:{{{anglesuffix|}}}|{{{anglesuffix}}}}}|s=16}}{{#if:{{{expand|}}}|{{!!}}{{rollover|Standard|zero degrees is away from attacker by default|y}}}}||{{{bk|<span class="error">bk!</span>}}}||{{{ks|<span class="error">ks!</span>}}}||{{{fkv|<span class="error">fkv!</span>}}}||{{{r|<span class="error">r!</span>}}}||{{{bn|<span class="error">bn!</span>}}}||{{{xpos|0.0}}}||{{{ypos|0.0}}}||{{{zpos|0.0}}}||{{{sdi|1.0}}}x||{{{ff|1.0}}}x||{{{trip|0}}}%||{{BooleanIcon|{{{clang|1}}}|t=HitboxTableIcon(Clang).png|f=HitboxTableIcon(NoClang).png}}||{{TypeIcon|{{{type|Typeless}}}}}||{{EffectIcon|{{{effect|Normal}}}}}||{{BooleanIcon|{{{g|1}}}|t=HitboxTableIcon(GroundedTrue).png|f=HitboxTableIcon(GroundedFalse).png}}||{{BooleanIcon|{{{a|1}}}|t=HitboxTableIcon(AerialTrue).png|f=HitboxTableIcon(AerialFalse).png}}||{{#if:{{{slvl|}}}|[[ | |{{{id|<span class="error">#!</span>}}}||{{{part|0}}}{{#if:{{{expand|}}}|{{!!}}<span title="By default">0</span>}}||{{{damage|<span class="error">%!</span>}}}||{{{sd|0}}}||style="{{BuffNerfCellBg|{{{anglebg|}}}}}"|{{AngleIcon|{{{angle|361}}}|{{#if:{{{anglesuffix|}}}|{{{anglesuffix}}}}}|s=16}}{{#if:{{{expand|}}}|{{!!}}{{rollover|Standard|zero degrees is away from attacker by default|y}}}}||style="{{BuffNerfCellBg|{{{bkbg|}}}}}"|{{{bk|<span class="error">bk!</span>}}}||style="{{BuffNerfCellBg|{{{ksbg|}}}}}"|{{{ks|<span class="error">ks!</span>}}}||style="{{BuffNerfCellBg|{{{fkvbg|}}}}}"|{{{fkv|<span class="error">fkv!</span>}}}||style="{{BuffNerfCellBg|{{{rbg|}}}}}"|{{{r|<span class="error">r!</span>}}}||style="{{BuffNerfCellBg|{{{bnbg|}}}}}"|{{{bn|<span class="error">bn!</span>}}}||style="{{BuffNerfCellBg|{{{xposbg|}}}}}"|{{{xpos|0.0}}}||style="{{BuffNerfCellBg|{{{yposbg|}}}}}"|{{{ypos|0.0}}}||style="{{BuffNerfCellBg|{{{zposbg|}}}}}"|{{{zpos|0.0}}}||{{{sdi|1.0}}}x||{{{ff|1.0}}}x||{{{trip|0}}}%||{{BooleanIcon|{{{clang|1}}}|t=HitboxTableIcon(Clang).png|f=HitboxTableIcon(NoClang).png}}||{{BooleanIcon|{{{rebound|1}}}|t=HitboxTableIcon(Rebound).png|f=HitboxTableIcon(NoRebound).png}}||{{TypeIcon|{{{type|Typeless}}}}}||{{EffectIcon|{{{effect|Normal}}}}}||{{BooleanIcon|{{{g|1}}}|t=HitboxTableIcon(GroundedTrue).png|f=HitboxTableIcon(GroundedFalse).png}}||{{BooleanIcon|{{{a|1}}}|t=HitboxTableIcon(AerialTrue).png|f=HitboxTableIcon(AerialFalse).png}}||{{#if:{{{slvl|}}}|[[File:HitboxTableIcon(Sound{{{slvl}}}).png|16px|{{{slvl}}}]]|<span class="error">?!</span>}} {{{sfx|<span class="error">...!</span>}}}||{{BooleanIcon|{{{direct|1}}}|t=SpecialsDirect.png|f=SpecialsIndirect.png}}{{#if:{{{expand|}}}|{{!!}}<span title="By default">63</span>{{!!}}<span title="True (by default)">[[File:HitboxTableIcon(Blockable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(Unreflectable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(Unabsorbable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{#if:{{{showunknown|}}}|{{!!}}<span title="By default">15</span>{{!!}}<span title="By default">0</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[File:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="By default">0</span>}}}}{{#if:{{{expand|}}}{{{xstretch|}}}{{{ystretch|}}}{{{zstretch|}}}|{{!!}}{{#if:{{{xstretch|}}}{{{ystretch|}}}{{{zstretch|}}}|{{{xstretch|0.0}}}{{!!}}{{{ystretch|0.0}}}{{!!}}{{{zstretch|0.0}}}|colspan=3{{!}}<span title="By default">—</span>}}}}<noinclude> | ||
|} | |} | ||
==Usage== | ==Usage== | ||
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> |
Latest revision as of 10:24, February 10, 2021
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.