Template:UltimateHitboxTableRow: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Exact copy of Template:SSB4HitboxTableRow, but with categories for Ultimate instead. If they truly are exactly the same, it would be worthwhile to just parameterize the game.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{ | <noinclude>{{UltimateHitboxTableHeader}}</noinclude> | ||
|- | |- | ||
|{{{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|}}}|[[Image: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)">[[Image:HitboxTableIcon(Blockable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(Unreflectable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(Unabsorbable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image: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)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image: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> | |{{{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|}}}|[[Image: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)">[[Image:HitboxTableIcon(Blockable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(Unreflectable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(Unabsorbable).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image: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)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image:HitboxTableIcon(False).png|16px|link=]]</span>{{!!}}<span title="False (by default)">[[Image: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> | ||
Line 6: | Line 6: | ||
Fills out rows in HitboxTables. | Fills out rows in HitboxTables. | ||
This template leaves out values that are only in special hitboxes; for those go to {{t| | This template leaves out values that are only in special hitboxes; for those go to {{t|UltimateSpecialHitboxTableRow}}. If you need to add empty cells to fit in a special table, add <code>expand=y</code>. | ||
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. | 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 (SSBU)]][[Category:{{{effect|Normal}}} attacks (SSBU)]]{{#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 (SSBU)]]}}{{#ifexpr:({{{angle|361}}} >= 0 and {{{angle|361}}} <= 30) or ({{{angle|361}}} >= 150 and {{{angle|361}}} <= 180)|[[Category:Semi-spikes (SSBU)]]}}{{#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> | [[Category:Meta-templates]]</noinclude><includeonly>{{#if:{{{nocategories|}}}||[[Category:{{{type|Typeless}}} attacks (SSBU)]][[Category:{{{effect|Normal}}} attacks (SSBU)]]{{#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 (SSBU)]]}}{{#ifexpr:({{{angle|361}}} >= 0 and {{{angle|361}}} <= 30) or ({{{angle|361}}} >= 150 and {{{angle|361}}} <= 180)|[[Category:Semi-spikes (SSBU)]]}}{{#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 07:01, May 30, 2019
Usage
Fills out rows in HitboxTables.
This template leaves out values that are only in special hitboxes; for those go to {{UltimateSpecialHitboxTableRow}}. 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.