Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a234fb0eac70cb43

Jump to content

Module talk:RoundN

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:RoundN/styles.css)
Latest comment: 8 months ago by Maiō T. in topic Using RDseed with long names?

Edit request 25 February 2024 Fix node_function orphan bug

[edit]

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)Reply

@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)Reply
Blaixx the bug is the connecting lines wrongly appearing, yes? SWinxy (talk) 23:00, 3 March 2024 (UTC)Reply
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)Reply
 Completed. P.I. Ellsworth, ed. put'er there 13:57, 7 March 2024 (UTC)Reply

Text overlapping issue

[edit]

It got worse readability when the template is implement to the 2023 Copa Libertadores. Any idea?

 
Round of 16Quarter-finalsSemi-finalsFinal
 
                      
 
 
 
 
11
Uruguay Nacional
112 (2)
 
 
 
4
Argentina Boca Juniors (p)
112 (3)
 
4
Argentina Boca Juniors (p)
000 (4)
 
 
 
3
Argentina Racing
000 (1)
 
15
Colombia Atlético Nacional
404
 
 
 
3
Argentina Racing
235
 
4
Argentina Boca Juniors (p)
011 (4)
 
 
 
1
Brazil Palmeiras
011 (2)
 
16
Colombia Deportivo Pereira
112
 
 
 
6
Ecuador Independiente del Valle
011
 
16
Colombia Deportivo Pereira
000
 
 
 
1
Brazil Palmeiras
404
 
13
Brazil Atlético Mineiro
000
 
4 November – Rio de Janeiro
 
1
Brazil Palmeiras
101
 
4
Argentina Boca Juniors
1
 
 
 
8
Brazil Fluminense (a.e.t.)
2
 
12
Argentina Argentinos Juniors
101
 
 
 
8
Brazil Fluminense
123
 
8
Brazil Fluminense
235
 
 
 
2
Paraguay Olimpia
011
 
10
Brazil Flamengo
112
 
 
 
2
Paraguay Olimpia
033
 
8
Brazil Fluminense
224
 
 
 
7
Brazil Internacional
213
 
9
Bolivia Bolívar (p)
303 (5)
 
 
 
5
Brazil Athletico Paranaense
123 (4)
 
9
Bolivia Bolívar
000
 
 
 
7
Brazil Internacional
123
 
14
Argentina River Plate
213 (8)
 
 
7
Brazil Internacional (p)
123 (9)
 

KyleRGiggs (talk) 08:21, 18 July 2024 (UTC)Reply

Can you elaborate? What got worse? Worse than what? BLAIXX 21:26, 21 July 2024 (UTC)Reply
I don't know how to elaborate but CodeMars04 said very clearly in his edit summary, I will quote it.

…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.

KyleRGiggs (talk) 17:34, 22 July 2024 (UTC)Reply
I think I resolved the issue by increasing the team-width parameter from 180px to 215. BLAIXX 20:17, 22 July 2024 (UTC)Reply

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)Reply

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)Reply
 
Round 1Semi-finalsFinal
 
          
 
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=auto to the parameter set as I have here, and it will self adjust based on input. If that causes issues with being too wide, just change auto to some integer that works better (170 is the default width). Does this work for you? Zinnober9 (talk) 21:12, 21 July 2024 (UTC)Reply
@Zinnober9: I have the same problem. So I'm trying to use the |team-width=auto parameter, 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)Reply

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)Reply