Modul:Protection banner: Unterschied zwischen den Versionen
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) |
||
| Zeile 846: | Zeile 846: | ||
getArgs = require('Module:Arguments').getArgs | getArgs = require('Module:Arguments').getArgs | ||
end | end | ||
return p._main( | local args = getArgs(frame, {wrappers = 'Template:Pp'}) | ||
return p._main(args) | |||
end | end | ||
return p | return p | ||