Module:Infobox election/sandbox
Appearance
![]() | This is the module sandbox page for Module:Infobox election. |
local p = {}
local args = {}
local origArgs = {}
function p.infobox(frame)
origArgs = frame:getParent().args
for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end
--debug
args = origArgs
outFrame = frame:newChild{ title = frame:getTitle(), args = args }
return require('Module:Infobox').infoboxTemplate(outFrame)
end