Module:Zodiac date explained

-- Module:Zodiac datelocal p =

function p.main(frame)local signNumber = tonumber(frame.args[1]) or 1local year = tonumber(frame.args[2]) or os.date("!*t").year--

red writingif (year < 2015) or (year > 2050) or ((year

2050) and (signNumber

10)) then return '

Error: Only 2015-2050 '.. '(except Capricorn 2050) are supported.'end

--Template being replaced starts with Aries, which starts at 0 deg. longitude,--but we want to start with Aquarius, the sign that begins in January.

local sn = signNumber = sn[signNumber]year = year-2015

local zd =

return zd[signNumber+12*year].."  - "..zd[1+signNumber+12*year]end

return p