Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
exclude empty string
No edit summary
Line 824:
---------------------------
local parent_args = args_module.getArgs(frame, {parentOnly = true})
local check_for_unknown = require('Module:Check for unknown parameters')._check
local parameters = {}
for parameter in banner_name:getContent():gmatch('{{{([^|}]+)') do
table.insert(parameters, parameter)
end
local check_for_unknown = require('Module:Check for unknown parameters')._check
local unknowns = check_for_unknown(parameters, parent_args)
if unknowns and unknowns~='' then-- there are some unknown parameters