User:Lintang pramesti/sandbox

Heading text
p.carousel = function(frame) local switchtime = tonumber(frame.args.switchsecs) or 43200 if switchtime < 1 then switchtime = 43200 end local imgs = { "Green Heron4.jpg", } local numimgs = #imgs local now = math.floor(os.time/switchtime) local idx = now % numimgs +1 return imgs[idx] end