Module:PHL sports team/collegiate
File:Full-protection-shackle.svg | 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. |
File:Information icon4.svg | 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[edit 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[edit 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[edit 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[edit 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", "NSNU Bullpups", "NSNU Lady Bullpups", ["NSNU"] = "Nazareth School of National University" }, ["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", "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 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"}, ["Mapua"] = {"MUN", "Mapúa University", "Mapúa Cardinals", "Mapúa Lady Cardinals", "Malayan Red Robins", "Malayan Lady Red Robins", "Mapúa", ["MHSS"] = "Malayan High School of Science", ["MIT"] = "Mapúa Institute of Technology" }, ["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", ["MIT"] = "Mapua", ["MU"] = "Mapua", ["SBC"] = "San Beda", ["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"} }