Module:Sports table/Water polo/doc
Appearance
| This is a documentation subpage for Module:Sports table/Water polo. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
This style for Lua-based Module:Sports table is meant to build group and league tables for water polo competitions with a win-PSW-PSL-loss format and (optionally) with the Tournament Performance Index instead of points.
Examples
[edit]Points style
[edit]{{#invoke:Sports table|main|style=Water polo
|team_order=USA
|name_USA={{wp|USA}}
|win_USA=2|psw_USA=3|psl_USA=4|loss_USA=5|gf_USA=6|ga_USA=7
}}
| Pos | Team | Pld | W | PSW | PSL | L | GF | GA | GD | Pts |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 14 | 2 | 3 | 4 | 5 | 6 | 7 | −1 | 16 |
TPI style
[edit]{{#invoke:Sports table|main|style=Water polo|anything
|team_order=USA
|name_USA={{wp|USA}}
|win_USA=2|psw_USA=3|psl_USA=4|loss_USA=5|gf_USA=6|ga_USA=7|tpi_USA=88.8
}}
| Pos | Team | Pld | W | PSW | PSL | L | GF | GA | GD | TPI |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 14 | 2 | 3 | 4 | 5 | 6 | 7 | −1 | 88.8 |