Module:Test

local p = {}

local function merge(f) local origArgs = f.args local args = {} for k, v in pairs(origArgs) do		v = mw.text.trim(tostring(v)) if v ~= '' then args[k] = v		end end return args end

function p.Navbox(frame) local args = merge(frame) args.publisher = "Friend" return mw.getCurrentFrame:expandTemplate{title='Infobox game', args = args} end return p