Module:Sports table/Volleyball/doc explained

This style for Lua-based is meant to build group and league tables for competitions with a volleyball format. Note that this module is used extensively, so test potential changes rigorously in the sandbox and please ensure consensus exists before implementing major changes. The rest of this documentation explains how to use this module with the WL style in an article or template, check the table of contents for specific items.

Usage

Basic usage

In its simplest form only several parameters need to be used to build a table

Big/small win/loss input style
What you type
What it looks like
345 set win/loss input style
What you type
What it looks like
The main command is the {{#invoke:Sports table|main|style=Volleyball}} statement which basically calls the module and enables you to set everything up. Then you list the positions of the teams as,, etc for however many teams you need in the table. You can use full team names there without spaces if you want, but using codes (as in the example) can make it easier. For each team you now define the big wins small wins, small losses, big losses, sets won, sets lost, setpoints won and setpoints lost by using,,,,,, and respectively (with TTT replaced by the team code). Alternatively, you can define,,,,, for 3-set-wins, 4-set-wins, 5-set-wins, 5-set-losses, 4-set-losses, and 3-set-losses. Note that, win5s is the same as "small wins" and win4s/win3s are the same as "big wins". You should not use both the bwin and win4s/win3s syntax simultaneously. If you do not define any of these numbers, they are automatically assumed to be 0. It is good practice though to include them anyway and to align the columns using appropriate spaces (as in the example), so the code is easy to read. The last step now is to define the parameters which determine what name is shown in the table, you can use wiki markup and templates in here as well. See
  1. Dating
to see how to change the update date.

Customization

Several things can be customized in these tables

Hiding played column

Setting hides the played column.

Hiding the sets columns

Setting hides the sets columns.

Hiding the setpoints columns

Setting hides the setpoints columns.

Showing the setpoints columns first

Setting moves the setpoints columns before the sets colums.

Wins or points

By default teams are ranked by wins, but also list points which can be adjusted as follows:

What you type
What it looks like
As a default a big win is worth 3 points, a small win 2 points, a small loss 1 point and a big loss 0 points, these values can be overwritten to what you need by,, and . Teams can also start the season with bonus or penalty points, this can be included by using for that specific team.

Alternatively teams can also be ranked by points (set to bold that row instead)