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 22:09, 12 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('^RD[0-9]%-team[0-9]') then
			if tostring(v):match('>[%s]*.[Nn][Bb][Ss][Pp]') then
				return '[[Category:Pages using a tennis bracket with nbsp]]'
			end
		end
	end
	return ''
end

return p