Skip to content

feat(TeamParticipants): legacy wrapper Identity V Custom and bare coach support#7541

Open
Eetwalt wants to merge 2 commits into
mainfrom
tc-lw-iv
Open

feat(TeamParticipants): legacy wrapper Identity V Custom and bare coach support#7541
Eetwalt wants to merge 2 commits into
mainfrom
tc-lw-iv

Conversation

@Eetwalt
Copy link
Copy Markdown
Collaborator

@Eetwalt Eetwalt commented May 21, 2026

Summary

  • Add Module:TeamCard/Legacy/Custom for identityv to bridge the old posN arg convention to the new wrapper's pNpos shape, and normalize the S/H shorthand to survivor/hunter so role icons resolve via Module:InGameRoles and POSITION_ICON_DATA.
  • Fix Module:TeamCard/Legacy to also pick up the bare c= coach key. Previously only indexed slots c1..c10 were scanned, so wikitext like |c=Alice|c2=Bob rendered only Bob, and |c=Alice rendered no coach at all.
  • Requires identityv's Template:TeamCard columns end to invoke module=TeamCard/Legacy/Custom|fn=run once the wrapper rollout happens.

How did you test this change?

dev + currently live in prod for identityv

@Eetwalt Eetwalt requested review from a team as code owners May 21, 2026 14:01
Copilot AI review requested due to automatic review settings May 21, 2026 14:01
@Eetwalt Eetwalt changed the title feat(TeamParticipants): add TeamCard Legacy Custom for pos aliasing on Identity V feat(TeamParticipants): legacy wrapper Identity V Custom and bare coach support May 21, 2026
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

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

lgtm
imo post an info in that resp discord channel so they are aware that they should not use s/h in the new TP templates :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants