This is a documentation subpage for Module:PHL sports team/collegiate. It may contain usage information, categories and other content that is not part of the original module page. |
This is the data module used by Module:PHL sports team.
Data structure
editMost lines will be of the following form:
["COMMON NAME1/ABBRV"] = {"TEAM CODE", "School name", "Men's team", "Women's team", "Boys' team", "Girls' team", "COMMON NAME2"},
For teams with multiple former school names:
["COMMON NAME1/ABBRV"] = {"TEAM CODE", "School name", "Men's team", "Women's team", "Boys' team", "Girls' team", "COMMON NAME2" ["SCHOOL ABBRV1"] = "Former school name 1", ["SCHOOL ABBRV2"] = "Former school name 2", ["SCHOOL ABBRV3"] = "Former school name 3", },
Aliasing – backward compatibility is supported for teams' whose institution is elevated from college to university status. The OLD CODE
references to the COMMON NAME1/ABBRV
(or vice-versa) hence a team may have multiple codes:
["OLD CODE"] = "COMMON NAME1/ABBRV",
Trailing comma in each element is significant.
Examples
editFor common structure, omit COMMON NAME
if team abbreviation and common name are matched/equal.
["UST"] = {"UST", "University of Santo Tomas", "UST Growling Tigers", "UST Tigresses", "UST Tiger Cubs", "UST Junior Tigresses"},
Due to limitations of keyboard for special characters, COMMON NAME2
may only be added:
["Mapua"] = {"MUN", "..", "..", "..", "..", "..", "Mapúa"},
For teams with multiple former school names:
["Mapua"] = {"MUN", "Mapúa University", "..", "..", "..", "..", "Mapúa", ["MHSS"] = "Malayan High School of Science", ["MIT"] = "Mapúa Institute of Technology" }, ["San Beda"] = {"SBU", "San Beda University", "..", "..", "..", "..", ["SBC"] = "San Beda College", ["SBC-R"] = "San Beda College–Rizal", ["SBU-R"] = "San Beda University–Rizal" },
For aliases:
["MIT"] = "Mapua", ["SBC"] = "San Beda",
Warning
editBe very careful when updating this module, as it is used in a large number of articles. Please test any changes in Module:PHL sports team/collegiate/sandbox first.
Test table
edit