Jump to content

Module talk:Sports table

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Winning percentage four digits

[edit]

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

[edit]
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)


color:inherit needed to accompany more background-colors

[edit]

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

[edit]
  • 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]

Accessibility problems

[edit]

Looking at e.g. 2017 OFC Champions League, this module seems to be violating MOS:NOTOOLTIPS by producing table headers like "Pld" which are unintelligible without hovering over the text. The majority of readers, roughly speaking, are on mobile devices and cannot hover. -- Beland (talk) 01:47, 1 November 2025 (UTC)[reply]

Abbreviations are exempt from these requirements, so the {{abbr}} template (a wrapper for the <abbr> element) may be used to indicate the long form of an abbreviation (including an acronym or initialism). This module uses <abbr> tags to generate the headers, so it is exempt. — Jkudlick ⚓ (talk) 15:14, 1 November 2025 (UTC)[reply]
Hmm, this exception seems to have been designed in 2011 with screenreaders in mind, not mobile devices which have since become a lot more popular. I've started a discussion at Wikipedia talk:Manual of Style/Accessibility#Abbreviations and hover about changing it. -- Beland (talk) 09:00, 3 November 2025 (UTC)[reply]