Module talk:Build bracket

Latest comment: 2 months ago by Pbrks in topic Custom width for legs vs. aggregate

Line issue edit

I’ve noticed there is a line issue for this bracket. Not sure how this happened. Alextigers (talk) 07:23, 16 September 2022 (UTC)Reply

@Alextigers: Were you viewing from a mobile device? – Pbrks (t • c) 17:18, 16 September 2022 (UTC)Reply

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

"Lua error in Module:Build_bracket at line 1000: attempt to index field '?' (a nil value)." edit

Seems to be appearing in lots of articles such as 1992 Davis Cup Americas Zone Group II @Pbrks: * Pppery * it has begun... 13:00, 24 October 2022 (UTC)Reply

Should be fixed. Thanks! – Pbrks (t • c) 23:11, 24 October 2022 (UTC)Reply

Bolding series leader before actual winner is determined edit

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

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)Reply
@Howard the Duck: This seems to be an issue with using |autolegs=y. I'll work on a fix. – Pbrks (t • c) 21:57, 6 December 2022 (UTC)Reply
I suppose it has to be autolegs=n for currently ongoing series for emphasis. Howard the Duck (talk) 08:03, 7 December 2022 (UTC)Reply

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

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

Bolding winners of penalty shoot-outs edit

Is there any way the module could automatically bold the winner of a penalty shoot-out when boldwinner 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)Reply

@S.A. Julio: Yes, I'll look into adding that. – Pbrks (t • c) 07:12, 21 December 2022 (UTC)Reply

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

Great, thank you! One other question, would it be possible to not bold text inside brackets/parentheses of the team parameter when |boldwinner=high is set? This was recently implemented 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)Reply
@Pbrks: Sorry, forgot to ping, would this be possible? Thanks, S.A. Julio (talk) 18:43, 4 February 2023 (UTC)Reply
@S.A. Julio: Yes, I'll look into it. – Pbrks (t • c) 19:47, 5 February 2023 (UTC)Reply

@S.A. Julio: 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)Reply

"Lua error in Module:Build_bracket at line 984: attempt to index field '?' (a nil value)." edit

At ESL One Cologne 2019#Asian qualifier * Pppery * it has begun... 15:05, 31 December 2022 (UTC)Reply

parameter cross edit

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

Round 1QuarterfinalsSemifinalsFinal

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

Custom width for legs vs. aggregate edit

@Pbrks: 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)Reply

QuarterfinalsSemifinalsFinal
@S.A. Julio: Done. |score-width= will still change the aggregate box width, unless |agg-width= is used. I added |agg-width=50px to the above template to demonstrate. – Pbrks (t·c) 01:47, 10 February 2024 (UTC)Reply
@Pbrks: 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)Reply
@S.A. Julio: I see what you mean. I'll look into what the best solution is. – Pbrks (t·c) 03:34, 11 February 2024 (UTC)Reply