| Line 3: |
Line 3: |
| | | | |
| | local templates = { | | local templates = { |
| − | title = '<div id="${map} ${node}" style="width:680px;text-align:center">${map} ${node}${nameSuffix} ([https://db.kcwiki.moe/drop/map/${world_number}${map_number}/${node}-SAB.html PoiDB])</div>\n', | + | title = '<div id="${map} ${node}">${map} ${node}${nameSuffix} ([https://db.kcwiki.cn/drop/map/${world_number}${map_number}/${node}-SAB.html PoiDB])</div>\n', |
| − | title_simple = '<div id="${map} ${node}" style="width:680px;text-align:center">${map} ${node}${nameSuffix}</div>\n', | + | title_simple = '<div id="${map} ${node}">${map} ${node}${nameSuffix}</div>\n', |
| − | event_title = '<div id="${map} ${node} ${diff}" style="width:680px;text-align:center">${map} ${diff} ${node}${nameSuffix} ([https://db.kcwiki.moe/drop/map/${world_number}${map_number}/${diff_number}/${node}-SAB.html PoiDB])</div>\n', | + | event_title = '<div id="${map} ${node} ${diff}">${map} ${diff} ${node}${nameSuffix} ([https://db.kcwiki.cn/drop/map/${world_number}${map_number}/${diff_number}/${node}-SAB.html PoiDB])</div>\n', |
| − | event_title_simple = '<div id="${map} ${node} ${diff}" style="width:680px;text-align:center">${map} ${diff} ${node}${nameSuffix}</div>\n', | + | event_title_simple = '<div id="${map} ${node} ${diff}">${map} ${diff} ${node}${nameSuffix}</div>\n', |
| | } | | } |
| | | | |
| Line 38: |
Line 38: |
| | ["Fall 2021 Event"] = 52, | | ["Fall 2021 Event"] = 52, |
| | ["Winter 2022 Event"] = 53, | | ["Winter 2022 Event"] = 53, |
| | + | ["Spring 2022 Event"] = 54, |
| | + | ["Summer 2022 Event"] = 55, |
| | + | ["Early Spring 2023 Event"] = 56, |
| | + | ["Summer 2023 Event"] = 57, |
| | + | ["Early Spring 2024 Event"] = 58, |
| | + | ["Summer 2024 Event"] = 59, |
| | + | ["Spring 2025 Event"] = 60, |
| | + | ["Fall 2025 Event"] = 61, |
| | } | | } |
| | | | |
| Line 96: |
Line 104: |
| | local args = U.getTemplateArgs(frame) | | local args = U.getTemplateArgs(frame) |
| | local world, map = string.match(args.implicit.pagename, "([^/]+)/([^/]+)") | | local world, map = string.match(args.implicit.pagename, "([^/]+)/([^/]+)") |
| − | args.implicit.world = world or '??' | + | args.implicit.world = args.explicit.world or world or '??' |
| − | args.implicit.map = map or '??' | + | args.implicit.map = args.explicit.map or map or '??' |
| | local table_string = NodeInfo:Table(args.explicit, args.implicit) | | local table_string = NodeInfo:Table(args.explicit, args.implicit) |
| | if args.explicit.diff or args.implicit.pagename and args.implicit.pagename:sub(1, 5) == "World" then | | if args.explicit.diff or args.implicit.pagename and args.implicit.pagename:sub(1, 5) == "World" then |