Module:Maintenance data

-- -- Used by Template:Current maintenance data local p = {} local lib = require('Module:Feature') local keyword = { -- EDIT AREA -- ["Patch"]                   = "V9.2", ["PatchId"]                 = "9.2.1", ["NextPatch"]               = "V9.3", ["SeasonNumber"]            = "9", ["SeasonWord"]              = "Nine", ["SeasonType"]              = "Season", ["SeasonStart"]             = "2019-01-09", ["UpcomingChampionName"]    = "Sylas", ["LastChampionName"]        = "Sylas", -- EDIT AREA -- -- DO NOT EDIT BELOW! --   ["TotalReleasedChampions"]   = mw.site.stats.pagesInCategory("Released champion"), -- Archived date of the first champion rotation ["Pre-Season1Start"]        = "2009-11-20", ["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"]       = "yyyy-mm-dd", ["Season10Start"]           = "yyyy-mm-dd" }

function p.keyword(frame) local args = {}; --if frame.args == nil then args = lib.arguments(frame) else args = lib.arguments(frame.args) end args[1] = "TotalReleasedChampions" return keyword[args[1]] or "unknown" end

return p -- --