Module talk:Build bracket

Line issue
I’ve noticed there is a line issue for this bracket. Not sure how this happened. Alextigers (talk) 07:23, 16 September 2022 (UTC)
 * Were you viewing from a mobile device? – Pbrks (t • c) 17:18, 16 September 2022 (UTC)

Before it was both but It seems to be fixed now, thank you. Alextigers (talk) 00:31, 17 September 2022 (UTC)

"Lua error in Module:Build_bracket at line 1000: attempt to index field '?' (a nil value)."
Seems to be appearing in lots of articles such as 1992 Davis Cup Americas Zone Group II * Pppery * it has begun...  13:00, 24 October 2022 (UTC)
 * Should be fixed. Thanks! – Pbrks (t • c) 23:11, 24 October 2022 (UTC)

Bolding series leader before actual winner is determined
I noticed that for best-of-x series, the team that is leading is automatically bolded even if the series is still ongoing. Is there a way to prevent this? Not all usages of this template are for tournaments which are already finished. Howard the Duck (talk) 20:33, 6 December 2022 (UTC)


 * I realize "boldwinner" sorta does this but it turns off the feature for the entire template and not just one round or series. Howard the Duck (talk) 20:35, 6 December 2022 (UTC)
 * This seems to be an issue with using y. I'll work on a fix. – Pbrks (t • c) 21:57, 6 December 2022 (UTC)
 * I suppose it has to be  for currently ongoing series for emphasis. Howard the Duck (talk) 08:03, 7 December 2022 (UTC)

I believe it is fixed. Let me know if you see any issues. – Pbrks (t • c) 16:33, 21 December 2022 (UTC)


 * Mmmmm. I don't have currently pending articles on my watchlist that have pending playoff series that show each game result on the template (all have finished), but ones that just lists the number of wins (see 2022 NBA Playoffs for an example), these are still be bolded even if there is no winner yet. Howard the Duck (talk) 23:57, 22 December 2022 (UTC)

Bolding winners of penalty shoot-outs
Is there any way the module could automatically bold the winner of a penalty shoot-out when  is set? I believe Module:RoundN does this by ignoring any brackets in the score parameters. S.A. Julio (talk) 01:50, 18 December 2022 (UTC)
 * Yes, I'll look into adding that. – Pbrks (t • c) 07:12, 21 December 2022 (UTC)

Implemented. Let me know if you see any issues. – Pbrks (t • c) 18:39, 22 December 2022 (UTC)


 * Great, thank you! One other question, would it be possible to not bold text inside brackets/parentheses of the team parameter when  is set? This was  at Module:Team bracket, so text such as "(a.e.t.)" does not get bolded when included after the name of the winning team. S.A. Julio (talk) 19:21, 22 December 2022 (UTC)
 * Sorry, forgot to ping, would this be possible? Thanks, S.A. Julio (talk) 18:43, 4 February 2023 (UTC)
 * Yes, I'll look into it. – Pbrks (t • c) 19:47, 5 February 2023 (UTC)

Sorry for the extreme delay. It should be implemented now. Let me know if you see any issues. – Pbrks (t • c) 22:33, 27 June 2023 (UTC)

"Lua error in Module:Build_bracket at line 984: attempt to index field '?' (a nil value)."
At ESL One Cologne 2019 * Pppery * it has begun... 15:05, 31 December 2022 (UTC)

parameter cross
hi, i found the problem when the -cross parameter is used.

Quri.inka (talk) 19:32, 8 January 2023 (UTC)

Custom width for legs vs. aggregate
For the cells containing scores, would there be any way to allow for custom widths for the legs, and a different width for the aggregate? For example see the bracket below, I was wondering if there would be a way to have a small width for each leg, and a larger width for the aggregate score. Any help would be greatly appreciated. Thanks, S.A. Julio (talk) 01:23, 10 February 2024 (UTC)


 * Done. score-width will still change the aggregate box width, unless agg-width is used. I added 50px to the above template to demonstrate. – Pbrks (t·c) 01:47, 10 February 2024 (UTC)
 * Great, thanks! A minor detail, but if some of the rounds are single leg, could there be a way to allow for its score box to match the aggregate width? For example, in the above bracket, could the final score width be set as 40px, while not impacting the width of the legs? Thanks, S.A. Julio (talk) 22:49, 10 February 2024 (UTC)
 * I see what you mean. I'll look into what the best solution is. – Pbrks (t·c) 03:34, 11 February 2024 (UTC)

Boldwinner in non-numeral matches and exception with seed cell
Hello! In tennis, some matches can be won by walkover. So, there is no numeral to calculate which cell will be bold. So if this happens, no cells get bold, and I need to do this manually. Is there any way out for cases like this?

Second topic: when a team wins the match in boldwinner, the seed, team and score cells are in bold. Is there a way to create an exception, and the winner's seed cell does not change to bold? Rafaelfdc (talk) 22:16, 7 July 2024 (UTC)

Hide the header and its content
Hi! When inserting e.g. Template:8TeamBracket-info and setting the "paramstyle=numbered" parameter, a problem occurs that it is impossible to bypass the cells for the fifth place/Lower round 2 when I want to insert teams only in the third place match. Is there any way to improve this, for example to turn off the display of "Lower round 2" and have the content displayed in the third place match field? It works when I add "|" five times, however it is very tedious.Mateusz.ns (talk) 12:25, 8 July 2024 (UTC)

Example to illustrate (without 10x"|"):

Example to illustrate (after adding 5x"|" after semi-finals):

Mateusz.ns (talk) 12:25, 8 July 2024 (UTC)
 * No, sorry, the amount of work to add that feature would not be worth the few "|" that can just be put in, and I do not have time to invest in it at the moment. – Pbrks ( t·c )
 * Also, you should be aware that changes to underlying templates can significantly change "numbered" brackets. For example, suppose the 5th place match wasn't in the code of 8TeamBracket-info, and you created a "numbered" style bracket with a 3rd place match. Then, if a 5th place match is added into the code, all of the "numbered" style brackets would have the 3rd place match moved to the 5th place match. For that reason, its best to use the  format. – Pbrks ( t·c ) 03:46, 9 July 2024 (UTC)

Additional functions
A few more questions from me :) because we are trying to implement the module on a large scale in pl.wiki and replace all other templates with it. Thank you very much for the previous answers! Mateusz.ns (talk) 13:57, 11 July 2024 (UTC)
 * 1) Is it possible to selectively use the "aggregate" parameter? There are situations when it is needed to be used in a specific round or only in the match for 3rd place. At this point, the field with the collective result appears in all cells or in none of them.
 * 2) How to change the color of the "aggregate" field? Alternatively, how to thicken the left border? I'm asking because at the moment this field is very poorly distinguished from the others.