Module:PHL sports team/collegiate
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
To test changes, please do so at Module:PHL sports team/collegiate/sandbox first, and then implement them here. |
This is the data module used by Module:PHL sports team.
Data structure
[change source]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
[change source]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
[change source]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
[change source]return {
-- UAAP --
["Adamson"] = {"ADU", "Adamson University", "Adamson Soaring Falcons","Adamson Lady Falcons","Adamson Baby Falcons","Adamson Lady Baby Falcons"},
["Ateneo"] = {"ADM", "Ateneo de Manila University", "Ateneo Blue Eagles", "Ateneo Lady Eagles", "Ateneo Blue Eaglets", "Ateneo Lady Eaglets",
["ADM"] = "Ateneo de Manila"
},
["La Salle"] = {"DLS", "De La Salle University", "De La Salle Green Archers", "De La Salle Lady Archers", "DLSZ Junior Archers", "DLSZ Junior Lady Archers",
["DLSC"] = "De La Salle College",
["DLSZ"] = "De La Salle Zobel",
["LSGH"] = "La Salle Green Hills"
},
["FEU"] = {"FEU", "Far Eastern University", "FEU Tamaraws", "FEU Lady Tamaraws", "FEU–D Baby Tamaraws", "FEU–D Lady Baby Tamaraws",
["IOA"] = "Institute of Accounts",
["FEU-FERN"] = "Far Eastern University–FERN College",
["FEU-D"] = "Far Eastern University–Diliman"
},
["NU"] = {"NUI", "National University", "NU Bulldogs", "NU Lady Bulldogs", "NUNS Bullpups", "NUNS Lady Bullpups",
["NSNU"] = "Nazareth School of National University",
["NUNS"] = "National University–Nazareth School"
},
["UE"] = {"UEA", "University of the East", "UE Red Warriors", "UE Lady Warriors", "UE Junior Warriors", "UE Junior Lady Warriors"},
["UP"] = {"UPD", "University of the Philippines Diliman", "UP Fighting Maroons", "UP Lady Maroons", "UPIS Junior Maroons", "UPIS Junior Lady Maroons",
["UPM"] = "University of the Philippines Manila",
["UPIS"] = "UP Integrated School"
},
["UST"] = {"UST", "University of Santo Tomas", "UST Growling Tigers", "UST Tigresses", "UST Tiger Cubs", "UST Junior Tigresses"},
-- NCAA --
["Arellano"] = {"AUN", "Arellano University", "Arellano Chiefs", "Arellano Lady Chiefs", "Arellano Braves", "Arellano Lady Braves"},
["CSB"] = {"CSB", "De La Salle–College of Saint Benilde", "Benilde Blazers", "Benilde Lady Blazers", "La Salle Green Hills Greenies", "La Salle Lady Greenies", "Benilde",
["LSGH"] = "La Salle Green Hills"
},
["EAC"] = {"EAC", "Emilio Aguinaldo College", "EAC Generals", "EAC Lady Generals", "EAC–ICA Brigadiers", "EAC–ICA Lady Brigadiers",
["EAC-ICA"] = "EAC–Immaculate Conception Academy",
},
["JRU"] = {"JRU", "José Rizal University", "JRU Heavy Bombers", "JRU Lady Bombers", "JRU Light Bombers", "JRU Light Lady Bombers",
["JRC"] = "José Rizal College"
},
["Letran"] = {"CSJ", "Colegio de San Juan de Letran", "Letran Knights", "Letran Lady Knights", "Letran Squires", "Letran Lady Squires"},
["Lyceum"] = {"LPU", "Lyceum of the Philippines University", "Lyceum Pirates", "Lyceum Lady Pirates", "Lyceum Junior Pirates", "Lyceum Junior Lady Pirates",
["LPU-C"] = "Lyceum of the Philippines University–Cavite"
},
["Mapua"] = {"MUN", "Mapúa University", "Mapúa Cardinals", "Mapúa Lady Cardinals", "Malayan Red Robins", "Malayan Lady Red Robins", "Mapúa",
["MIT"] = "Mapúa Institute of Technology",
["Malayan"] = "Malayan High School of Science",
["MHSS"] = "Malayan High School of Science"
},
["San Beda"] = {"SBU", "San Beda University", "San Beda Red Lions", "San Beda Red Lionesses", "San Beda Red Cubs", "San Beda Red Lioness Cubs",
["SBC"] = "San Beda College",
["SBC-R"] = "San Beda College–Rizal",
["SBU-R"] = "San Beda University–Rizal"
},
["SSC-R"] = {"SSC", "San Sebastian College–Recoletos", "San Sebastian Stags", "San Sebastian Lady Stags", "San Sebastian Staglets", "San Sebastian Lady Staglets", "San Sebastian"},
["UPHD"] = {"UPH", "University of Perpetual Help System DALTA", "Perpetual Altas", "Perpetual Lady Altas", "Perpetual Junior Altas", "Perpetual Junior Lady Altas", "Perpetual",
["PHCR"] = "Perpetual Help College of Rizal",
["UPHR"] = "University of Perpetual Help Rizal"
},
-- Aliases, e.g. former names of colleges elevated to university status, or teams with multiple former names --
["ADMU"] = "Ateneo",
["AU"] = "Arellano",
["CSJL"] = "Letran",
["DLSU"] = "La Salle",
["DLSZ"] = "La Salle",
["MHSS"] = "Malayan",
["MIT"] = "Mapua",
["MU"] = "Mapua",
["SBC"] = "San Beda",
["San Beda-Rizal"] = "SBU-R",
["USJR"] = "USJ-R",
-- Miscellaneous --
["AUF"] = {"AUF", "Angeles University Foundation", "AUF Great Danes", "AUF Lady Danes", "AUF Baby Danes"},
["CEU"] = {"CEU", "Centro Escolar University", "CEU Scorpions", "CEU Lady Scorpions", "CEU Baby Scorpions"},
["Don Bosco"] = {"DBC", "Don Bosco Technical College", "Don Bosco Grey Wolves", nil, "Don Bosco Baby Grey Wolves"},
["PCU"] = {"PCU", "Philippine Christian University", "PCU Dolphins", "PCU Lady Dolphins", "PCU Baby Dolphins"},
["SWU"] = {"SWU", "Southwestern University", "SWU Cobras", "SWU Lady Cobras"},
["TIP"] = {"TIP", "Technological Institute of the Philippines", "TIP Engineers", "TIP Lady Engineers"},
["USLS"] = {"USL", "University of St. La Salle", "USLS Stingers", "USLS Lady Stingers"},
["USJ-R"] = {"USJ", "University of San Jose–Recoletos", "USJ–R Jaguars", "USJ–R Lady Jaguars"},
["UV"] = {"UV", "University of the Visayas", "UV Green Lancers", "UV Green Lancers", "UV Green Lancers"}
}