Jump to content

Module:Protection banner: Difference between revisions

specify Template:Pp as a wrapper for the module, and make args a local variable as otherwise it's a bit of a bracket overload
(comment tweaks)
(specify Template:Pp as a wrapper for the module, and make args a local variable as otherwise it's a bit of a bracket overload)
Line 846: Line 846:
getArgs = require('Module:Arguments').getArgs
getArgs = require('Module:Arguments').getArgs
end
end
return p._main(getArgs(frame))
local args = getArgs(frame, {wrappers = 'Template:Pp'})
return p._main(args)
end
end


return p
return p
Cookies help us deliver our services. By using our services, you agree to our use of cookies.