League of Legends Wiki
Advertisement
League of Legends Wiki

Documentation for this module may be created at Module:Maintenance data/data/doc

-- <pre>
-- Documentation: [[Template:Current maintenance data]]

return {
    ["Patch"]                  = "V11.15",
    ["PatchId"]                = "11.15.1",
    ["NextPatch"]              = "V11.16",
    ["SeasonNumber"]           = "11",
    ["SeasonWord"]             = "Eleven",
    ["SeasonType"]             = "Season",
    ["SeasonStart"]            = "2021-01-06",
    ["TFTSet"]                 = "5.5",
    ["LastChampionName"]       = "Akshan",
    ["UpcomingChampionName"]   = "Akshan",
    
    -- Used in [[Template:Hot]]
    ["HotChampion"] = {
        [1] = "Akshan",
        [2] = "Gwen",
        [3] = "Viego",
        [4] = "Rell"
    },
    ["HotRelaunch"]   = {
        [1] = "Dr. Mundo",
        [2] = "Volibear",
        [3] = "Fiddlesticks",
        [4] = "Pantheon"
    },
    
    -- Archived date of the first champion rotation,
    -- dates do not refer to competetive seasons,
    -- but patch cycles
    -- everything before closed beta is considered closed alpha
    ["ClosedBetaStart"]        = "2009-04-11",
    ["OpenBetaStart"]           = "2009-10-21",
    ["GameLaunch"]               = "2009-10-27",
    ["Pre-Season1Start"]       = "2009-11-20",-- ps1 start based on first free champion rotation
    ["Season1Start"]           = "2010-07-13",
    ["Pre-Season2Start"]       = "2011-09-20",
    ["Season2Start"]           = "2011-11-29",
    ["Pre-Season3Start"]       = "2012-11-20",
    ["Season3Start"]           = "2013-02-01",
    ["Pre-Season4Start"]       = "2013-11-20",
    ["Season4Start"]           = "2014-01-15",
    ["Pre-Season5Start"]       = "2014-11-20",
    ["Season5Start"]           = "2015-01-15",
    ["Pre-Season6Start"]       = "2015-11-11",
    ["Season6Start"]           = "2016-01-14",
    ["Pre-Season7Start"]       = "2016-11-10",
    ["Season7Start"]           = "2017-01-11",
    ["Pre-Season8Start"]       = "2017-11-08",
    ["Season8Start"]           = "2018-01-10",
    ["Pre-Season9Start"]       = "2018-11-20",
    ["Season9Start"]           = "2019-01-09",
    ["Pre-Season10Start"]      = "2019-11-20",
    ["Season10Start"]          = "2020-01-10",
    ["Pre-Season11Start"]      = "2020-11-10",
    ["Season11Start"]          = "2021-01-06",
    
    -- STATIC DATA
    --["TotalReleasedChampions"] = mw.site.stats.pagesInCategory("Released champion"), temporarily replaced with an alternative function, wich does not look as pretty but it's faster and does not use any expensive functions
    ["TotalReleasedChampions"] = (function ()
        local lolData = mw.loadData('Module:ChampionData/data')
        local i = 0
        local skip = {
            ["Mega Gnar"] = true, ["Kled & Skaarl"] = true, ["Rhaast"] = true, ["Shadow Assassin"] = true,
            ["Upcoming"] = true, ["N/A"] = true, ["Cancelled"] = true, [""] = true,
        }
        for k, v in pairs(lolData) do
            if not skip[k] and not skip[v["date"] or "Upcoming"] then
                i = i + 1
            end
        end
        return i
    end)()
}
-- </pre>
-- [[Category:Lua]]