Zum Inhalt springen

„Modul:Team bracket tracking“ – Versionsunterschied

aus Wikipedia, der freien Enzyklopädie
[gesichtete Version][gesichtete Version]
Inhalt gelöscht Inhalt hinzugefügt
AZ: Die Seite wurde neu angelegt: 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:Pag…
 
Keine Bearbeitungszusammenfassung
 
Zeile 6: Zeile 6:
if tostring(k):match('%-team[0-9]') then
if tostring(k):match('%-team[0-9]') then
if tostring(v):match('[Bb][Rr][^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
if tostring(v):match('[Bb][Rr][^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
return '[[Category:Pages using a team bracket with nbsp]]'
return '[[Kategorie:Pages using a team bracket with nbsp]]'
end
end
if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
return '[[Category:Pages using a team bracket with nbsp]]'
return '[[[Kategorie:Pages using a team bracket with nbsp]]'
end
end
end
end

Aktuelle Version vom 3. Oktober 2023, 13:13 Uhr

Die Dokumentation für dieses Modul kann unter Modul:Team bracket tracking/Doku erstellt werden

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 '[[Kategorie:Pages using a team bracket with nbsp]]'
			end
			if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then
				return '[[[Kategorie:Pages using a team bracket with nbsp]]'
			end
		end
	end
	return ''
end

return p