Skip to content

feat(Infobox): add new params to brawlstars Infobox/Unit - #7861

Open
PolandBot wants to merge 12 commits into
Liquipedia:mainfrom
PolandBot:patch-11
Open

feat(Infobox): add new params to brawlstars Infobox/Unit#7861
PolandBot wants to merge 12 commits into
Liquipedia:mainfrom
PolandBot:patch-11

Conversation

@PolandBot

@PolandBot PolandBot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

We want to fully rework Brawler pages since more new countributors care about keeping this pages updated and actual. Now infobox supports many new params. (I looked at MLBB pages)
In total added support for:
Class |class=
Rarity |rarity=
Voice Actor(s) + flag(s) |voiceX=|voiceXflag=
Price |price=
Win Rate (Fully automatic)
Traits |trait=
Buffies |buffies=

How did you test this change?

dev
https://liquipedia.net/brawlstars/Byron - for all params and Esports Statistics
https://liquipedia.net/brawlstars/Module:BrawlerWinLoss
https://liquipedia.net/brawlstars/Brawl_Stars_Championship/2026/Chinese_Mainland/Finals - for new LPDB map extradata

@PolandBot
PolandBot requested review from a team as code owners July 27, 2026 14:57
Comment thread lua/wikis/brawlstars/MatchGroup/Input/Custom.lua

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it all have to be in infobox?
infoboxes are way too big already ...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think yes, like it's not the biggest infobox I've seen at all

@steve020607 steve020607 Jul 28, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imo should be fine though, it's having quite same height as #mobilelegends infobox

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tend to agree with hjp
not a good reason to make it even larger

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be quite the same with MLBB and LoL

Comment thread lua/wikis/brawlstars/MatchGroup/Input/Custom.lua Outdated

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tend to agree with hjp
not a good reason to make it even larger

Comment thread lua/wikis/brawlstars/Infobox/Unit/Brawler/Custom.lua
Comment thread lua/wikis/brawlstars/Infobox/Unit/Brawler/Custom.lua Outdated
Comment on lines +101 to +107
for voiceActorKey, voiceActor in Table.iter.pairsByPrefix(args, 'voice', {requireIndex = false}) do
local flag = args[voiceActorKey .. 'flag']
if flag then
voiceActor = Flags.Icon{flag = flag} .. ' ' .. voiceActor
end
table.insert(voiceActors, voiceActor)
end

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getAllArgsForBase

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to add this but not sure if it works clean

@PolandBot
PolandBot requested a review from hjpalpha July 31, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants