Content deleted Content added
BrandonXLF (talk | contribs) Restored revision 883984777 by BrandonXLF (Restorer) |
BrandonXLF (talk | contribs) This should work |
||
Line 1:
local template = args2['_']
▲function p.main (frame)
args2._ = nil
args1, args2 = args2, args1
end▼
if not template then
return require('Module:Error').error({'Error: no template name given.'})
end
▲ if pF then
end
▲ for k,v in pairs(pA) do
end
▲ end
function gen (switch)
return function (frame)
return main(frame:getParent().args, frame.args, switch)
end
▲ return frame:expandTemplate{title = template, args = tA}
end
return
default = gen(false),
force = gen(true)
}
|