Content deleted Content added
S.A. Julio (talk | contribs) →omit label for consolation matches: new section |
|||
(21 intermediate revisions by 8 users not shown) | |||
Line 975:
{| class="wikitable" style="width:200px; border: none; background: none; font-size:90%;"
|-
| colspan=2 align=center bgcolor=#f2f2f2| Final
|-
| style="border: none; background: none;"|
Line 987:
| style="border: none; background: none;"|
|-
| colspan=2 align=center bgcolor=#f2f2f2| Third place
|-
| style="border: none; background: none;"| 8
Line 999:
{| class="wikitable" style="width:200px; border: none; background: none; font-size:90%;"
|-
| colspan=2 align=center bgcolor=#f2f2f2| Final
|-
| style="border: none; background: none;"|
Line 1,011:
| style="border: none; background: none;"|
|-
| colspan=2 align=center bgcolor=#f2f2f2| Third place
|-
| style="border: none; background: none;"| 8
Line 1,023:
{| class="wikitable" style="width:200px; border: none; background: none; font-size:90%;"
|-
| colspan=2 align=center bgcolor=#f2f2f2| Final
|-
| style="border: none; background: none;"|
Line 1,035:
| style="border: none; background: none;"|
|-
| colspan=2 align=center bgcolor=#f2f2f2| Third place
|-
| style="border: none; background: none;"| 8
Line 1,047:
{| class="wikitable" style="width:200px; border: none; background: none; font-size:90%;"
|-
| colspan=2 align=center bgcolor=#f2f2f2| Final
|-
| style="border: none; background: none;"|
Line 1,059:
| style="border: none; background: none;"|
|-
| colspan=2 align=center bgcolor=#f2f2f2| Third place
|-
| style="border: none; background: none;"| 8
Line 1,693:
Maybe I missed something, but <code>node_function{orphan}</code> doesn't seem to work as it should. Look in [[User:DenSportgladeSkåningen/sandbox|my sandbox]] (copied it from 2022 MLS on svwp) for an example, it still shows lines from ''Conference Semifinal 1'' and ''Conference Semifinal 2'' to ''Conference Final 1'', but not from 3 and 4. [[User:DenSportgladeSkåningen|DenSportgladeSkåningen]] ([[User talk:DenSportgladeSkåningen|talk]]) 07:01, 18 October 2022 (UTC)
:I'm seeing the same issue for brackets of any size. It seems that it works fine in the first column but in subsequent columns, the top two matches won't have their lines hidden. See my testcases here: [[User:Blaixx/sandbox/RoundN-main]]. I have a hunch that the bug is somewhere below the comment <code>--col.t and col.t2 control whether lines are drawn</code> but the code is really hard (for me) to understand! [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 14:58, 23 February 2024 (UTC)
== Automatic VTE links ==
Line 1,703 ⟶ 1,705:
per [[Module_talk:Team_bracket#Option_to_not_bold_text_in_parentheses?|this discussion]] with [[User:S.A. Julio|S.A. Julio]], I have tweaked the code so that aet and pen and other parenthetical links are not bolded when using bold_winner. let me know if you see any problems and I can adjust the code. see [[2022_FIFA_World_Cup_knockout_stage#Bracket|2022 FIFA World Cup knockout stage]] for a live example. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 21:22, 21 December 2022 (UTC)
:[[User:Frietjes|Frietjes]]: Please see [https://en.wikipedia.org/wiki/Special:LintErrors/misnested-tag?namespace=0 Misnested Tags in Article namespace] and note the many articles with misnested tags attributed directly to this module. Cheers! —[[User:Anomalocaris|Anomalocaris]] ([[User talk:Anomalocaris|talk]]) 00:51, 22 December 2022 (UTC)
:: okay, I changed it to a less aggressive pattern match. [[User:Frietjes|Frietjes]] ([[User talk:Frietjes|talk]]) 18:17, 22 December 2022 (UTC)
:::[[User:Frietjes|Frietjes]]: OK, the misnested tags are cleared, so, thanks! —[[User:Anomalocaris|Anomalocaris]] ([[User talk:Anomalocaris|talk]]) 22:53, 22 December 2022 (UTC)
== Edit request 25 February 2024 Fix node_function orphan bug ==
{{Edit template-protected|answered=yes}}
'''Description of suggested change:''' A fix for the longstanding <code>node_function{orphan}</code> 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: {{diff|diff=1210101008|oldid=1210100067}} [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 01:04, 25 February 2024 (UTC)
:{{Ping|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! [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 15:55, 2 March 2024 (UTC)
:[[User:Blaixx|Blaixx]] the bug is the connecting lines wrongly appearing, yes? [[User:SWinxy|SWinxy]] ([[User talk: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. [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 04:46, 4 March 2024 (UTC)
:{{complete2}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I. Ellsworth</span>]]''''' , [[Editor|<span style="color:black">ed.</span>]] [[User talk:Paine Ellsworth|<sup>put'er there</sup>]] <small>13:57, 7 March 2024 (UTC)</small>
==Text overlapping issue==
It got worse readability when the template is implement to the [[2023 Copa Libertadores]]. Any idea?
{{#invoke:RoundN|main|columns=4
|style=font-size:90%; white-space:nowrap
|score-boxes=3|3rdplace=no|short_brackets=yes
|team-width=180|score-width=18
|RD1=[[#Round of 16|Round of 16]]
|RD2=[[#Quarter-finals|Quarter-finals]]
|RD3=[[#Semi-finals|Semi-finals]]
|RD4=[[#Final|Final]]
<!--Round of 16-->
||{{RDseed|11}}{{fbaicon|URU}} [[Club Nacional de Football|Nacional]]|1|1|'''2 (2)'''|{{RDseed|4}}{{fbaicon|ARG}} '''[[Boca Juniors]]''' {{pso}}|1|1|'''2 (3)'''
||{{RDseed|15}}{{fbaicon|COL}} [[Atlético Nacional]]|4|0|'''4'''|{{RDseed|3}}{{fbaicon|ARG}} '''[[Racing Club de Avellaneda|Racing]]'''|2|3|'''5'''
||{{RDseed|16}}{{fbaicon|COL}} '''[[Deportivo Pereira]]'''|1|1|'''2'''|{{RDseed|6}}{{fbaicon|ECU}} [[C.S.D. Independiente del Valle|Independiente del Valle]]|0|1|'''1'''
||{{RDseed|13}}{{fbaicon|BRA}} [[Clube Atlético Mineiro|Atlético Mineiro]]|0|0|'''0'''|{{RDseed|1}}{{fbaicon|BRA}} '''[[Sociedade Esportiva Palmeiras|Palmeiras]]'''|1|0|'''1'''
||{{RDseed|12}}{{fbaicon|ARG}} [[Argentinos Juniors]]|1|0|'''1'''|{{RDseed|8}}{{fbaicon|BRA}} '''[[Fluminense FC|Fluminense]]'''|1|2|'''3'''
||{{RDseed|10}}{{fbaicon|BRA}} [[CR Flamengo|Flamengo]]|1|1|'''2'''|{{RDseed|2}}{{fbaicon|PAR}} '''[[Club Olimpia|Olimpia]]'''|0|3|'''3'''
||{{RDseed|9}}{{fbaicon|BOL}} '''[[Club Bolívar|Bolívar]]''' {{pso}}|3|0|'''3 (5)'''|{{RDseed|5}}{{fbaicon|BRA}} [[Club Athletico Paranaense|Athletico Paranaense]]|1|2|'''3 (4)'''
||{{RDseed|14}}{{fbaicon|ARG}} [[Club Atlético River Plate|River Plate]]|2|1|'''3 (8)'''|{{RDseed|7}}{{fbaicon|BRA}} '''[[Sport Club Internacional|Internacional]]''' {{pso}}|1|2|'''3 (9)'''
<!--Quarter-finals-->
||{{RDseed|4}}{{fbaicon|ARG}} '''[[Boca Juniors]]''' {{pso}}|0|0|'''0 (4)'''|{{RDseed|3}}{{fbaicon|ARG}} [[Racing Club de Avellaneda|Racing]]|0|0|'''0 (1)'''
||{{RDseed|16}}{{fbaicon|COL}} [[Deportivo Pereira]]|0|0|'''0'''|{{RDseed|1}}{{fbaicon|BRA}} '''[[Sociedade Esportiva Palmeiras|Palmeiras]]'''|4|0|'''4'''
||{{RDseed|8}}{{fbaicon|BRA}} '''[[Fluminense FC|Fluminense]]'''|2|3|'''5'''|{{RDseed|2}}{{fbaicon|PAR}} [[Club Olimpia|Olimpia]]|0|1|'''1'''
||{{RDseed|9}}{{fbaicon|BOL}} [[Club Bolívar|Bolívar]]|0|0|'''0'''|{{RDseed|7}}{{fbaicon|BRA}} '''[[Sport Club Internacional|Internacional]]'''|1|2|'''3'''
<!--Semi-finals-->
||{{RDseed|4}}{{fbaicon|ARG}} '''[[Boca Juniors]]''' {{pso}}|0|1|'''1 (4)'''|{{RDseed|1}}{{fbaicon|BRA}} [[Sociedade Esportiva Palmeiras|Palmeiras]]|0|1|'''1 (2)'''
||{{RDseed|8}}{{fbaicon|BRA}} '''[[Fluminense FC|Fluminense]]'''|2|2|'''4'''|{{RDseed|7}}{{fbaicon|BRA}} [[Sport Club Internacional|Internacional]]|2|1|'''3'''
<!--Final-->
|4 November – [[Maracanã Stadium|Rio de Janeiro]]|{{RDseed|4}}{{fbaicon|ARG}} [[Boca Juniors]]|||1|{{RDseed|8}}{{fbaicon|BRA}} '''[[Fluminense FC|Fluminense]]''' {{aet}}|||'''2'''}}
[[User:KyleRGiggs|KyleRGiggs]] ([[User talk:KyleRGiggs|talk]]) 08:21, 18 July 2024 (UTC)
:Can you elaborate? What got worse? Worse than what? [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 21:26, 21 July 2024 (UTC)
::I don't know how to elaborate but [[User:CodeMars04|CodeMars04]] said very clearly in his edit summary, I will quote it. {{quote|…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.}} [[User:KyleRGiggs|KyleRGiggs]] ([[User talk:KyleRGiggs|talk]]) 17:34, 22 July 2024 (UTC)
:::I think I resolved the issue by increasing the team-width parameter from 180px to 215. [[User_talk:Blaixx|<b style="color: #329604">B</b><b style="color: #FD8F42">L</b><b style="color: #0096FF">A</b><b>IXX</b>]] 20:17, 22 July 2024 (UTC)
== Using RDseed with long names? ==
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 {{tl|RDseed}} template, even with {{tl|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. [[User:JalenFolf|<span style="font-size:1.2em;font-family:eurofurence;background:#368ec9;color:white">Jalen Folf</span>]] [[User talk:JalenFolf|<span style="background:#6babd6;color:black">(Bark[s])</span>]] 18:56, 21 July 2024 (UTC)
:Scratch that. I figured it out using the team-width parameter, as described in the RDseed documentation. [[User:JalenFolf|<span style="font-size:1.2em;font-family:eurofurence;background:#368ec9;color:white">Jalen Folf</span>]] [[User talk:JalenFolf|<span style="background:#6babd6;color:black">(Bark[s])</span>]] 20:28, 21 July 2024 (UTC)
{{#invoke:RoundN|N8
|RD1=Round 1
|skipmatch2=yes
|skipmatch4=yes
|bold_winner=high
|team-width=auto
<!--Round One-->
|July 6 – [[Tony's Pizza Events Center]]|{{RDseed|5}}{{nowrap|Southwest Kansas Storm}}|35|{{RDseed|3}}Salina Liberty|41
|||||
|July 5 – [[Kia Center]]|{{RDseed|6}}Nashville Kats|62|{{RDseed|4}}Orlando Predators|32
|||||
|July 13 – [[MVP Arena]]|{{RDseed|3}}Salina Liberty|59|{{RDseed|2}}Albany Firebirds|80
|{{nowrap|July 13 – MetraPark [[First Interstate Arena]]}}|{{RDseed|6}}Nashville Kats|32|{{RDseed|1}}Billings Outlaws|35
|July 19 – [[American Dream Meadowlands|American Dream Center]]|{{RDseed|2}}Albany Firebirds|41|{{RDseed|1}}Billings Outlaws|46
}}
::{{ping|JalenFolf}} {{TL|RDseed}} may not go within {{TL|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 <code><nowiki>|team-width=auto </nowiki></code> 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 <code>auto</code> to some integer that works better (170 is the default width). Does this work for you? [[User:Zinnober9|Zinnober9]] ([[User talk:Zinnober9|talk]]) 21:12, 21 July 2024 (UTC)
== omit_label for consolation matches ==
I noticed that that using <code>omit_label</code> works for regular headings, but for consolation matches it results in an error. Is there any way this could be resolved? Thanks, [[User:S.A. Julio|S.A. Julio]] ([[User talk:S.A. Julio#top|talk]]) 03:07, 6 September 2024 (UTC)
|