Skip to content

feat: TeamList conversion wrapper#7481

Draft
hjpalpha wants to merge 42 commits into
mainfrom
hjpalpha-patch-2
Draft

feat: TeamList conversion wrapper#7481
hjpalpha wants to merge 42 commits into
mainfrom
hjpalpha-patch-2

Conversation

@hjpalpha
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha commented May 10, 2026

Affected Wikis

  • stormgate: 8 pages
  • starcraft2: ~600 pages
  • starcraft: ~2k pages

Steps

  • Convert all Template:TeamList/Team calls to Template:TeamCard calls
  • Delete Template:TeamList/Team
  • Convert all usages of pure TeamCard calls (usually with box stuff arround them) to use TeamList wrapper (TeamCard already uses TeamList under the hood)
  • Clean up Toggle group start/Toggle group end usages in combi with TeamList
  • Write conversion wrapper (as dev of TeamList modules)
    • initial
    • test & debug
  • wait for necessary features of TeamParticipants for using wrapper
  • Inplace replace TeamList modules with the conversion wrapper (e.g. by merging this)
  • wait for necessary features of TeamParticipants
  • start using TeamParticipants on new pages
  • Replace TeamCard and TeamList/Section usage with jsons (subst:#json:, TeamCard already does ecaxtly that when reaching this point, TeamList/Section only adds a single param (|type=section))
    • sc2
    • sg
    • bw
  • Delete Template:TeamCard on all 3 wikis & delete Template:TeamList/Section on commons
    • sc2
    • sg
    • bw
    • commons
  • If there are no issues mentioned within X months after inplace conversion start a (subst) replace run to use the option of the conversion wrapper to generate the wiki code
    • sc2
    • sg
    • bw
  • Archive/Delete the TeamList modules (i.e. the conversion wrappers) on commons and Template:TeamList on the 3 wikis
    • commons
    • sc2
    • sg
    • bw

@hjpalpha hjpalpha changed the title [Draft] Conversion of Template:TeamList feat: TeamList conversion wrapper May 12, 2026
Copy link
Copy Markdown
Collaborator Author

@hjpalpha hjpalpha May 12, 2026

Choose a reason for hiding this comment

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

depends on #7491 if Module:InGameRoles is needed
if yes also add it for broodwar and stormgate

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.

1 participant