Module talk:RoundN
Add topic| Module:RoundN is indefinitely protected from editing as it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.
|
| This module was considered for deletion on 10 February 2021. The result of the discussion was no consensus. |
| This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
| |||||||||||||||
Edit request 25 February 2024 Fix node_function orphan bug
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: A fix for the longstanding node_function{orphan} bug where the lines from the first two matches in each round (after the first) would not be hidden (see examples here: User:Blaixx/sandbox/RoundN-main). This is what it looks like when fixed: User:Blaixx/sandbox/RoundN (tables generated using the Module:RoundN/sandbox).
The fix took a long time to find but is actually pretty simple. We just need to null out a variable once per column. That way all subsequent rounds will work the same way as the first. I also added some comments.
Diff: See diff here: BLAIXX 01:04, 25 February 2024 (UTC)
- @Paine Ellsworth: sorry for the ping. Would you mind taking a look at this edit request when you have a chance? I saw that you've made some edits to this module before. Thanks! BLAIXX 15:55, 2 March 2024 (UTC)
- Blaixx the bug is the connecting lines wrongly appearing, yes? SWinxy (talk) 23:00, 3 March 2024 (UTC)
- Yes, "node_function{orphan}" should hide the lines to the next column of boxes and the bug is what you've said: the lines wrongly appearing. BLAIXX 04:46, 4 March 2024 (UTC)
Completed. P.I. Ellsworth , ed. put'er there 13:57, 7 March 2024 (UTC)
Text overlapping issue
[edit]It got worse readability when the template is implement to the 2023 Copa Libertadores. Any idea?
| Round of 16 | Quarter-finals | Semi-finals | Final | |||||||||||||||||||
11 | 1 | 1 | 2 (2) | |||||||||||||||||||
4 | 1 | 1 | 2 (3) | |||||||||||||||||||
4 | 0 | 0 | 0 (4) | |||||||||||||||||||
3 | 0 | 0 | 0 (1) | |||||||||||||||||||
15 | 4 | 0 | 4 | |||||||||||||||||||
3 | 2 | 3 | 5 | |||||||||||||||||||
4 | 0 | 1 | 1 (4) | |||||||||||||||||||
1 | 0 | 1 | 1 (2) | |||||||||||||||||||
16 | 1 | 1 | 2 | |||||||||||||||||||
6 | 0 | 1 | 1 | |||||||||||||||||||
16 | 0 | 0 | 0 | |||||||||||||||||||
1 | 4 | 0 | 4 | |||||||||||||||||||
13 | 0 | 0 | 0 | |||||||||||||||||||
| 4 November – Rio de Janeiro | ||||||||||||||||||||||
1 | 1 | 0 | 1 | |||||||||||||||||||
4 | 1 | |||||||||||||||||||||
8 | 2 | |||||||||||||||||||||
12 | 1 | 0 | 1 | |||||||||||||||||||
8 | 1 | 2 | 3 | |||||||||||||||||||
8 | 2 | 3 | 5 | |||||||||||||||||||
2 | 0 | 1 | 1 | |||||||||||||||||||
10 | 1 | 1 | 2 | |||||||||||||||||||
2 | 0 | 3 | 3 | |||||||||||||||||||
8 | 2 | 2 | 4 | |||||||||||||||||||
7 | 2 | 1 | 3 | |||||||||||||||||||
9 | 3 | 0 | 3 (5) | |||||||||||||||||||
5 | 1 | 2 | 3 (4) | |||||||||||||||||||
9 | 0 | 0 | 0 | |||||||||||||||||||
7 | 1 | 2 | 3 | |||||||||||||||||||
14 | 2 | 1 | 3 (8) | |||||||||||||||||||
7 | 1 | 2 | 3 (9) | |||||||||||||||||||
KyleRGiggs (talk) 08:21, 18 July 2024 (UTC)
- Can you elaborate? What got worse? Worse than what? BLAIXX 21:26, 21 July 2024 (UTC)
- I don't know how to elaborate but CodeMars04 said very clearly in his edit summary, I will quote it.
KyleRGiggs (talk) 17:34, 22 July 2024 (UTC)…some team names were overlapping on scores, which shows even more on mobile version. IMO, this needs further testing (in a sandbox, for example) before being implemented on a permanent basis.
- I think I resolved the issue by increasing the team-width parameter from 180px to 215. BLAIXX 20:17, 22 July 2024 (UTC)
- I don't know how to elaborate but CodeMars04 said very clearly in his edit summary, I will quote it.
Using RDseed with long names?
[edit]This is not for any particular edit request, but a request for advice on where to take this. I've implemented this style of bracket at 2024 Arena Football League season among other arena football season articles, and have noticed that when I include the {{RDseed}} template, even with {{nowrap}}, some cells take up two lines. I know there's something technical that might be causing this, but any advice on how I can fix this? The current version of the bracket as of writing this is below. Jalen Folf (Bark[s]) 18:56, 21 July 2024 (UTC)
- Scratch that. I figured it out using the team-width parameter, as described in the RDseed documentation. Jalen Folf (Bark[s]) 20:28, 21 July 2024 (UTC)
| Round 1 | Semi-finals | Final | ||||||||
| July 6 – Tony's Pizza Events Center | ||||||||||
5 Southwest Kansas Storm | 35 | |||||||||
| July 13 – MVP Arena | ||||||||||
3 Salina Liberty | 41 | |||||||||
3 Salina Liberty | 59 | |||||||||
2 Albany Firebirds | 80 | |||||||||
| July 19 – American Dream Center | ||||||||||
2 Albany Firebirds | 41 | |||||||||
| July 5 – Kia Center | ||||||||||
1 Billings Outlaws | 46 | |||||||||
6 Nashville Kats | 62 | |||||||||
| July 13 – MetraPark First Interstate Arena | ||||||||||
4 Orlando Predators | 32 | |||||||||
6 Nashville Kats | 32 | |||||||||
1 Billings Outlaws | 35 | |||||||||
- @JalenFolf: {{RDseed}} may not go within {{nowrap}} due to Div-Span-Flip errors (HTML hierarchy), a tracked syntax error on Wikipedia. However, I did find a solution for you that you might have overlooked. The Template:RDseed comes with a parameter (towards the bottom of the page) that accomodates the need for wider team entries; just add
|team-width=autoto the parameter set as I have here, and it will self adjust based on input. If that causes issues with being too wide, just changeautoto some integer that works better (170 is the default width). Does this work for you? Zinnober9 (talk) 21:12, 21 July 2024 (UTC)
- @JalenFolf: {{RDseed}} may not go within {{nowrap}} due to Div-Span-Flip errors (HTML hierarchy), a tracked syntax error on Wikipedia. However, I did find a solution for you that you might have overlooked. The Template:RDseed comes with a parameter (towards the bottom of the page) that accomodates the need for wider team entries; just add
- @Zinnober9: I have the same problem. So I'm trying to use the
|team-width=autoparameter, but the end effect is quite strange: Some cells are 100 pixels wide, some are 200 or so. It would be good if there was also an option to use the default width (170) for narrow cells and also the auto width for wide cells in one particular bracket. Something like|team-min-width=170... Maiō T. (talk) 12:10, 9 November 2025 (UTC)
- @Zinnober9: I have the same problem. So I'm trying to use the
omit_label for consolation matches
[edit]I noticed that that using omit_label works for regular headings, but for consolation matches it results in an error. Is there any way this could be resolved? Thanks, S.A. Julio (talk) 03:07, 6 September 2024 (UTC)