Module:PHL sports team/collegiate/doc
This is the documentation page for Module:PHL sports team/collegiate
| File:Green check.svg | This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
This is the data module used by Module:PHL sports team.
Data structure
Most 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
For 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
Be 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