Template:ComboMatrix
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
- Styles: Module:ComboMatrix/styles.css
- Wrapper: Template:ComboMatrix
- Row Template: Template:Cmcombo
- Notation Syntax Highlighting: Module:Input Segmentor
- Difficulty Coloring: Template:SimpleComboDifficulty
- Button Builder: Module:BuildButton
- Game Version Validator: Module:ComboMatrix/GameVersions.json
- Optional Flag Default Values: Module:ComboMatrix/optsDefaults.json
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
- Standard Values:
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
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}} }}
The above documentation is transcluded from Template:ComboMatrix/doc. (edit | history)