Jump to content

Module:Team bracket tracking

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 13:35, 17 April 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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 '[[Category:Pages using a tennis bracket with nbsp]]'
			end
		end
	end
	return ''
end

return p