Module:Lunar calendar

local LunarCalendar = {}

local threeMonths = require('Module:FRCalendar').ThreeMonthsArgs

function LunarCalendar.Year(frame) local parent = mw.getCurrentFrame:getParent local year = '0'

if parent and parent.args then local pageName = parent.args[1] year = mw.text.split(pageName, '%s') end local one  = threeMonths({'15 Alturiak', year[1]}) local two  = threeMonths({'15 Mirtul' , year[1]}) local three = threeMonths({'15 Eleasis', year[1]}) local four = threeMonths({'15 Uktar'  , year[1]}) return two..one..four..three end

return LunarCalendar