Template:MovesetTable/Tilts: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Text replacement - "== ([^=])" to "== $1")
No edit summary
Line 2: Line 2:
{|class="wikitable"
{|class="wikitable"
</noinclude>|-
</noinclude>|-
{{#switch:{{{angles|1}}}
{{#ifeq:{{{ftiltdesc}}}|none||{{#switch:{{{angles|1}}}
|1=
|1=
!rowspan="{{{ftiltcount|1}}}" colspan="2"{{!}}<includeonly>[[/Forward tilt|Forward tilt]]</includeonly><noinclude>/Forward tilt</noinclude>
!rowspan="{{{ftiltcount|1}}}" colspan="2"{{!}}<includeonly>[[/Forward tilt|Forward tilt]]</includeonly><noinclude>/Forward tilt</noinclude>
Line 32: Line 32:
|#default=
|#default=
{{!}}colspan="5"{{!}}<span class="error">Invalid number of f-tilt angles entered.</span>
{{!}}colspan="5"{{!}}<span class="error">Invalid number of f-tilt angles entered.</span>
}}
}}}}
|-
|-
{{#ifexpr:{{{ftiltcount|1}}}>=2|
{{#ifexpr:{{{ftiltcount|1}}}>=2|
Line 44: Line 44:
{{!}}{{{btiltname}}}{{!!}}{{{btiltdmg}}}{{!!}}{{{btiltdesc}}}
{{!}}{{{btiltname}}}{{!!}}{{{btiltdmg}}}{{!!}}{{{btiltdesc}}}
{{!}}-}}
{{!}}-}}
!rowspan="{{{utiltcount|1}}}" colspan="2"|<includeonly>[[/Up tilt|Up tilt]]</includeonly><noinclude>/Up tilt</noinclude>
{{#ifeq:{{{utiltdesc}}}|none||!rowspan="{{{utiltcount|1}}}" colspan="2"{{!}}<includeonly>[[/Up tilt|Up tilt]]</includeonly><noinclude>/Up tilt</noinclude>
|rowspan="{{{utiltcount|1}}}"|{{{utiltname}}}||{{{utiltdmg}}}||rowspan="{{{utiltcount|1}}}"|{{{utiltdesc}}}
{{!}}rowspan="{{{utiltcount|1}}}"{{!}}{{{utiltname}}}{{!!}}{{{utiltdmg}}}{{!!}}rowspan="{{{utiltcount|1}}}"{{!}}{{{utiltdesc}}}
|-
|-
{{#ifexpr:{{{utiltcount|1}}}>=2|
{{#ifexpr:{{{utiltcount|1}}}>=2|
{{!}}{{{utilt2dmg}}}}}
{{!}}{{{utilt2dmg}}}}}}}
|-
|-
!rowspan="{{{dtiltcount|1}}}" colspan="2"|<includeonly>[[/Down tilt|Down tilt]]</includeonly><noinclude>/Down tilt</noinclude>
{{#ifeq:{{{dtiltdesc}}}|none||!rowspan="{{{dtiltcount|1}}}" colspan="2"{{!}}<includeonly>[[/Down tilt|Down tilt]]</includeonly><noinclude>/Down tilt</noinclude>
|rowspan="{{{dtiltcount|1}}}"|{{{dtiltname}}}||{{{dtiltdmg}}}||rowspan="{{{dtiltcount|1}}}"|{{{dtiltdesc}}}
{{!}}rowspan="{{{dtiltcount|1}}}"{{!}}{{{dtiltname}}}{{!!}}{{{dtiltdmg}}}{{!!}}rowspan="{{{dtiltcount|1}}}"{{!}}{{{dtiltdesc}}}
|-
|-
{{#ifexpr:{{{dtiltcount|1}}}>=2|
{{#ifexpr:{{{dtiltcount|1}}}>=2|
{{!}}{{{dtilt2dmg}}}}}
{{!}}{{{dtilt2dmg}}}}}}}
|-
|-
{{#ifeq:{{{diagonals|n}}}|y|
{{#ifeq:{{{diagonals|n}}}|y|
Line 94: Line 94:
{{!}}{{{uncrouchingattackname}}}{{!!}}{{{uncrouchingattackdmg}}}{{!!}}{{{uncrouchingattackdesc}}}
{{!}}{{{uncrouchingattackname}}}{{!!}}{{{uncrouchingattackdmg}}}{{!!}}{{{uncrouchingattackdesc}}}
{{!}}-}}
{{!}}-}}
!colspan="2"|<includeonly>[[/Dash attack|Dash attack]]</includeonly><noinclude>/Dash attack</noinclude>
{{#ifeq:{{{dashdesc}}}|none||!colspan="2"{{!}}<includeonly>[[/Dash attack|Dash attack]]</includeonly><noinclude>/Dash attack</noinclude>
|{{{dashname}}}||{{{dashdmg}}}||{{{dashdesc}}}
{{!}}{{{dashname}}}{{!!}}{{{dashdmg}}}{{!!}}{{{dashdesc}}}}}
|-
|-
{{#if:{{{ddashdesc|}}}|
{{#if:{{{ddashdesc|}}}|

Revision as of 20:44, July 26, 2023

/Forward tilt {{{ftiltname}}} {{{ftiltdmg}}} {{{ftiltdesc}}}
/Up tilt {{{utiltname}}} {{{utiltdmg}}} {{{utiltdesc}}}
/Down tilt {{{dtiltname}}} {{{dtiltdmg}}} {{{dtiltdesc}}}
/Dash attack {{{dashname}}} {{{dashdmg}}} {{{dashdesc}}}

Usage

Don't use this on its own. Use {{MovesetTable}}.

Note for reference: Assumes that only the first part of an f-tilt can be angled. Also that f-tilts can only have a max of 3 parts, u-tilts and d-tilts 2, and diagonal tilts whatever Kazuya has (uf 4, df 2, otherwise 1).

Dash attack thrown in because where else can it go, really.

A lot of the Kazuya mess is contained in here. It assumes that if a character has one diagonal tilt or crouch attack, they have them all, so the one parameter that controls their visibility is "diagonals" and "crouchattacks" equalling "y".