Module:Sandbox/BrandonXLF/1: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
local tArgs = {}
local pFirst = require('Module:Yesno')(fArgs._pf)
local template = fArgs['_t'] -- Get template name
if not template then
return require('Module:Error').error({'Error: no template name given.'})
end
if pFirst then
fArgs, pArgs = pArgs, fArgs
end
for k,v in pairs(fArgs) do
Line 17 ⟶ 20:
end
end
return frame:expandTemplate{title = template, args = tArgs} -- Call template
end
return p