Module talk:Sports table/Chess

To do list
Some features that should be added, when I get around to it: NHammen (talk)
 * 1) in-line match format (matchrow_AAA=match_AAA_BBB,match_AAA_CCC,etc...) (completed 01:23, 15 April 2020 (UTC))
 * 2) bgcolrow (added 17:20, 15 April 2020 (UTC)) (completed 20:26, 16 April 2020 (UTC))
 * 3) tiebreak matches in two player special case (completed 19:19, 23 April 2020 (UTC))
 * 4) selectively display SB score only for certain players (added 17:20, 15 April 2020 (UTC)) (completed 17:53, 24 April 2020 (UTC))
 * 5) activate and check multirowlegs functionality (abandoned 19:29, 24 April 2020 (UTC) due to incompatibility with tiebreak matches)
 * 6) Points/score as a fraction (added 14:20, 16 May 2020 (UTC)) (completed 03:27, 17 May 2020 (UTC))
 * 7) testcases


 * So, I forgot to sign that. But I completed item 1 rather quickly. NHammen (talk) 01:23, 15 April 2020 (UTC)

visualhide removal
This template/module uses the visualhide class. It has a TemplateStyles solution and will accordingly be removed from Common.css soon. Your feedback regarding the timeline is requested at. Izno (talk) 17:10, 2 December 2020 (UTC)

Questions about implementation
Some comments for this module:

1. In the block of code starting from Module:Sports table/Chess, I think the sr-only span and its contents (and the current templatestyles) are not necessary for the else cases of these two blocks because they are not mixed fractions. Am I reading that correctly? Just looking for some context to make sure I don't intend to remove anything that would break this module.

2. There is a similar case at Module:Sports table/Chess that looks the same.

Please check me. Izno (talk) 21:30, 28 April 2021 (UTC)

"Rules for classification"?
Over at the Candidates article I noticed something strange: The footnote to the standings table say "Rules for classification" to explain what criteria are used to rank the players. That wording feels very wonky and generic. So I got suspicious.

And sure enough, after mucho digging around, this phrase is a generic phrase for ALL SPORTS. Specifically, you'll find it in lines 570-573 of the Module:Sports table which our chess articles use through its chess-specific submodule:



Allow me to suggest we can do better, at least for chess, than the phrase "Rules for classification". Classification? That can mean everything and nothing! The table's sortable column is "rank", not "classification". How about:

"The table is ranked according to the following criteria:"

PS. I leave the implementation to module-proficient wikipedians, but I would think its better to override this behavior specifically for chess, instead of going into battle with people from every other sport in existence. Plus, I couldn't change it for everyone even if I wanted to, since the main module is write-protected.

Regards, CapnZapp (talk) 10:38, 18 June 2022 (UTC)


 * Good observation. I removed it in the Candidates article, and added some custom text instead. Adpete (talk) 02:42, 20 June 2022 (UTC)

Standings tables without the results
Can someone just put the team names, score and wins without adding in the results. Is that possible? Howard the Duck (talk) 17:36, 21 October 2023 (UTC)