可在模块:Maintenance data/data/doc创建此模块的帮助文档
-- <pre> -- Documentation: [[Template:Current maintenance data]] return { ["Patch"] = "V12.21", ["PatchId"] = "12.21.1", ["NextPatch"] = "V12.22", ["SeasonNumber"] = "12", ["SeasonWord"] = "Twelve", ["SeasonType"] = "Season", ["SeasonStart"] = "2022-01-06", ["TFTSet"] = "7", ["AllTFTSets"] = {"1", "2", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7"}, ["LastChampionName"] = "K'Sante", ["UpcomingChampionName"] = "K'Sante", -- Used in [[Template:Portal/League/News]] ["HotChampion"] = { [1] = "K'Sante", [2] = "Nilah", [3] = "Bel'Veth" }, ["HotRelaunch"] = { [1] = "Udyr", [2] = "Dr. Mundo", [3] = "Volibear" }, -- 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", ["Pre-Season12Start"] = "2021-11-17", ["Season12Start"] = "2022-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]]