Difference between revisions of "MoveListTable"

From Sega Retro

(standardize appearance (it looks different depending on whether it's in an InfoTable because it inherits the prettytable class from it))
(width)
Line 1: Line 1:
<includeonly>{| class="prettytable" style="border: {{#if: {{{bordercolor|}}} | 2px solid {{{bordercolor}}} | inherit}}; font-size: 90%;"
+
<includeonly>{| class="prettytable" style="border: {{#if: {{{bordercolor|}}} | 2px solid {{{bordercolor}}} | inherit}}; font-size: 90%; width: 100%;"
 
|+ Move list{{#if: {{{desc|}}} | &nbsp;({{{desc}}}) | }}
 
|+ Move list{{#if: {{{desc|}}} | &nbsp;({{{desc}}}) | }}
 
|-
 
|-
Line 15: Line 15:
 
}}
 
}}
  
Displays a list of moves for fighting games such as ''[[Super Street Fighter II]]''. Meant to be used with the [[:Template:MoveListRow|MoveListRow]] for rows.
+
Displays a list of moves for fighting games such as ''[[Super Street Fighter II]]''. Meant to be used with [[:Template:MoveListRow|MoveListRow]] for rows.
  
 
==Usage==
 
==Usage==

Revision as of 22:49, 2 September 2023

Move list (Special moves)
Name Command Description
Fireball Down Down-right Right P Ryu famously shouts "Hadouken!" and shoots a ball of energy from his hands.
Red (Stun) Fireball Left Down-left Down Down-right Right Right P A variant of the Hadouken, known as the Shakunetsu Hadoken, that is larger and travels more slowly. It has a fire effect and can knockover opponents in close range.
Dragon Punch Right Down Down-right P Ryu shouts "Shoryuken!" and delivers a powerful uppercut.
Hurricane Kick Down Down-left Left K Ryu shouts "Tatsumaki Senpukyaku!" and spins his leg like a hurricane. This move can be performed in midair.

Displays a list of moves for fighting games such as Super Street Fighter II. Meant to be used with MoveListRow for rows.

Usage

{{MoveListTable|desc=Special moves|
{{MoveListRow|Fireball|{{QCF}} {{punch}}|Ryu famously shouts "Hadouken!" and shoots a ball of energy from his hands.}}
{{MoveListRow|Red (Stun) Fireball|{{HCF}} {{right}} {{punch}}|A variant of the Hadouken, known as the Shakunetsu Hadoken, that is larger and travels more slowly. It has a fire effect and can knockover opponents in close range.}}
{{MoveListRow|Dragon Punch|{{DPF}} {{punch}}|Ryu shouts "Shoryuken!" and delivers a powerful uppercut.}}
{{MoveListRow|Hurricane Kick|{{QCB}} {{kick}}|Ryu shouts "Tatsumaki Senpukyaku!" and spins his leg like a hurricane. This move can be performed in midair.}}
}}

The positional arguments are the rows.

The optional named arguments are:

| desc=
| bordercolor=