Module talk:Sports rbr table
![]() | Football Template‑class | ||||||
|
This is the talk page for discussing improvements to the Sports rbr table module. |
|
Archives: 1Auto-archiving period: 3 months ![]() |
![]() | To help centralize discussions and keep related topics together, Module talk:Sports rbr table/matchup redirects here. |
'Match-up results' feature proposal
Hi @Frietjes: in some athletic conference articles like 2019 PBA Philippine Cup and UAAP Season 82 basketball tournaments you will see "Schedule" table (sometimes called "match-up results table") showing the order of opponents of each team with the background colors indicating that team's win/loss results against their opponents.
I'd like to propose such feature to be implemented to this module.
I have already created the implementation in my sandbox: Module:Sandbox/McVahl/sometest including the test cases. The schedule appearance will apply if argument sched=y
.
If you agree with the merge, or if there is an existing feature that is affected by the change, please let me know. I would welcome everybody for comments and suggestions. :) – McVahl (talk) 09:38, 13 March 2020 (UTC)
- Hi McVahl, thank you for working on this. I definitely think we can make this possible. first, if possible, I would like to enable multiple rows per team to support tables like this one (there are many of these). so, in this case, the colouring for the opponents row is home/away and not W/D/L. that one also has the two tables merged into one table. right now, the module doesn't support multiple rows per team. I had been working on multirow support in the sandbox but stopped working on it for some reason. that said, looking at the diff between your version an the current version, I don't see any serious problems with your changes. Frietjes (talk) 14:33, 15 March 2020 (UTC)
- Hi, @Frietjes: added
style
arg (works similar to Module:Sports table) so that the impact is minimal if "multiple rows" will be implemented soon. The style (or submodule) sandbox is in Module:Sandbox/McVahl/sometest/testtable. The new submodule (if pushed through) will be named as Module:Sports rbr table/sched. Kindly review if this is okay with you. Thanks. – McVahl (talk) 16:45, 21 March 2020 (UTC)- McVahl, you seem to be careful and competent so I have no objection to you pushing your changes (assuming it doesn't break anything :)) Frietjes (talk) 17:32, 22 March 2020 (UTC)
- Hi, @Frietjes: added
header param on /matchup
Re: message from diff on Template:NCAA Season 93 women's volleyball match-up results:
Frietjes, I do not see any other possible values to customise |header=
, so it will always be Team ╲ Game
. If you intend to set |header=Elimination round
as seen in the linked diff, I think it would be appropriate to use |title=
parameter instead. – McVahl (talk) 01:50, 23 July 2020 (UTC)
Number of games
Not all leagues have the teams play other teams the same number of times. In cases where that is the case, you can't use this. Perhaps editors can manually assign how many games are/will be played. Howard the Duck (talk) 16:45, 18 December 2020 (UTC)
Vertical Line Separation
Hi! In the football calendar this season, the FIFA World Cup resulted in almost all leagues halting for a period of 4 or more weeks. As a result, I was wondering whether anyone would be able to add a parameter in which a 3px grey vertical line can be placed after a given column to indicate a small break in league play? Thanks in advance! 82.26.206.44 (talk) 01:03, 18 March 2023 (UTC)
Template-protected edit request on 4 April 2023
![]() | It is requested that an edit be made to the template-protected module at Module:Sports rbr table. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
I would like to update the module with my revision of Module:Sports rbr table/sandbox (permalink, diff). My changes simplify the module code by trimming some redundancy, along with fixing a minor error (an attempt to use regex \
to escape a character instead of Lua's %
). Although there's no testcases page for the module, I've tested my changes using all 4 examples in the module documentation, as well as on the current revision (as of writing) of 1954 Footscray Football Club season to verify the addition of Category:Pages using sports rbr table with dubious updated parameter, and the sandbox version produced the exact same results as the current version. {{Lemondoge|Talk|Contributions}} 19:37, 4 April 2023 (UTC)