Difference between revisions of "Module:Team bracket tracking"
MyWikiBiz, Author Your Legacy — Friday December 19, 2025
Jump to navigationJump to search (Pywikibot 6.4.0) |
(No difference)
|
Latest revision as of 07:34, 16 July 2021
Documentation for this module may be created at Module:Team bracket tracking/doc
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 team bracket with nbsp]]'
end
if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
return '[[Category:Pages using a team bracket with nbsp]]'
end
end
end
return ''
end
return p