Module:Sports rbr table/multimatch/doc
| This is a documentation subpage for Module:Sports rbr table/multimatch. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This module depends on the following other modules: |
| This module uses TemplateStyles: |
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 value | Meaning |
|---|---|
W/D+L/W | Round 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+L | Round 1: win; round 2: empty; round 3: draw and loss, stacked vertically. |
Example invocation
[edit]| Win | |
| Draw | |
| Loss |
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.