Module:Sports rbr table/matchup/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Sports rbr table/matchup
Usage
Basic usage
This module is an extension of Module:Sports rbr table, showing matchups and head-to-head results table.
In it's simplest form, only several parameters need to be used to build a table.
What you type | <syntaxhighlight lang=moin> Source: [<span title="Script error: No such module "delink".">citation needed] </syntaxhighlight>
= Win; = OT win; = Loss; = OT loss |
What it looks like | Source: [<span title="Script error: No such module "delink".">citation needed]
= Win; = OT win; = Loss; = OT loss |
Parameters
General parameters
Style–specific parameters
Style–specific parameters | |
---|---|
Parameter | Description |
opp1 oropp_ABC |
The forward slash (/ ) delimited list of round-by-round opponents of the team. For example, |opp1=DEF/GHI/JKL/MNO/PQR/STU/VWX for seven games.
|
legend_style |
Legend colors and text to display based on usage. The default is WL . See the legend section below for more information on legend syntax.
|
rdrobin |
Number of times each team plays all other teams. The default is 1 (i.e. single round-robin).
|
ticon |
The name of the template to trigger to show teams' identity (e.g. three-letter codes, team colors, team icons) |
Legend
Key
The keys below correspond to res1
or res_ABC
usage: the forward slash (/
) delimited list of matchup results of the team.
For example, |res1=W/OTL/FW/W/L
for five games with the round-by-round results of win, OT loss, win by forfeit, win, loss.
Key | Legend color |
---|---|
W |
Win |
D |
Draw |
L |
Loss |
OTW |
OT win |
OTL |
OT loss |
FW |
Win by forfeit |
FL |
Loss by forfeit |
Style
Legend colors and text will be displayed based on usage.
Legend style | WL
|
WLF
|
BSK
|
BSKF
|
FBR
|
FBRF
|
---|---|---|---|---|---|---|
Colors |
|
|
|
|
|
|
Examples
Example 1: Cells contain literal texts
What you type | <syntaxhighlight lang=moin> Source: [<span title="Script error: No such module "delink".">citation needed] </syntaxhighlight>
= Win; = Draw; = Loss |
What it looks like | Source: [<span title="Script error: No such module "delink".">citation needed]
= Win; = Draw; = Loss |
Example 2: Cells contain icons
What you type | <syntaxhighlight lang=moin> Source: [<span title="Script error: No such module "delink".">citation needed] </syntaxhighlight>
= Win; = Draw; = Loss |
What it looks like | Source: [<span title="Script error: No such module "delink".">citation needed]
= Win; = Draw; = Loss |
Example 3: Double round-robin schedule
What you type | <syntaxhighlight lang=moin> Source: [<span title="Script error: No such module "delink".">citation needed] </syntaxhighlight>
= Win; = OT win; = Loss; = OT loss |
What it looks like | Source: [<span title="Script error: No such module "delink".">citation needed]
= Win; = OT win; = Loss; = OT loss |
See also
Tracking category
- Category:Pages using sports rbr table with dubious updated parameter (0) (pages where the updated date does not match the parent page name)
- Category:Pages using sports rbr table with legendorder (2) (pages where the
|legendorder=
parameter is used) - Category:Pages using sports rbr table with rnd parameters (0) (pages where the
|rnd1=
parameter is used and may be converted to|firstround=
) - Category:Pages using sports rbr table with unsupported parameters (0) (pages where unsupported parameters are used, or where the
|header=
is potentially missing)