local p = {}
function p.main(frame)
local given = frame.args[1]
if given == nil or given == '' then
return ""
end
local args = {}
given = given .. "!"
for item in given:gmatch( "(.-)!") do
local p = item:find('=', 1, true)
if p then
args[item:sub(1, p-1)] = item:sub(p+1)
else
table.insert(args, item)
end
end
return frame:expandTemplate{ title = "convert/old", args = args }
end
return p