Module talk:Sports table

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconSports Template‑class
WikiProject iconThis module is within the scope of WikiProject Sports, a collaborative effort to improve the coverage of sport-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis module does not require a rating on Wikipedia's content assessment scale.
To-do list:

Here are some tasks awaiting attention:

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)


What's the difference between status letters "A" and "Q"?[edit]

And "T" as well. Presumably "Q" and "T" should be together, but never "A" and "T". Is that right? Howard the Duck (talk) 22:43, 7 January 2024 (UTC)[reply]

Fairly semantic between A and Q. The next match might not be another round but could be another tournament altogether. T is for when you know the team have qualified for something but not sure what. For example, rugby league in the UK has post-season play-offs. The stage at which a club might start the play-offs depends on where they finish in the regular season. T is the status used when we know they will definitely make the play-offs but, as yet, not sure which bit of it they will start at. Nthep (talk) 17:24, 8 January 2024 (UTC)[reply]
I reason I asked this is there's a dispute on what to use between A and Q. I'd argue that if there's a T, Q should be exclusively used, and if there's no confusion on what the "next round" should be, use A. Howard the Duck (talk) 23:01, 8 January 2024 (UTC)[reply]
That sounds context specific and not something where there is a 100% definite answer. Nthep (talk) 07:56, 9 January 2024 (UTC)[reply]
Okay; there should be guidance on this. FWIW, I've noticed that A is used if all teams are competing for the same set of berths on the next round (like FIFA World Cup teams in the group stages all gunning for a knockout stage berth), while Q and T if there are several types of berths, or if some teams wins byes or has an easier path to the title, or advance to a more prestigious competition based on its seeding (like in the UEFA Champions League where a team can advance to the knockout stage, to the Europa League, or be eliminated altogether).
This is not always clear-cut and there it should be distinguished when we should use Q/T and A. Howard the Duck (talk) 22:17, 9 January 2024 (UTC)[reply]

Making this template compatible for night mode[edit]

Hi User:Frietjes this template has been flagged by https://night-mode-checker.wmcloud.org/en-mobile-night/ and [[Special:LintErrors/night-mode-unaware-background-color]] as having an issue in the upcoming night mode theme (example link: https://en.m.wikipedia.org/wiki/UEFA_Euro_2024_qualifying?minervanightmode=1 )


In Cyprus and Norway in Group A the text appears black on black background. Could the "background-color:transparent;" rule be removed per this recommendation? If not, happy to help find other solutions! 🐸 Jdlrobson (talk) 21:23, 23 March 2024 (UTC)[reply]

Jdlrobson, removing it almost works, but now the team cells are colored the same as the header cells. we use the default wikitable background color (#f8f9fa) instead of transparent, or try to add something to the css to override the grey background for "row scoped" table rows? Frietjes (talk) 15:06, 25 March 2024 (UTC)[reply]
Thanks for trying out the fix! I think the remaining issues will be covered by https://phabricator.wikimedia.org/T357998 ! 🐸 Jdlrobson (talk) 01:13, 26 March 2024 (UTC)[reply]
Another example: https://en.m.wikipedia.org/wiki/2024_Indian_Premier_League?minervanightmode=1#Points_table
Another approach would be to add color: inherit alongside the background color definitions when they are transparent e.g. `background-color:transparent; color: inherit;` 🐸 Jdlrobson (talk) 07:50, 26 March 2024 (UTC)[reply]

How do I adjust goals for[edit]

On this table, it was reported that Gombe United were deducted 6 points and 6 goals, I was able to adjust the points but not the same for the goals. Jõsé hola 10:51, 4 April 2024 (UTC)[reply]