Module:Date Stuff: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:
local orgiArgs = frame.args
local orgiArgs = frame.args
local args = {}
local args = {}
if orgiArgs[1] == "{{{1}}}" or orgiArgs[2] == "{{{2}}}" or orgiArgs[3] == "{{{3}}}" then
if orgiArgs[1] == "{{{1}}}" or orgiArgs[2] == "{{{2}}}" or orgiArgs[4] == "{{{3}}}" then
return error("Missing a parameter")
return error("Missing a parameter")
end
end