Jump to content

Module:Sports rbr table/matchup/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by McVahl (talk | contribs) at 03:45, 23 March 2020 (Created page with '{{Module rating |beta}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Us...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

Basic usage

In it's simplest form, only several parameters need to be used to build a table.

What you type
{{#invoke:Sports rbr table|table|style=matchup

|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE

|opp_AAA = TM2/TM3/TM4/GIB
|res_AAA =  W / L /OTL/ W

|opp_BBB = GIB/TM1/TM3/TM4
|res_BBB =  L / L /OTW/ W

|opp_CCC = TM4/GIB/TM1/TM2
|res_CCC =  W / L / W /OTL

|opp_DDD = TM3/TM2/TM1/GIB
|res_DDD = OTW/ L / L / L

|opp_EEE = TM3/TM4/TM1/TM2
|res_EEE =  W / W / L / W

|name_AAA=[[Dream Team]]
|name_BBB=Team 2
|name_CCC=Team 3
|name_DDD=Team 4
|name_EEE={{bk|GIB}}
}}
What it looks like
Team ╲ Game1234
Dream TeamTM2TM3TM4GIB
Team 2GIBTM1TM3TM4
Team 3TM4GIBTM1TM2
Team 4TM3TM2TM1GIB
 GibraltarTM3TM4TM1TM2
Source: [citation needed]
  = Win;   = Loss

Parameters

General parameters

Style–specific parameters

Style–specific parameters
Parameter Description
opp1 or
opp_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 BSK. 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

Color

Legend colors and text will be displayed based on usage.

Legend style BSK BSKF FBR FBRF WL WLF
Colors
  •   Win
  •   OT win
  •   Loss
  •   OT loss
  •   Win
  •   OT win
  •   Win by forfeit
  •   Loss
  •   OT loss
  •   Loss by forfeit
  •   Win
  •   Draw
  •   Loss
  •   Win
  •   Win by forfeit
  •   Draw
  •   Loss
  •   Loss by forfeit
  •   Win
  •   Loss
  •   Win
  •   Win by forfeit
  •   Loss
  •   Loss by forfeit

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 win, win by forfeit, win, loss.

  • W = Win
  • D = Draw
  • L = Loss
  • OTW = OT win
  • OTL = OT loss
  • FW = Win by forfeit
  • FL = Loss by forfeit

See also

Tracking category