local lang ='en')
    function convertTime(expr)
        return tonumber(lang:formatDate('U', expr))
return {
    main = function(frame)
        local args = frame.args
        local targetTime = convertTime(frame.args[1])
        local templateCurrent = frame.args[2]
        local templateExceed  = frame.args[3]
        return frame:preprocess( (tonumber(lang:formatDate('U')) > targetTime
            and templateExceed
            or  templateCurrent):gsub("<nowiki>(.-)</nowiki>", "%1") )

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.