Jump to content

Module talk:Sports table

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Howard the Duck (talk | contribs) at 03:32, 25 October 2025 (Winning percentage requests). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Winning percentage four digits

Can an option be done for goal percentage with 4 digits, for example like the win percentage with notratio setting?

I need help if there is another notratio code for goal percentage please, anyone who can help me?

Example

Pos Team Pld W L GF GA PP PCT Qualification
1 South East Melbourne Phoenix 8 6 2 686 636 107.9 75.00 Semi-Finals
2 Melbourne United 11 8 3 931 830 112.2 72.73
3 Perth Wildcats 10 7 3 880 809 108.8 70.00
4 Illawarra Hawks 11 6 5 962 966 99.6 54.55
5 Tasmania JackJumpers 11 5 6 834 837 99.6 45.45
6 Sydney Kings 12 5 7 959 987 97.2 41.67
7 Brisbane Bullets 10 4 6 844 880 95.9 40.00
8 Adelaide 36ers 10 4 6 805 854 94.3 40.00
9 Cairns Taipans 6 2 4 459 484 94.8 33.33
10 New Zealand Breakers 11 3 8 866 943 91.8 27.27
Updated to match(es) played on 4 February 2022. Source: NBL.com.au

Giacontigers (talk) 12:10, 6 February 2022 (AEDT)


Edit request 11 June 2025

Description of suggested change: Add "Exclusion" on result column header for Module:Sports table/Volleyball

Diff:

From "Promotion, qualification or relegation"
+
To "Promotion, qualification, relegation or exclusion"

𝙳.𝟷𝟾𝚝𝚑 (𝚃𝚊𝚕𝚔) 11:06, 11 June 2025 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. If this has already been discussed, then please link to that discussion. P.I. Ellsworth , ed. put'er there 13:09, 11 June 2025 (UTC)[reply]
This seems to be relevant on 2025 FIVB Men's Volleyball Nations League in regards to the US team being "excluded" in the 2026 Nations League. Aside from it being unexplained (and unreferenced) on why this is so, this seems to be extraordinary, akin to Bury F.C. being expelled from the Football League some years ago. Howard the Duck (talk) 14:21, 11 June 2025 (UTC)[reply]

sticky-header - Template-protected edit request on 17 July 2025

Could {{sticky-header}} be implemented in the module so that column headers stick to the top of the screen as the table's data is scrolled. This would be highly recommended, especially for long tables like 2024–25_UEFA_Champions_League_league_phase#League_phase_table. For comparison, the implementation of the sticky header has also been done in a similar module {{Medals table}}, see diff. Miria~01 (talk) 12:58, 17 July 2025 (UTC)[reply]

 Not done: please make your requested changes to the module's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 17:41, 18 July 2025 (UTC)[reply]
Diff: 21:29, 18 July 2025 in Module:Sports table/WDL/sandbox
table.insert(t,'{| class="wikitable sticky-header'..sort_text..'" style="text-align:center;"\n')
The CSS for loading the sticky header would leave it up to the user to decide whether they want the sticky header or not, as it is done by adding the {{sticky header}} in testcases, see diff in testcases. Miria~01 (talk) 21:49, 18 July 2025 (UTC)[reply]

color:inherit needed to accompany more background-colors

When | match_BOD_LIL = 0–4 is rendered at 2004 Tippeligaen, it renders as style="white-space:nowrap;font-weight:normal;background: #FBB;". Can someone please edit this module to add color:inherit; to this style declaration? Background colors without colors cause Linter errors. Thanks. – Jonesey95 (talk) 03:39, 3 October 2025 (UTC)[reply]

Winning percentage requests

  • For the entire column not to be boldfaced. Standings tables that use this typically don't boldface it. See NBA, ESPN, NPb, PBA, NBL (scroll down) etc.
  • Allow for customizable ways to denote "percentages"; most use .###, but some use ##.##% and ##.## (without "%"). See also [[#Winning percentage four digits above]

Howard the Duck (talk) 01:32, 25 October 2025 (UTC)[reply]