Jump to content

Module:Sports rbr table/multimatch/doc

From Wikipedia, the free encyclopedia

This module is a version of Module:Sports rbr table that adds support for displaying multiple match results in a single round. This page documents only the additional feature. For the full documentation of the existing parameters, styles, colours, legends and other functionality, see Module:Sports rbr table/doc.

Multiple results in one round

[edit]

In a res parameter, use a plus sign (+) to separate multiple match results within the same round. The results are displayed vertically in the same cell, with a thin horizontal line between them. Each result uses the normal result text and colour settings.

The forward slash (/) continues to separate rounds. Existing empty-round syntax, such as //, is unchanged. This feature applies only to res parameters; pos and other rows retain their existing behaviour.

Examples

[edit]
Wikitext valueMeaning
W/D+L/WRound 1: win; round 2: draw and loss, stacked vertically; round 3: win.
W+Round 1: win followed by a blank slot for a match that has not yet been played.
+Round 1: blank slot for two matches that has not yet been played
W//D+LRound 1: win; round 2: empty; round 3: draw and loss, stacked vertically.

Example invocation

[edit]
Win
Draw
Loss
Multi-match results example
Team ╲ Round1234
Example FCW
D
Sample United
D
L
W
Source: Example source

In this example, the second round for Example FC contains a draw and a loss in one cell. For Sample United, the second round contains a win and a blank pending-match slot; the third round is empty. The example values are illustrative only.

Compatibility

[edit]

The module retains the existing parameters and behaviour of Module:Sports rbr table apart from the additional + syntax in result rows. Existing tables without + should continue to render as before. When using this module, only use + to separate multiple results within one round; continue using / to separate rounds.

For complete parameter documentation and further examples, see Module:Sports rbr table/doc.