Jump to content

Module talk:Sports rbr table

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lemondoge (talk | contribs) at 19:37, 4 April 2023 (Template-protected edit request on 4 April 2023: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconFootball Template‑class
WikiProject iconThis module is within the scope of WikiProject Football, a collaborative effort to improve the coverage of Association football 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.

'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)[reply]

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

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

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

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

Template-protected edit request on 4 April 2023

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