Content deleted Content added
BrandonXLF (talk | contribs) Use empty table by default |
BrandonXLF (talk | contribs) No edit summary |
||
Line 1:
function main (frame, switch)
local
local
local template =
args2._ = nil▼
if switch then▼
end▼
if not template then
return require('Module:Error').error({'Error: no template name given.'})
end
for k,v in pairs(args1) do▼
▲ if switch then
args2[k] = v▼
pArgs, fArgs = fArgs, pArgs
▲ end
end
return frame:expandTemplate{title = template, args =
end
|