Documentation for this module may be created at Module:UrlParamTest/doc
local p = {}
function p.Get(frame)
local args = {}
-- get the arguments
if frame == mw.getCurrentFrame() then
args = frame:getParent().args
else
args = frame.args
end
local title = mw.title.getCurrentTitle()
local out = ""
for k,v in pairs(title) do
out = out .. k .. ": " .. v .. "\n"
end
return out
end
return p