Modül:TeamBracket
--
-- This module implements many bracket templates
--
local p = {}
local args = {}
local rows = {}
local mask = {}
local rounds
local maxround
local legs = {}
local compact
local byes
local hideSeeds
local showSeeds
local hideHeadings
local showThird
local offsetThird
local compactFinal
local sepwidth
local aggsep
local aggregate
local boldwinner
local hideomittedscores
local RD1seedmap = {}
local tcats = local function isnotblank(s) return s and s ~= end
local function isblank(s) return (not s) or (s == )
end
local function sumScores(s1, s2) s1 = mw. ustring. gsub(s1 or , '^[\'%s]*([%d%.