Changes
test: Copy args table so we can feed it to expandTemplate
function p.debug(frame)
-- Copy args table so we can feed it to expandTemplate local args = {} for k, v in pairs( frame.args ) do args[k] = v end return frame:expandTemplate{ title = frame.args['template'], args = { 'arg1', 'arg2', 'arg3' } }
end
return p