Module:Team bracket tracking

From Blaseball Wiki

Revision as of 02:00, 12 August 2020 by Nesblitt (talk | contribs) (1 revision imported: MLB tournament template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

function p.tracking(frame) local args = frame:getParent().args for k, v in pairs(args) do if tostring(k):match('%-team[0-9]') then if tostring(v):match('[Bb][Rr][^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then return end if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then return end end end return end

return p