Module:Sports table/Rugby/doc
< Module:Sports table | Rugby
![]() | This is a documentation subpage for Module:Sports table/Rugby. It may contain usage information, categories and other content that is not part of the original module page. |
This style for Lua-based Module:Sports table is meant to build group and league tables for rugby competitions with the following optional columns
- Played / Wins / Draws / Losses
- Match points for / Match points against / Match points difference
- Tries for / Tries against
- Try bonus competition points
- Loss bonus competition points
- Total competition points
The input syntax for this module is similar to the WDL module, but specialized for Rugby competitions.
Usage
Basic usage
In its simplest form only several parameters need to be used to build a table
What you type | <syntaxhighlight lang="wikitext">
First match(es) will be played: Unknown. Source: Unknown </syntaxhighlight>
Rules for classification: 1) competition points; 2) match points difference; 3) match points for (A) Advances to a further round; (C) Champion; (Q) Qualified for the phase indicated; (R) Relegated; (T) Qualified, but not yet for the particular phase indicated | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What it looks like |
First match(es) will be played: Unknown. Source: example.com
Rules for classification: 1) competition points; 2) match points difference; 3) match points for (A) Advances to a further round; (C) Champion; (Q) Qualified for the phase indicated; (R) Relegated; (T) Qualified, but not yet for the particular phase indicated |
Additional parameters
- To merge the "bonus competition points" columns into one, use
|bonus_total=
with any additional bonus points specified using|b_XYZ=
- To hide the "bonus competition points" columns, use
|show_bonus=no
- To hide the "draws" column, use
|show_draw=no
- To hide the "tries for" column, use
|show_tries_for=no
- To hide the "tries against" column, use
|show_tries_against=no
- To show the "tries difference" column, use
|show_tries_difference=yes
- To hide the "points for" column, use
|show_points_for=no
- To hide the "points against" column, use
|show_points_against=no
- To hide the "points difference" column, use
|show_points_difference=no
- To add "competition points carried forward" to the next round, use
|show_cf=yes
- To add "grand slam points" column, use
|show_grand_slam=yes
, with grand slam points specified using|gs_XYZ=
- To override the default number of "win points", use
|winpoints=
- To override the default number of "draw points", use
|drawpoints=
- To override the default number of "loss points", use
|losspoints=