Module:Solar eclipse: Difference between revisions

Content deleted Content added
add catalog link
No edit summary
Line 22:
local function cataloglink(c, y)
if(c and tonumber(c)) then
local y1 = math.floor( (tonumber(yearstry) - 1) / 10 ) * 10 + 1
local y2 = y1 + 99
return '[http://eclipse.gsfc.nasa.gov/SEcat5/SE' .. tostring(y1) .. '-' .. tostring(y2) .. '.html ' .. c .. ']'