Template:MovesetTable/Tilts: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(+crouches)
m (Changed a typo(?) so Kazuya's moveset section has correct formatting now)
 
(4 intermediate revisions by 3 users not shown)
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 40: Line 40:
{{!}}{{{ftilt3dmg}}}}}
{{!}}{{{ftilt3dmg}}}}}
|-
|-
{{#if:{{{btiltname|}}}|
{{#if:{{{btiltdesc|}}}|
!colspan="2"{{!}}<includeonly>[[/Back tilt|Back tilt]]</includeonly><noinclude>/Back tilt</noinclude>
!colspan="2"{{!}}<includeonly>[[/Back tilt|Back tilt]]</includeonly><noinclude>/Back tilt</noinclude>
{{!}}{{{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>
|rowspan="{{{dtiltcount|1}}}"|{{{dtiltname}}}||{{{dtiltdmg}}}||rowspan="{{{dtiltcount|1}}}"|{{{dtiltdesc}}}
|-
|-
{{#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}}}
{{!}}-
{{#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:{{{ddashname|}}}|
{{#if:{{{ddashdesc|}}}|
!colspan="2"{{!}}<includeonly>[[/Double dash attack|Double dash attack]]</includeonly><noinclude>/Double dash attack</noinclude>
!colspan="2"{{!}}<includeonly>[[/Double dash attack|Double dash attack]]</includeonly><noinclude>/Double dash attack</noinclude>
{{!}}{{{ddashname}}}{{!!}}{{{ddashdmg}}}{{!!}}{{{ddashdesc}}}
{{!}}{{{ddashname}}}{{!!}}{{{ddashdmg}}}{{!!}}{{{ddashdesc}}}
Line 103: Line 103:
|}
|}
==Usage==
==Usage==
Don't use this on its own. Use {{t|MovesetTable}}.
Don't use this on its own. Use {{t|MovesetTable}}.



Latest revision as of 08:53, August 11, 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".