Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
No edit summary |
(include non-blank positional in the default, but excluded blank positional in the default) |
||
Line 16:
local pargs = frame:getParent().args
local ignoreblank = isnotempty(frame.args['ignoreblank'])
local
local knownargs = {}
local unknown = frame.args['unknown'] or 'Found _VALUE_, '
Line 73:
addresult(k)
end
elseif
knownargs[tostring(k)] == nil and
(
then
addresult(k)
|