Documentation for this module may be created at Module:Item/doc
local p = {}
function escape(str)
return str:gsub("([|\\])", "\\%1")
end
function p.main(frame)
local parent = frame:getParent()
local result = ''
for key, value in pairs(parent.args) do
result = result .. "|" .. escape(key) .. "|" .. escape(value)
end
return result;
end
return p