Module:ETEvent: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 8: Line 8:
function p.main( frame )
function p.main( frame )
local args = frame:getParent().args
local args = frame:getParent().args
local name, edate, etime, fc, icon, details = defaults{
local name, edate, etime, icon, details = defaults{
{args.name, 'Unnamed'},
{args.name, 'Unnamed'},
{args.date, 'January 1 1970'},
{args.date, 'January 1 1970'},
Line 16: Line 16:
}
}
local length = tonumber(args.length) or 60
local length = tonumber(args.length) or 60
local world = tonumber(args.world) or 39
local datetime = edate..' '..etime..' UTC'
local datetime = edate..' '..etime..' UTC'

Navigation menu