Module:Localization/test

local ugsub = mw.ustring.gsub

-- return { go = function(str, args) for token, replace in pairs(args) do token = '$' .. token .. '$'			-- escape, to perform plain text replacement. see Module:String str = ugsub(str, (ugsub(token, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1")), (ugsub(replace, "%%", "%%%%" ))) -- to force return only 1 value. end return str end,

}