Module:Sandbox/MonkeysHK

local getArgs = require('Module:Arguments').getArgs local string = require('Module:String') local table = require('Module:Table') p = {}

function p.clearImage(frame) local args = table.map(getArgs(frame), function(v) return v end) local image = args[1] or args['image'] or '' table.remove(args, 1) return p._clearImage(image, args) end

function p._clearImage(img, args) return table.concat(table.merge({}, img, args), ', ') end

return p