Template:ComboMatrix

From 2XKO Wiki

This template is a wrapper for Module:ComboMatrix.

Combo Matrix

This module is used to generate fancy combo tables. These are made with CSS Grid instead of standard tables in order to provide more control over the mobile design. The combo notation and difficulty are automatically colorized via the corresponding modules, listed in the dependencies section.

Dependencies

Usage

You should use the module through the corresponding Template. Invoking through the raw module is discouraged. The user input is parsed as JSON. The order of the arguments provided does not matter. If you are uncomfortable or unfamiliar with JSON formatting, you can instead pass the arguments into the module using Template:Cmcombo.

Each row in the table must be separated by a comma (,).
 Because of how the Mediawiki parser works, templates called within the input must replace their | characters  with the template {{!}}

Input Arguments

The following fields are displayed as columns on the table:

Mandatory Arguments

  • Notation — Numpad notation corresponding to the sequence of inputs
  • Title — A name for the combo

Optional Columns

The following columns are optional. To disable the column entirely, add the arguments Column=disabled to the ComboMatrix template call. Some games have certain columns disabled by default. These defaults are defined in Module:ComboMatrix/optsDefaults.json.

  • Damage — a numeric value representing the damage of the sequence.
  • Difficulty — An enumerated value describing the difficulty of a sequence
  • Position — A text descriptor of where the combo can be performed from
    • Standard Values: Very Easy, Easy, Medium, Hard, Very Hard

Special Fields

The following fields have special behavior

  • Notes — a wikitext descriptor of the sequence. This is rendered as an additional row below the primary row data which is collapsed until the button is pressed
  • Patch — A version number that validates against the version defined in GameVersions.json. If the patch value does not match the version defined in the JSON, then the patch badge will be colored red.

Custom Fields

Any field not listed in the above sections will be added to the Notes row as a badge.

Standard Input

Notation
Damage
Position
Difficulty
Notes
5L>5M>3H>9>j.L>j.M>j.H>j.S1
237
anywhere
Easy
Toggle Notes
5M>5H>S2~S2>22S1
358
anywhere
Very Easy
Toggle Notes

Optional Column

If you wish to enable a column which is disabled by default, add the following argument to the Combo Matrix template call: Column=enabled. For example, in order to enable the Title column:

{{ComboMatrix|Title=enabled|
  {{Cmcombo| .... stuff}},
  {{Cmcombo| .... stuff}}
}}
Notation
Title
Damage
Position
Difficulty
Notes
5L>5M>3H>9>j.L>j.M>j.H>j.S1
Joe Biden Combo
12
All
Very Easy
Toggle Notes
Grants one charged ball and one normal ball. Delay Template:Clr > Dubious Curve on Template:CLabel—fastest cancel timing will OTG her.
Meter
+12
5M>5H>S2~S2>22S1
Beginner combo
181
Corner
Medium
Toggle Notes
List of notable optimizations found below.
Meter
+17