Skip to content

feat(Infobox): Add Delta Force Map#7771

Open
Hesketh2 wants to merge 1 commit into
mainfrom
Hesketh2-patch-2
Open

feat(Infobox): Add Delta Force Map#7771
Hesketh2 wants to merge 1 commit into
mainfrom
Hesketh2-patch-2

Conversation

@Hesketh2

@Hesketh2 Hesketh2 commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Map Infobox for Delta Force, based on the one's on git for COD, just need the game mode and map type

How did you test this change?

https://liquipedia.net/deltaforce/AZ3

@Hesketh2 Hesketh2 self-assigned this Jul 4, 2026
@Hesketh2 Hesketh2 requested a review from a team as a code owner July 4, 2026 20:12
@Hesketh2 Hesketh2 requested a review from a team as a code owner July 4, 2026 20:12
@Hesketh2 Hesketh2 added the g: deltaforce Delta Force label Jul 4, 2026
@Rathoz Rathoz requested a review from Copilot July 5, 2026 07:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Delta Force-specific Module:Infobox/Map/Custom implementation, extending the shared Module:Infobox/Map to surface additional map metadata in the infobox and LPDB for the Delta Force wiki.

Changes:

  • Introduces lua/wikis/deltaforce/Infobox/Map/Custom.lua implementing a custom widget injector for map pages.
  • Adds “Game Mode” and “Map Type” cells under the custom infobox section.
  • Extends LPDB datapoint extradata for maps with additional fields.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +40 to +46
if widgetId == 'custom' then
return Array.append(
widgets,
Cell{name = 'Game Mode', children = {args.mode}},
Cell{name = 'Map Type', children = {args.type}}
)
end
Comment on lines +54 to +55
lpdbData.extradata.type = args.type
lpdbData.extradata.mode = args.mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants