Difference between revisions of "MoveListTable"

From Sega Retro

(added bordercolor and description)
(standardize appearance (it looks different depending on whether it's in an InfoTable because it inherits the prettytable class from it))
Line 1: Line 1:
<includeonly>{|class="breakout" style="margin:0px; border-collapse:collapse; border:{{#if:{{{bordercolor|}}} | 2px solid {{{bordercolor}}} | 0}};"
+
<includeonly>{| class="prettytable" style="border: {{#if: {{{bordercolor|}}} | 2px solid {{{bordercolor}}} | inherit}}; font-size: 90%;"
|+ Move list{{#if:{{{desc|}}}|&nbsp;({{{desc}}})|}}
+
|+ Move list{{#if: {{{desc|}}} | &nbsp;({{{desc}}}) | }}
 
|-
 
|-
|style="width:20%; vertical-align:top;"|'''Name'''
+
| style="width: 20%; vertical-align: top;" | '''Name'''
|style="width:20%; vertical-align:top;"|'''Command'''
+
| style="width: 20%; vertical-align: top;" | '''Command'''
|style="width:60%; vertical-align:top;"|'''Description'''
+
| style="width: 60%; vertical-align: top;" | '''Description'''
 
|-
 
|-
 
{{{1|}}}
 
{{{1|}}}

Revision as of 17:44, 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 the 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=