Module:User:SDZeroBot/Purge list

local getArgs = require('Module:Arguments').getArgs local p = {}

p.entry = function (frame) local args = getArgs(frame) if args[1] then args.page = args[1] end if not args.page then return '* Missing page name ' end local link = args.page:sub(1, 2) ==  and args.page or ('[[' .. args.page .. )	local dayOrDays = args.interval and 		mw.language.getContentLanguage:plural(tonumber(args.interval), 'day', 'days') or 	return '* ' .. link .. 		(args.interval and ' (every '..args.interval..' '..dayOrDays..')' or ) ..		(args.forcerecursivelinkupdate and ' R '			or (args.forcelinkupdate and ' L ' or '')		) end

return p