feat(Infobox): Add Character for Delta Force#7790
Conversation
We need a way to for character portal to filter displays by class, so i'm going to make |class= able to store LPDB Data, unless there are more recommended way, please let me know
| Title{children = 'Abilities'}, | ||
| Builder{ | ||
| builder = function() | ||
| local gadgets = self.caller:getAllArgsForBase(args, 'gadget') | ||
| return { | ||
| Cell{ | ||
| name = 'Gadgets', | ||
| children = gadgets, | ||
| } | ||
| } | ||
| end | ||
| }, | ||
| Cell{name = 'Tactical Gear', children = {args.tacticalgear}}, | ||
| Cell{name = 'Trait', children = {args.trait}} |
There was a problem hiding this comment.
These seem unneccessary to have in the infobox, as they are already present as their own this on the page
There was a problem hiding this comment.
Valorant characters refference, they have it too on infobox and page
There was a problem hiding this comment.
That seems unnecessary too?
There was a problem hiding this comment.
Pull request overview
Adds a Delta Force–specific Module:Infobox/Character/Custom implementation to extend the shared Module:Infobox/Character with wiki-specific fields/widgets.
Changes:
- Introduces a Delta Force
CustomCharacterinfobox module extending the commonCharacterinfobox. - Adds an “Abilities” section populated from
gadget*args plustacticalgearandtrait. - Extends LPDB storage by adding
extradata.classfromclassargument.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
push it to page content instead
read comments for more info
|
The most recent code update is done by @Riieee22 as a feature request to have an in-game icon added on top of the in game positions (now renamed back from |
Summary
Mostly just straight copy paste from VALORANT with some param chagnes
How did you test this change?
https://liquipedia.net/deltaforce/D-Wolf