Difference between revisions of "Module:Team bracket tracking"

From WikiPadia — The Official D-Pad Wiki
Jump to navigation Jump to search
en>MusikAnimal
m (Protected "Module:Team bracket tracking": High-risk module ([Edit=Require template editor access] (indefinite)))
 
m (1 revision imported)
 

Latest revision as of 10:25, 27 December 2018

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