Jump to content

Module:PHL sports team/MPBL/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MarcusAbacus (talk | contribs) at 13:51, 12 January 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


This is the data module used by Module:PHL sports team.

Data structure

Most lines will be of the following form:

["TEAM CODE"] = {"Team full name", "Team short name"},

For teams whose article is disambiguated:

["TEAM CODE"] = {"Team full name", "Team short name", dab="Disambiguated title"},

For teams with multiple or historical names (where XXXX represents the 4-digit start year and YYYY represents the 4-digit end year):

["TEAM CODE"] = {"Team full name", "Team short name",
  ["XXXXthruYYYY"] = "Name 1",
  ["XXXXthruYYYY"] = "Name 2",
  ["XXXXthruYYYY"] = "Name 3",
  ..
  ["XXXXthruYYYY"] = "Name n",
},

Aliasing – a team having more than one code is also supported:

["ALIAS CODE"] = "TEAM CODE",

Trailing comma in each element is significant.

List of abbreviations

Current teams

Former teams