Module:RoundN is permanently
protected from editing because 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". |
Two byes to a match leave a black line to the next round, see
Quarter-finals | Semi-finals | Final | ||||||||
Day 2 | ||||||||||
C | ||||||||||
D | ||||||||||
tdb | ||||||||||
A | ||||||||||
tdb | ||||||||||
A | ||||||||||
tdb | ||||||||||
A | ||||||||||
Day 1 | ||||||||||
A | 7 | |||||||||
B | 5 | |||||||||
- Koppapa ( talk) 11:25, 6 January 2015 (UTC)
Done @ Koppapa: Ha, I had actual set up my code to detect when both matches are skipped so I could remove the line. Silly me forgot to implement it! Good catch! Anyhow, while I was at it, I came up with a neat shorthand for skipmatch and also extended it beyond the first round. See Module talk:RoundN/testcases/3. Thanks again! — Code Hydro 03:44, 8 January 2015 (UTC)
@ Codehydro: It looks quite good to me. I haven't seen, that somebody would use colors, but ok - as a feature it is ok. You could get some input from WT:FOOTIE, as those templates are usually used by them. -- Edgars2007 ( talk/ contribs) 09:15, 3 January 2015 (UTC)
RoundN is intended to replace templates like Template:Round16 which never used seeds. For seeds, use
Module:TeamBracket. While it's hardly a challenge to add them, my thinking is that adding a check for seeds is more of a performance drag than helpful since there is already a module that supports them. As much as I want to make accommodate every possible need, the fact is too many features will slow down the module. Slow module = more servers resources used = more ad campaigns for donations = less pleasant wiki and slower page loads. Yes, this module does fancy things that Team bracket currently can't, like auto-bolding and score-summing, but these features save server resources because the mediawiki engine no longer has to parse wikibold markup in each parameter and Lua is more efficient at string processing. (If you want these features with seeds, let TeamBracket's programmers know that they may use RoundN's score cleaning/processing functions by adding require('Module:RoundN').scoreWasher
to their code.) —
Code
Hydro
17:08, 27 January 2015 (UTC)
Could it be possible to reduce a line the distance between the title of the rounds and the first match box? There is too much space between both. Asturkian ( talk) 08:00, 29 January 2015 (UTC)
BTW, you should add in the documentation, the information about |score-boxes=
and the possibility of 2+sum.
Asturkian (
talk)
09:09, 29 January 2015 (UTC)
<span />
as the first date parameter, which would minimize the size of the first date row. As for documenting the +sum
switch, that is a beta feature which is not officially released. The documentation will be updated when Beta goes live. —
Code
Hydro
12:49, 24 March 2015 (UTC)Used it here. It bolds ½ over 1½. Is there a way to change that automatically? Or is manually bolding the way to go? If non-numbers are removes, shouldn't be 1 be bold over nothing? - Koppapa ( talk) 17:07, 17 March 2015 (UTC)
Hello again. I was trying to export this module to the 2014–15 LKL season article (for making a 5-5-7 playoffs) and I found the third place series are not well displayed. Is there any way to fix it? Asturkian ( talk) 21:17, 19 April 2015 (UTC)
@ Codehydro: Hi, I know you are probably busy but is there a way to display only one team in a node at the same time you have scoreboxes? It does not seem to work when testing in User:Qed237/sandbox5. On WT:FOOTY It was requested a bracket that involves teams that can play after being eliminated. Qed237 (talk) 13:53, 6 July 2015 (UTC)
Are there any plans to add support for two-legged knock out rounds? TheBigJagielka ( talk) 12:49, 30 October 2015 (UTC)
Quarter-finals | Semi-finals | Final | ||||||||||||||
Day 1 | ||||||||||||||||
Team A | 7 | 2 | 9 | |||||||||||||
Day 5 | ||||||||||||||||
Team B | 5 | 3 | 8 | |||||||||||||
Team A | 3 | 2 | 5 | |||||||||||||
Day 2 | ||||||||||||||||
Team C | 0 | 2 | 2 | |||||||||||||
Team C | 4 | 1 | 5 | |||||||||||||
Day 7 | ||||||||||||||||
Team D | 0 | 0 | 0 | |||||||||||||
Team A | 2 | |||||||||||||||
Day 3 | ||||||||||||||||
Team G | 5 | |||||||||||||||
Team E | 0 | 2 | 2 | |||||||||||||
Day 6 | ||||||||||||||||
Team F | 5 | 3 | 8 | |||||||||||||
Team F | 1 | 1 | 2 | |||||||||||||
Day 4 | ||||||||||||||||
Team G | 2 | 1 | 3 | |||||||||||||
Team G | 2 | 1 | 3 | |||||||||||||
Team H | 1 | 1 | 2 | |||||||||||||
Just use |score-boxes=2+sum
. Was that what you had in mind?
Qed237
(talk)
13:29, 30 October 2015 (UTC)
I was looking to update the bracket on the 2015 Canadian Championship, merging two templates into one.
From this:
Preliminary Round | ||||||
FC Edmonton | 3 | 3 | 6 | |||
Ottawa Fury FC | 1 | 1 | 2 |
Semifinals | Final | ||||||||||||
1 | Vancouver Whitecaps FC | 1 | 2 | 3 | |||||||||
4 | FC Edmonton | 1 | 1 | 2 | |||||||||
1 | Vancouver Whitecaps FC | 2 | 2 | 4 | |||||||||
3 | Montreal Impact | 2 | 0 | 2 | |||||||||
2 | Toronto FC | 0 | 3 | 3 | |||||||||
3 | Montreal Impact | 1 | 2 | 3 |
To this:
Preliminary Round | Semifinals | Final | ||||||||||||||
1
Vancouver Whitecaps FC | 1 | 2 | 3 | |||||||||||||
4
FC Edmonton | 1 | 1 | 2 | |||||||||||||
FC Edmonton | 3 | 3 | 6 | |||||||||||||
Ottawa Fury FC | 1 | 1 | 2 | |||||||||||||
1
Vancouver Whitecaps FC | 2 | 2 | 4 | |||||||||||||
3
Montreal Impact | 2 | 0 | 2 | |||||||||||||
2
Toronto FC | 0 | 3 | 3 | |||||||||||||
3
Montreal Impact (
a) | 1 | 2 | 3 | |||||||||||||
There are two issues; I don't know how to make the league position (the left hand box) appear or know how to embolden the 'sum' for the semi-final winner on away goals.
TheBigJagielka (
talk)
14:05, 30 October 2015 (UTC)
@ Codehydro: Hello, as I was converting the tournament bracket of UEFA Euro 1968 to use this module, I noticed that the third place match box seems to be shifted to the left of where is usually is located, after I had added "score-boxes" to display the final replay score. Am I doing something incorrectly, or is there an issue with the module? The problem seems to get worse with tournaments of more than four teams (see below). S.A. Julio ( talk) 22:34, 19 February 2017 (UTC)
Semi-finals | Final | |||||||
5 June – Naples | ||||||||
Italy ( coin toss) | 0 | |||||||
8 and 10 June – Rome | ||||||||
Soviet Union | 0 | |||||||
Italy | 1 | 2 | ||||||
5 June – Florence | ||||||||
Yugoslavia | 1 | 0 | ||||||
Yugoslavia | 1 | |||||||
England | 0 | |||||||
Third place play-off | ||||||||
8 June – Rome | ||||||||
England | 2 | |||||||
Soviet Union | 0 |
Quarter-finals | Semi-finals | Final | |||||||||||
5 June – Naples | |||||||||||||
Italy | 1 | ||||||||||||
5 June – Naples | |||||||||||||
Zimbabwe | 0 | ||||||||||||
Italy ( coin toss) | 0 | ||||||||||||
5 June – Naples | |||||||||||||
Soviet Union | 0 | ||||||||||||
Mexico | 0 | ||||||||||||
8 and 10 June – Rome | |||||||||||||
Soviet Union | 2 | ||||||||||||
Italy | 1 | 2 | |||||||||||
5 June – Florence | |||||||||||||
Yugoslavia | 1 | 0 | |||||||||||
Yugoslavia | 3 | ||||||||||||
5 June – Florence | |||||||||||||
Australia | 0 | ||||||||||||
Yugoslavia | 1 | ||||||||||||
5 June – Florence | |||||||||||||
England | 0 | Third place play-off | |||||||||||
Argentina | 0 | ||||||||||||
8 June – Rome | |||||||||||||
England | 1 | ||||||||||||
England | 2 | ||||||||||||
Soviet Union | 0 | ||||||||||||
Semi-finals Final 5 June – Naples Italy ( coin toss) 0 8 and 10 June – Rome Soviet Union 0 Italy 1 (2) 5 June – Florence Yugoslavia 1 (0) Yugoslavia 1 England 0 Third place play-off 8 June – Rome England 2 Soviet Union 0
Does this work for you? — Code Hydro 20:12, 21 February 2017 (UTC)
Semi-finals | Final | |||||||||
5 June – Naples | ||||||||||
Canada | 2 | 2 | 4 | |||||||
8 and 10 June – Rome | ||||||||||
Angola | 0 | 1 | 1 | |||||||
Canada | 1 | 2 | 3 | |||||||
5 June – Florence | ||||||||||
Argentina | 1 | 0 | 1 | |||||||
Argentina | 1 | 4 | 5 | |||||||
Australia | 0 | 2 | 2 | |||||||
Third place play-off | ||||||||||
8 June – Rome | ||||||||||
Angola | 2 | 2 | 4 | |||||||
Australia | 0 | 2 | 2 |
Semi-finals Final 5 June – Naples Italy ( coin toss) 0 8 June / 10 June – Rome Soviet Union 0 Italy 1 / 2 5 June – Florence Yugoslavia 1 / 0 Yugoslavia 1 England 0 Third place play-off 8 June – Rome England 2 Soviet Union 0
@Codehydro Can you add an option to add an alternate name for the Final, similar to |Consol= ? I'd like to change the name of the Final to 'Gold Medal Match' but I can't see a way to do this. 09:04, 21 May 2018 (UTC)
I edited Module:RoundN twice. The first was to clean whitespace and remove some of the globals which I assume were unintended. The second was to fix a problem in several articles which were showing Lua error in Module:RoundN at line 282: bad argument #2 to 'format' (no value). The articles follow. These had problems because they have (I think) broken wikitext, namely an odd number of occurrences of ''' (triple apostrophe). Someone familiar with the topic might like to fix them.
Re the first edit: I did not fix the following because I couldn't quickly work out what was wanted. They should be investigated. The remaining globals are: fontSize
+ nonFunc
+ text
(at rowspan = m.r + 9 - rows - (text and 0 or 2),
).
Re the second edit: The original had some problems which meant that replacing '''example''' with <b>example</b> was not occurring. When it was attempted (due to broken wikitext in the above articles), the runtime error occurred. The code is quite complex—please check what I did! Johnuniq ( talk) 09:13, 14 August 2018 (UTC)
@
Johnuniq: Thanks for working on RoundN! I think this was my 3rd Lua module and I am pretty sure I didn't even know that making function local was a thing at the time (FYI, I hadn't even heard of Lua just 6 weeks prior to when I stopped working on RoundN in Jan 2015). I agree that making those functions local sounds like a good idea.
As for your changes around the line That said, non-working bolding is better than the error that was there before, so good job restoring partial functionality while I was MIA :) It's fixed now. — Code Hydro 23:32, 8 September 2018 (UTC) |
'''
as valid bolding I suppose that is ok, but my humble opinion is that it would be better to throw an error or put the article in a hidden category so the broken wikitext can be fixed. The purpose of my edit was to remove a problem, but while doing that I chose to only replace '''
if there were exactly two occurrences as a quick workaround. Anyway, that's up to you.You may not be aware that the global variables I mentioned are almost certainly bugs that need to be fixed. I can explain more if you like, but searching for each will show places where they would give nil
as an uninitialized global. I could take a stab at fixing a couple of them but it would take longer than I have to work out the underlying intention regarding what should happen.
Johnuniq (
talk)
01:30, 9 September 2018 (UTC)
"previewnumbers" do not work, the template claims that match 1 is match 2, match 2 is match 3 and then it continues. Instead, the number 1 ("match 1") is next to the headings. DenSportgladeSkåningen ( talk) 18:23, 17 August 2018 (UTC)
The following code combinations do not display correctly:
{{#invoke:RoundN|N8|score-boxes=0|3rdplace=yes}} {{#invoke:RoundN|N4|score-boxes=0|3rdplace=yes}}
I'm not yet skilled enough with Lua to make the correction myself. Can somebody help? chi ( talk) 15:40, 23 August 2018 (UTC)
score-boxes
is used to determine how many cells are needed for the score. For early Olympic wrestling, and perhaps other sports, there was no score at all so I've used score-boxes=0
. This works fine except for the 3rd place match of 4- or 8-teams competitions:Semi-finals | Final | |||
Third place | ||||
Hi - It appears that the bold lines connecting any two matches starts from either slightly above or below the middle of the box, and then enters slightly above or below the middle of the box it's connecting to. How easy is this to fix? M00036 ( talk) 14:40, 7 January 2019 (UTC)
Hi, everyone. How can I use this module in the right to left WIKIs such as azb.wikipedia.org? I have created a copy of this module in azb but I have a small problem with this module in our wiki and It is the float of the Brackets' connector lines. All the vertical lines have stood on the right side of connectors, and I could not move these lines to the left side of connectors. For example please check here to understand clearly my issue. I am thankful for your guidance: Ziraksima ( talk) 11:24, 17 January 2019 (UTC)
If you use |score-boxes=2+sum, you don't have the option to add penalties result to the sum box. Alternatively, you can display penalties' result between parenthesis on the second leg box but the sum won't work (e.g. |1 |1 (4) would display 15 on the sum box because 1+14=15). A.Caseiro ( talk) 19:43, 23 February 2019 (UTC)
score-boxes=3
and do the math manually, e.g. |1 |1 (4)|6
. If you want a different width sum box then use something like score-width=30;30;50
—
Code
Hydro
03:38, 14 May 2019 (UTC)If the top match in the first round is a bye, there is a larger than normal spacing between the top of the knock-out bracket and the round descriptors... M00036 ( talk) 14:48, 11 March 2019 (UTC)
Cambs. & Hunts. County Knockout | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
M00036 ( talk) 07:16, 15 May 2019 (UTC)
flex_tree=yes
and added
to all but top one. I also added bold_winner=high
because... why do it manually? See
edit history —
Code
Hydro
21:54, 16 May 2019 (UTC)
|
May 2019 . | Schapiro Spring Foursomes | National Knockout (Congress) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Schapiro Spring Foursomes - May 2019 | . | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
M00036 ( talk) 13:12, 21 May 2019 (UTC)
I created a compilation in Swedish wikipedia about the qualification for the 2017 World Beach Football Championship. But I chose to remove the final, as both finalists are qualified for the World Championship. This means that the title "bronze match" is not in place, see examples here (on svwp). It is the same in English wikipedia, as you can see in my sandbox. DenSportgladeSkåningen ( talk) 12:37, 16 April 2019 (UTC)
|
Width cannot be specified with em value in the team-width
and score-width
parameters. Since the em value is useful for specifying width in number of characters, I would like you to be able to specify the width with the em value. --
Nekohan (
talk)
17:07, 10 June 2020 (UTC)
A discussion is taking place to address the redirect Template:RoundN. The discussion will occur at Wikipedia:Redirects for discussion/Log/2021 February 10#Template:RoundN until a consensus is reached, and readers of this page are welcome to contribute to the discussion. Hhkohh ( talk) 19:26, 10 February 2021 (UTC)
In the 1926 JBUs Pokalturnering, both a first and second round bye was issued to two different teams. While the actual teams getting byes are not displayed in the knock-out bracket, a visual line between the first round match and third round match (involving the second team getting a bye) should be displayed. Any ideas to how can this be made possible? Froztbyte ( talk) 13:21, 21 February 2021 (UTC)
A suggestion for the |color
field:
Use it like bold_winner=
to color the winner, instead of in a predetermined order.
Current state:
|
Current state:
|
Wanted state:
|
Wanted state:
|
Wanted state:
|
Wanted state:
|
Wanted state:
|
Thanks. Deancarmeli ( talk) 10:16, 29 June 2021 (UTC) Edited. Deancarmeli ( talk) 10:18, 29 June 2021 (UTC)
I'm trying to get horizontal lines with RoundN (like here: 2013 World Snooker Championship#Main qualifying which currently uses a bespoke template) but haven't found anything. Best I can do is:
Round of 32 | Round of 16 | Quarter-finals | Semi-finals | |||||||||||
Ryan Day | 9 | |||||||||||||
Ben Woollaston | 10 | |||||||||||||
Ben Woollaston | 10 | |||||||||||||
Thepchaiya Un-Nooh | 3 | |||||||||||||
Gerard Greene | 4 | |||||||||||||
Thepchaiya Un-Nooh | 10 | |||||||||||||
Thepchaiya Un-Nooh | 10 | |||||||||||||
Scott Donaldson | 6 | |||||||||||||
Andrew Higginson | 4 | |||||||||||||
Michael White | 10 | |||||||||||||
Michael White | 10 | |||||||||||||
Zhang Anda | 5 | |||||||||||||
Cao Yupeng | 7 | |||||||||||||
Zhang Anda | 10 | |||||||||||||
Zhang Anda | 10 | |||||||||||||
Passakorn Suwannawat | 6 | |||||||||||||
Any ideas? Nigej ( talk) 10:16, 16 December 2021 (UTC)
|
|
Hey there! I'm currently doing a playoff bracket wherein after the Round of 16, would go on to two Rounds of 8 and then would proceed to the Semis and Grand Finals. Can I possibly know what feature I can add to the bracket that will allow me to show Two Rounds of 8?
Round of 16 | Quarter-finals | Semi-finals | Final | |||||||||||
November 28, 2021 Bo3 series | ||||||||||||||
EVOS Legends | 0 | |||||||||||||
2 | ||||||||||||||
Alter-Ego | 2 | |||||||||||||
November 29, 2021 Bo3 series | Alter-Ego | |||||||||||||
November 27, 2021 Bo3 series | ||||||||||||||
2 | Genflix Aerowolf | |||||||||||||
Omega Esports | 0 | |||||||||||||
2 | ||||||||||||||
Genflix Aerowolf | ||||||||||||||
2 | ||||||||||||||
November 27, 2021 Bo3 series | Bigetron Alpha | |||||||||||||
0 | ||||||||||||||
0 | Geek Fam | |||||||||||||
November 29, 2021 Bo3 series | Geek Fam | |||||||||||||
2 | ||||||||||||||
2 | Blacklist International | |||||||||||||
November 28, 2021 Bo3 series | RSG Singapore | |||||||||||||
1 | Blacklist International | |||||||||||||
2 | ||||||||||||||
November 28, 2021 Bo3 series | Aura Fire | |||||||||||||
0 | ||||||||||||||
1 | Aura PH | |||||||||||||
November 29, 2021 Bo3 series | Aura PH | |||||||||||||
2 | ||||||||||||||
2 | ONIC Philippines | |||||||||||||
November 27, 2021 Bo3 series | ONIC Esports | |||||||||||||
1 | ONIC Philippines | |||||||||||||
2 | ||||||||||||||
November 28, 2021 Bo3 series | Orange Louvre Esports | |||||||||||||
1 | ||||||||||||||
1 | EVOS SG | |||||||||||||
November 29, 2021 Bo3 series | EVOS SG | |||||||||||||
2 | ||||||||||||||
1 | Ronin Esports | |||||||||||||
November 27, 2021 Bo3 series | Execration | |||||||||||||
1 | Ronin Esports | |||||||||||||
talk 01:56, 30 December 2021 (UTC)
Round of 16 | Quarter-finals | Semi-finals | Final | |||||||||||
Date_A | ||||||||||||||
Team_A1 | 1 | |||||||||||||
Date_I | ||||||||||||||
Team_A2 | 2 | |||||||||||||
Team_I1 | 17 | |||||||||||||
Date_B | ||||||||||||||
Team_I2 | 18 | |||||||||||||
Team_B1 | 3 | |||||||||||||
Date_M | ||||||||||||||
Team_B2 | 4 | |||||||||||||
Team_M1 | 25 | |||||||||||||
Date_C | ||||||||||||||
Team_M2 | 26 | |||||||||||||
Team_C1 | 5 | |||||||||||||
Date_J | ||||||||||||||
Team_C2 | 6 | |||||||||||||
Team_J1 | 19 | |||||||||||||
Date_D | ||||||||||||||
Team_J2 | 20 | |||||||||||||
Team_D1 | 7 | |||||||||||||
Date_O | ||||||||||||||
Team_D2 | 8 | |||||||||||||
Team_O1 | 29 | |||||||||||||
Date_E | ||||||||||||||
Team_O2 | 30 | |||||||||||||
Team_E1 | 9 | |||||||||||||
Date_K | ||||||||||||||
Team_E2 | 10 | |||||||||||||
Team_K1 | 21 | |||||||||||||
Date_F | ||||||||||||||
Team_K2 | 22 | |||||||||||||
Team_F1 | 11 | |||||||||||||
Date_N | ||||||||||||||
Team_F2 | 12 | |||||||||||||
Team_N1 | 27 | |||||||||||||
Date_G | ||||||||||||||
Team_N2 | 28 | |||||||||||||
Team_G1 | 13 | |||||||||||||
Date_L | ||||||||||||||
Team_G2 | 14 | |||||||||||||
Team_L1 | 23 | |||||||||||||
Date_H | ||||||||||||||
Team_L2 | 24 | |||||||||||||
Team_H1 | 15 | |||||||||||||
Team_H2 | 16 | |||||||||||||
Deancarmeli ( talk) 07:31, 30 December 2021 (UTC)
Currently making a bracket with qf. How do you add a 2x-to-beat? Homaisyou100 ( talk) 14:44, 11 January 2022 (UTC)
It appears the orphan function is not working for the 2022 men's Olympic ice hockey bracket. Can someone offer guidance to help get it fixed? Taxman1913 ( talk) 07:54, 16 February 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
As soon as you add seeds, the line to the left for each entry becomes thicker. For instance as shown here (borrowed from DenSportgladeSkåningen above):
Semifinaler | Bronsmatch | |||||
B1
Brazil | 7 | |||||
A2
Argentina | 1 | |||||
A2
Argentina | 4 (0) | |||||
B2
Ecuador (
p) | 4 (1) | |||||
A1
Paraguay (
a.e.t.) | 5 | |||||
B2
Ecuador | 3 | |||||
In the Swedish Wiki I've adjusted the code to correct this. See how it looks like in svwp.
The code I changed was on row 833, where I changed -%s to -0.7ex. Perhaps it can be done in a better way, but this way I got it to work after testing around. May I propose you do the same change in enwp? Inno ( talk) 04:44, 22 May 2022 (UTC) Added edit request Inno ( talk) 18:34, 25 May 2022 (UTC)
{{#invoke:RoundN/sandbox|...}}
Semifinaler | Bronsmatch | |||||
B1
Brazil | 7 | |||||
A2
Argentina | 1 | |||||
A2
Argentina | 4 (0) | |||||
B2
Ecuador (
p) | 4 (1) | |||||
A1
Paraguay (
a.e.t.) | 5 | |||||
B2
Ecuador | 3 | |||||
I have no clue how the sandbox works. Obviously not well. Why not implement my proposed change to the template like I did in svwp? Works like a charm. The thicker border to the left is gone. Here's the link again. Inno ( talk) 04:38, 28 May 2022 (UTC)
Is it possible to do this using the RoundN module?
Qualifiers Dynamite (June 8, 2022) |
Final Forbidden Door (June 26, 2022) |
||||||
10:32 | |||||||
Pin | |||||||
MordecaiXLII ( talk) 13:45, 13 June 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The proposed change comes to address the color parameter functionality:
Current state, lines 652–656:
if m.showBox[m.phase] then p.teamBoxCSS = colorFinal and {border = p.teamBoxNormal.border, background = p.bgColor[m.phase + (col.show3rd or 0)]} or p.teamBoxNormal local f = {phase = m.phase, bold = m.bold.win(m.phase)}
Wanted state:
if m.showBox[m.phase] then if p.bold then if m.bold.win(m.phase) and colorFinal then color_index = 1 + (col.show3rd or 0) else color_index = 2 + (col.show3rd or 0) end p.teamBoxCSS = colorFinal and {border = p.teamBoxNormal.border, background = p.bgColor[color_index]} or p.teamBoxNormal else p.teamBoxCSS = colorFinal and {border = p.teamBoxNormal.border, background = p.bgColor[m.phase + (col.show3rd or 0)]} or p.teamBoxNormal end local f = {phase = m.phase, bold = m.bold.win(m.phase)}
CLalgo ( talk) 16:20, 21 June 2022 (UTC)
{{#invoke:RoundN/sandbox...
) to compare it with
your user sandbox (using {{#invoke:RoundN...
in preview) and saw the color switches in the second, third and fourth examples. So I've seen the changes your edit brings about, but how are these changes improvements over what the module presently produces?
P.I. Ellsworth ,
ed.
put'r there
11:41, 27 June 2022 (UTC)
|color = yes
, the module is hardcoded to color specific, predetermined cells in specific, predetermined colors regardless of input. If the brackets were made before the competition has ended, in all but one case their structure would have to be changed in order to use the color functionality correctly. With my change, the coloring wouldn't be hardcoded to specific cells, but would be done automatically to match the input.
CLalgo (
talk)
11:57, 27 June 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The proposed change comes to address the color parameter functionality, in Repechage cases were the winner of the brackets is awarded a bronze medal:
yes
and no
values.yes
, it is hardcoded to color the upper box of each match at the final stage of the brackets, which is usually 1, in bronze. That is, it works with the same logic as the color parameter.yes
while bold_winner is also set to yes
, the cells of the winners of each match at the final stage of the brackets, which is usually 1, are colored bronze.Proposed changes
|
---|
Changes to be done:
'color', '3rdplace',
'color', 'color_repechage', '3rdplace', Lines 534–535:
p.span = p.tCols > c and bump * 2 or p.branch_upwards or math.max((bump - 1) / 2, 2) col.show3rd = p['3rdplace'] and c == p.tCols and rowNum.third
p.span = p.tCols > c and bump * 2 or p.branch_upwards or math.max((bump - 1) / 2, 2) col.color_repechage = p['color_repechage'] and ((c == p.tCols) or ((c == p.tCols-1) and skipMatch[math.pow(2, p.tCols) - 1])) col.show3rd = p['3rdplace'] and c == p.tCols and rowNum.third Lines 652–665:
if m.showBox[m.phase] then if p.bold then if m.bold.win(m.phase) and colorFinal then color_index = 1 + (col.show3rd or 0) else color_index = 2 + (col.show3rd or 0) end p.teamBoxCSS = colorFinal and {border = p.teamBoxNormal.border, background = p.bgColor[color_index]} or p.teamBoxNormal else p.teamBoxCSS = colorFinal and {border = p.teamBoxNormal.border, background = p.bgColor[m.phase + (col.show3rd or 0)]} or p.teamBoxNormal
if m.showBox[m.phase] then if col.color_repechage then col.color_repechage = 2 end if p.bold then if m.bold.win(m.phase) and (colorFinal or col.color_repechage) then color_index = 1 + (col.show3rd or 0) + (col.color_repechage or 0) else color_index = 2 + (col.show3rd or 0) + (col.color_repechage or 0) end p.teamBoxCSS = (colorFinal or col.color_repechage) and {border = p.teamBoxNormal.border, background = p.bgColor[color_index]} or p.teamBoxNormal else p.teamBoxCSS = (colorFinal or col.color_repechage) and {border = p.teamBoxNormal.border, background = p.bgColor[m.phase + (col.show3rd or 0) + (col.color_repechage or 0)]} or p.teamBoxNormal |
– CLalgo ( talk) 09:54, 28 June 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Currently, when the color
parameter is used, the final match is colored even when empty. With the proposed change, when color
will be used with bold_winner
, the coloring will only be done when the matchboxes are no longer empty.
Lines 659–663:
if m.bold.win(m.phase) and (colorFinal or col.color_repechage) then color_index = 1 + (col.show3rd or 0) + (col.color_repechage or 0) else color_index = 2 + (col.show3rd or 0) + (col.color_repechage or 0) end
if m.bold.win(m.phase) and (colorFinal or col.color_repechage) then color_index = 1 + (col.show3rd or 0) + (col.color_repechage or 0) elseif m.bold.box[#m.nonEmpty] then color_index = 2 + (col.show3rd or 0) + (col.color_repechage or 0) else color_index = 4 end
CLalgo ( talk) 10:41, 30 June 2022 (UTC)
Hi there, the parameters color
and color_repechage
allow for the background of a cell to be colored in gold / silver / bronze. I was wondering whether these colors should perhaps be adjusted for accessibility as, for example, when visiting a red link, the contrast between the link and the bronze background (on a page such as
this one) is fairly low. If they need to be adjusted, some options (mentioned
here) could include: mandatory lighter colors or an option to make them available. Is this perhaps something to consider or are the current colors ok? Another option could be to only color the background of the cell with the score and leave the background of the athlete name "as is"?
Simeon (
talk)
19:51, 30 June 2022 (UTC)
Examples | AA Compliant | AAA Compliant | Ref. | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unvisited links | Unvisited links | Unvisited links | [2] | [3] | [4] | |||||||||
Visited links | Visited links | Visited links | [5] | [6] | [7] | |||||||||
Unvisited red-links | Unvisited red-links | Unvisited red-links | [8] | [9] | [10] | |||||||||
Visited red-links | Visited red-links | Visited red-links | [11] | [12] | [13] | |||||||||
No link | No link | No link | [14] | [15] | [16] |
Examples | AA Compliant | AAA Compliant | Ref. | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unvisited links | Unvisited links | Unvisited links | [17] | [18] | [19] | |||||||||
Visited links | Visited links | Visited links | [20] | [21] | [22] | |||||||||
Unvisited red-links | Unvisited red-links | Unvisited red-links | [23] | [24] | [25] | |||||||||
Visited red-links | Visited red-links | Visited red-links | [26] | [27] | [28] | |||||||||
No link | No link | No link | [29] | [30] | [31] |
Example 1 | example |
---|
Visited and unvisited redlinks are essentially impossible to make AAA compliant, as they are not AAA compliant against white backgrounds. However, we can (and need to per MOS:COLOR) make the colors AAA compliant and AA compliant where possible. Here is my proposal:
Examples | AA Compliant | AAA Compliant | Ref. | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unvisited links | Unvisited links | Unvisited links | [32] | [33] | [34] | |||||||||
Visited links | Visited links | Visited links | [35] | [36] | [37] | |||||||||
Unvisited red-links | Unvisited red-links | Unvisited red-links | [38] | [39] | [40] | |||||||||
Visited red-links | Visited red-links | Visited red-links | [41] | [42] | [43] | |||||||||
No link | No link | No link | [44] | [45] | [46] |
Frankly, I'd be fine with removing the color altogether, but I understand if people want them. Pinging previous participants @ Simeon, CLalgo, and Lil-unique1:, as this discussion has been stale for a few months. – Pbrks ( t • c) 14:46, 9 September 2022 (UTC)
This template really should be converted to make use of template styles, its reusing lots of style statements, and using template styles would reduce the size of the generated output significantly. If I can find some time, I'll attempt to have a go at it. — TheDJ ( talk • contribs) 14:30, 15 July 2022 (UTC)
Maybe I missed something, but node_function{orphan}
doesn't seem to work as it should. Look in
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.
DenSportgladeSkåningen (
talk)
07:01, 18 October 2022 (UTC)
--col.t and col.t2 control whether lines are drawn
but the code is really hard (for me) to understand!
BLAIXX
14:58, 23 February 2024 (UTC)any objections to adding automatic VTE links? with
Module:Sports table, you don't need to add the |name=
to tell the module the name of the parent, which reduces errors when the module/template is moved to a new location. we could still have the |template=
, but would not need the |name=
.
Frietjes (
talk)
16:12, 5 December 2022 (UTC)
per this discussion with 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 for a live example. Frietjes ( talk) 21:22, 21 December 2022 (UTC)
This
edit request has been answered. Set the |answered= or |ans= 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: [47] BLAIXX 01:04, 25 February 2024 (UTC)
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
Nacional | 1 | 1 | 2 (2) | |||||||||||||||||||
4
Boca Juniors (
p) | 1 | 1 | 2 (3) | |||||||||||||||||||
4
Boca Juniors (
p) | 0 | 0 | 0 (4) | |||||||||||||||||||
3
Racing | 0 | 0 | 0 (1) | |||||||||||||||||||
15
Atlético Nacional | 4 | 0 | 4 | |||||||||||||||||||
3
Racing | 2 | 3 | 5 | |||||||||||||||||||
4
Boca Juniors (
p) | 0 | 1 | 1 (4) | |||||||||||||||||||
1
Palmeiras | 0 | 1 | 1 (2) | |||||||||||||||||||
16
Deportivo Pereira | 1 | 1 | 2 | |||||||||||||||||||
6
Independiente del Valle | 0 | 1 | 1 | |||||||||||||||||||
16
Deportivo Pereira | 0 | 0 | 0 | |||||||||||||||||||
1
Palmeiras | 4 | 0 | 4 | |||||||||||||||||||
13
Atlético Mineiro | 0 | 0 | 0 | |||||||||||||||||||
4 November – Rio de Janeiro | ||||||||||||||||||||||
1
Palmeiras | 1 | 0 | 1 | |||||||||||||||||||
4
Boca Juniors | 1 | |||||||||||||||||||||
8
Fluminense (
a.e.t.) | 2 | |||||||||||||||||||||
12
Argentinos Juniors | 1 | 0 | 1 | |||||||||||||||||||
8
Fluminense | 1 | 2 | 3 | |||||||||||||||||||
8
Fluminense | 2 | 3 | 5 | |||||||||||||||||||
2
Olimpia | 0 | 1 | 1 | |||||||||||||||||||
10
Flamengo | 1 | 1 | 2 | |||||||||||||||||||
2
Olimpia | 0 | 3 | 3 | |||||||||||||||||||
8
Fluminense | 2 | 2 | 4 | |||||||||||||||||||
7
Internacional | 2 | 1 | 3 | |||||||||||||||||||
9
Bolívar (
p) | 3 | 0 | 3 (5) | |||||||||||||||||||
5
Athletico Paranaense | 1 | 2 | 3 (4) | |||||||||||||||||||
9
Bolívar | 0 | 0 | 0 | |||||||||||||||||||
7
Internacional | 1 | 2 | 3 | |||||||||||||||||||
14
River Plate | 2 | 1 | 3 (8) | |||||||||||||||||||
7
Internacional (
p) | 1 | 2 | 3 (9) | |||||||||||||||||||
KyleRGiggs ( talk) 08:21, 18 July 2024 (UTC)
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.
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)
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 | |||||||||
|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)