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.moe/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.moe/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 35: |
Line 35: |
| ["Fall 2020 Event"] = 49, | | ["Fall 2020 Event"] = 49, |
| ["Spring 2021 Event"] = 50, | | ["Spring 2021 Event"] = 50, |
| + | ["Summer 2021 Event"] = 51, |
| + | ["Fall 2021 Event"] = 52, |
| + | ["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, |
| } | | } |
| | | |
Line 93: |
Line 101: |
| 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 |