Content deleted Content added
BrandonXLF (talk | contribs) Reverted to revision 877044953 by BrandonXLF (Reverter) |
BrandonXLF (talk | contribs) No edit summary |
||
Line 1:
local p = {}
function p.main (frame)
local fArgs = frame.args
local pArgs = frame:getParent().args
local tArgs = {}
local pFirst = require('Module:Yesno')(fArgs._pf)
local template = fArgs['_t'] -- Get template name
if
return require('Module:Error').error({'Error: no template name given.'})
end
for k,v in pairs(fArgs) do
tArgs[k] = v
end
for k,v in pairs(fArgs) do
if k ~= '_t' then
tArgs[k] = v
end
end
|