Modül:Build bracket
local p = {}
local entries = {}
local pathCell = {}
local crossCell = {}
local skipPath = {}
local shift = {}
local hascross = {}
local teams_per_match = {}
local rlegs = {}
local maxlegs = {}
local autolegs
local byes = {}
local hide = {}
local matchgroup = {}
local nowrap
local autocol
local seeds
local forceseeds
local boldwinner
local aggregate
local paramstyle
local masterindex
local function isempty(s) return s end
local function notempty(s) return s~=nil and s~=
end
local function bargs(s) return pargs[s] or fargs[s]
end
local function toChar(num) return string. char(string. byte("a")+num-1)
end
local function unboldParenthetical(text) -- Replace wikilinks with unique placeholders local counter = 0 local placeholders = {} text = text:gsub('%[%[(.