Module:Maintenance data/data: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(→["TFTSet"]: -> Officially enters TFT set 14 as of today) |
(updated tft current and next patch) |
||
Line 13: | Line 13: | ||
["UpcomingChampionName"] = "Mel", |
["UpcomingChampionName"] = "Mel", |
||
-- TFT PARAMETERS |
-- TFT PARAMETERS |
||
["TFTNextPatch"] = "14. |
["TFTNextPatch"] = "14.2", |
||
["TFTPatch"] = " |
["TFTPatch"] = "14.1", |
||
["TFTSet"] = "14", |
["TFTSet"] = "14", |
||
["AllTFTSets"] = {"1", "2", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10", "11", "12", "13", "14"}, |
["AllTFTSets"] = {"1", "2", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10", "11", "12", "13", "14"}, |
Latest revision as of 23:27, 2 April 2025
- Module:Maintenance data/data has the following documentation.
This module stores maintenance information for League of Legends and Teamfight Tactics. Each individual parameter can be retrieved via Template:Current maintenance data for use in various other articles or templates that require version maintenance.
- All values are strings.
- # — Represents any digit 0–9.
- Use
YYYY-MM-DD
for full dates (ISO 8601)
Parameters
Value Format | Key | Description |
---|---|---|
YY.##
|
NextPatch
|
Major version number of the succeeding patch.
|
YY.##
|
Patch
|
Major version number of the current patch
|
##.##.# (May vary) |
PatchId
|
Official version number of the current patch scraped from the game files; see the first entry in Data Dragon's LoL version list. |
Year, Integer (YYYY )
|
Cycle
|
Official name of the current Annual Cycle. |
Full Date | CycleStart
|
Start date of the current Annual Cycle. |
Full Date | SeasonStart
|
Start date of the current Thematic Season. |
Integer | SeasonCount
|
Current Thematic Season as an ascending number. |
Word | LastChampionName
|
Name of the last champion released. |
Word | UpcomingChampionName
|
Name of the upcoming champion, if known. Duplicate the last new champion's name otherwise. |
Set.Patch (##.#) | TFTNextPatch
|
The succeeding Teamfight Tactics patch number. Set number - Patch number in Set. |
Set.Patch (##.#) | TFTPatch
|
The current Teamfight Tactics patch number. Set number - Patch number in Set. |
See "TFT Numbering" section | TFTSet
|
The current Teamfight Tactics set as an ascending integer. |
See "TFT Numbering" section | AllTFTSets
|
Array of numbers for Teamfight Tactics' primary set and mid-set history specifically. |
See "TFT Numbering" section | RevivalTFTSets
|
Array of numbers for Teamfight Tactics' set revivals history specifically. |
See "Release cycle history" section | Season history dates | Dates that mark the beginning of milestone releases for League of Legends. As of 2013, Riot structures competitive systems and content development around Annual Cycles (lasting roughly 365 days). |
(No Input) | TotalReleasedChampions
|
Function that automatically counts the number of entries in Module:ChampionData/data. Certain entries in ChampionData are variants of the same champion (e.g. Gnar–Mega Gnar); in this case, their variants must be included in the "skip" table so that they are not counted as a separate champion. Format for new "skip" entries: ["Name"] = true,
|
Release cycle history
When the patch for a new Annual Cycle has been officially released, a new entry must be added above all previous ones. Each entry requires a unique name as its key and a full date as its value. The name can be anything but it is preferable to use a consistent format, e.g. XCycleStart
(with the X being replaced by the Annual Cycle's name).
- (Note that everything before the Closed Beta phase is considered the "Closed Alpha"—or just "Alpha"—phase and does not have an entry.)
TFT numbering
Make sure to add new numbers in Template:TFT set as well!
- Primary/Unique sets are assigned an ascending positive integer in order of their release.
- Mid-sets (Monsters Attack & prior) are numbered using a decimal "5" in the tenths place (representing the "middle" or "half of a set") … Example:
4.5
- Revival sets are numbered using an ascending decimal number in the tenths place. Because of prior sets featuring mid-sets already (which start with a decimal "5" as per the above), the first revival set is currently assigned a number starting with a "6" instead of "1". Newer sets' revivals can start with "1" instead as normal.
- Note: this means that if there are more than 9 revival sets (or 4 for older sets that feature a mid-set), which is unlikely in the foreseeable future, a different scheme will be required.
-- <pre>
return {
-- LOL GENERAL PARAMETERS
["NextPatch"] = "25.08",
["Patch"] = "25.07",
["PatchId"] = "15.7.1",
["Cycle"] = "2025",
["CycleStart"] = "2025-01-09",
["SeasonStart"] = "2025-01-09",
["SeasonCount"] = "1",
["LastChampionName"] = "Mel",
["UpcomingChampionName"] = "Mel",
-- TFT PARAMETERS
["TFTNextPatch"] = "14.2",
["TFTPatch"] = "14.1",
["TFTSet"] = "14",
["AllTFTSets"] = {"1", "2", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10", "11", "12", "13", "14"},
["RevivalTFTSets"] = {"3.6", "4.6", "5.6"},
-- LOL CYCLE HISTORY
["2025CycleStart"] = "2025-01-09",
["Season14Start"] = "2024-01-10",
["Season13Start"] = "2023-01-11",
["Pre-Season13Start"] = "2022-11-16",
["Season12Start"] = "2022-01-06",
["Pre-Season12Start"] = "2021-11-17",
["Season11Start"] = "2021-01-06",
["Pre-Season11Start"] = "2020-11-10",
["Season10Start"] = "2020-01-10",
["Pre-Season10Start"] = "2019-11-20",
["Season9Start"] = "2019-01-09",
["Pre-Season9Start"] = "2018-11-20",
["Season8Start"] = "2018-01-10",
["Pre-Season8Start"] = "2017-11-08",
["Season7Start"] = "2017-01-11",
["Pre-Season7Start"] = "2016-11-10",
["Season6Start"] = "2016-01-14",
["Pre-Season6Start"] = "2015-11-11",
["Season5Start"] = "2015-01-15",
["Pre-Season5Start"] = "2014-11-20",
["Season4Start"] = "2014-01-15",
["Pre-Season4Start"] = "2013-11-20",
["Season3Start"] = "2013-02-01",
["Pre-Season3Start"] = "2012-11-20",
["Season2Start"] = "2011-11-29",
["Pre-Season2Start"] = "2011-09-20",
["Season1Start"] = "2010-07-13",
["Pre-Season1Start"] = "2009-11-20",--Based on first Free Champion Rotation
["GameLaunch"] = "2009-10-27",
["OpenBetaStart"] = "2009-10-21",
["ClosedBetaStart"] = "2009-04-11",
--["TotalReleasedChampions"] = mw.site.stats.pagesInCategory("Released champion"),
--temporarily replaced with the alternative function below which 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)()
--[[ Currently unused, previously part of Template:Portal/League/News
["HotChampion"] = {
[1] = "Ambessa",
[2] = "Aurora",
[3] = "Smolder",
},
["HotRelaunch"] = {
[1] = "Skarner",
[2] = "Jax",
[3] = "Ahri"
},
--]]
}
-- </pre>
-- [[Category:Lua]]