Module:User:Benwing2/test-format

local str = {}

function str.format(frame) local fmt = frame.args[1] local args = {} local i = 2 while true do		local val = frame.args[i] if not val then break end table.insert(args, val) i = i + 1 end return fmt:format(unpack(args)) end

return str