وحدة:Baseball color/data

This is the data module used by Module:Baseball color. Please test any changes in Module:Baseball color/data/sandbox first.

Format

Most lines will be of the following form

 ["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", "HEX4"},

The trailing comma is very important. Here, HEX1, HEX2, HEX3, and HEX4 are hexadecimal color values.

To use the same color for more than one team name (e.g., if the team goes by more than one name, but the colors are the same), use

 ["SECONDARY TEAM NAME"] = "TEAM NAME",

where TEAM NAME has already been defined, and SECONDARY TEAM NAME is the alternative spelling, or name.

Warning

Be very careful when updating this module, as it is used in a large number of articles. Please test any changes in Module:Baseball color/data/sandbox first.

Test table

Team1234
Acereros de Monclova
Adelaide Bite
Arizona Diamondbacks
Atlanta Braves
Baltimore Orioles
Beijing Tigers
Boston Red Sox
Bravos de León
Bridgeport Bluefish
Brisbane Bandits
Canberra Cavalry
Cangrejeros de Santurce
Chiba Lotte Marines
Chicago Cubs
Chicago White Sox
Chinatrust Brothers
Chunichi Dragons
Cincinnati Reds
Cleburne Railroaders
Cleveland Indians
Colorado Rockies
Criollos de Caguas
Detroit Tigers
Diablos Rojos del México
Doosan Bears
Fargo-Moorhead RedHawks
Florida Marlins
Fubon Guardians
Fukuoka SoftBank Hawks
Gary SouthShore RailCats
Generales de Durango
Guangdong Leopards
Guerreros de Oaxaca
Hanshin Tigers
Hanwha Eagles
Henan Elephants
Hiroshima Toyo Carp
Hokkaido Nippon-Ham Fighters
aka Hokkaido Nippon Ham Fighters
Houston Astros
Indios de Mayagüez
Jiangsu Pegasus
KT Wiz
Kansas City Royals
Kansas City T-Bones
Kia Tigers
LG Twins
Lamigo Monkeys
Lancaster Barnstormers
Leones de Yucatán
Lincoln Saltdogs
Long Island Ducks
Los Angeles Angels
Los Angeles Angels of Anaheim
Los Angeles Dodgers
Lotte Giants
Melbourne Aces
Miami Marlins
Milwaukee Brewers
Minnesota Twins
Montreal Expos
NC Dinos
New Britain Bees
New Jersey Jackals
New York Mets
New York Yankees
Nexen Heroes
Oakland Athletics
Olmecas de Tabasco
Orix Buffaloes
Ottawa Champions
Pericos de Puebla
Perth Heat
Philadelphia Phillies
Piratas de Campeche
Pittsburgh Pirates
Québec Capitales
Rieleros de Aguascalientes
Rockland Boulders
Rojos del Águila de Veracruz
SK Wyverns
Saitama Seibu Lions
Salina Stockade
Samsung Lions
San Diego Padres
San Francisco Giants
Saraperos de Saltillo
Seattle Mariners
Shanghai Golden Eagles
Sichuan Dragons
Sioux City Explorers
Sioux Falls Canaries
Somerset Patriots
Southern Maryland Blue Crabs
St. Louis Cardinals
St. Paul Saints
Sugar Land Skeeters
Sultanes de Monterrey
Sussex County Miners
Sydney Blue Sox
Tampa Bay Rays
Texas AirHogs
Texas Rangers
Tianjin Lions
Tigres de Quintana Roo
Tohoku Rakuten Golden Eagles
Tokyo Yakult Swallows
Toronto Blue Jays
Toros de Tijuana
Trois-Rivières Aigles
Uni-President 7-Eleven Lions
aka Uni-President Lions
Vaqueros Unión Laguna
Washington Nationals
Wichita Wingnuts
Winnipeg Goldeyes
Yokohama DeNA BayStars
aka Yokohama BayStars
Yomiuri Giants
York Revolution
Free agent
Retired

return {
-- US/Canada --
["Arizona Diamondbacks"] = {"A71930", "FFFFFF", "E3D4AD", "000000"},
["Atlanta Braves"] = {"13274F", "FFFFFF", "CE1141", "FFFFFF"},
["Baltimore Orioles"] = {"000000", "FFFFFF", "DF4601", "FFFFFF"},
["Boston Red Sox"] = {"BD3039", "FFFFFF", "0D2B56", "FFFFFF"},
["Chicago Cubs"] = {"0E3386", "FFFFFF", "CC3433", "FFFFFF"},
["Chicago White Sox"] = {"000000", "FFFFFF", "C4CED4", "000000"},
["Cincinnati Reds"] = {"C6011F", "FFFFFF", "000000", "FFFFFF"},
["Cleveland Indians"] = {"E31937", "FFFFFF", "002B5C", "FFFFFF"},
["Colorado Rockies"] = {"33006F", "FFFFFF", "C4CED4", "000000"},
["Detroit Tigers"] = {"0C2C56", "FFFFFF", "FF6600", "000000"},
["Florida Marlins"] = {"000000", "FFFFFF", "00A8B0", "000000"},
["Houston Astros"] = {"002D62", "FFFFFF", "EB6E1F", "000000"},
["Kansas City Royals"] = {"004687", "FFFFFF", "C09A5B", "000000"},
["Los Angeles Angels of Anaheim"] = {"BA0021", "FFFFFF", "003263", "FFFFFF"},
["Los Angeles Angels"] = {"BA0021", "FFFFFF", "003263", "FFFFFF"},
["Los Angeles Dodgers"] = {"005A9C", "FFFFFF", "005A9C", "FFFFFF"},
["Miami Marlins"] = {"000000", "FFFFFF", "FF6600", "000000"},
["Milwaukee Brewers"] = {"0A2351", "FFFFFF", "B6922E", "000000"},
["Minnesota Twins"] = {"002B5C", "FFFFFF", "D31145", "FFFFFF"},
["Montreal Expos"] = {"003087", "FFFFFF", "E4002B", "FFFFFF"},
["New York Mets"] = {"002D72", "FFFFFF", "FF5910", "000000"},
["New York Yankees"] = {"132448", "FFFFFF", "C4CED4", "132448"},
["Oakland Athletics"] = {"003831", "FFFFFF", "EFB21E", "000000"},
["Philadelphia Phillies"] = {"E81828", "FFFFFF", "284898", "FFFFFF"},
["Pittsburgh Pirates"] = {"000000", "FDB827", "FDB827", "000000"},
["San Diego Padres"] = {"05143F", "FFFFFF", "05143F", "FFFFFF"},
["San Francisco Giants"] = {"000000", "FFFFFF", "FD5A1E", "000000"},
["Seattle Mariners"] = {"0C2C56", "FFFFFF", "005C5C", "FFFFFF"},
["St. Louis Cardinals"] = {"C41E3A", "FFFFFF", "000066", "FFFFFF"},
["Tampa Bay Rays"] = {"092C5C", "FFFFFF", "8FBCE6", "000000"},
["Texas Rangers"] = {"003278", "FFFFFF", "C0111F", "FFFFFF"},
["Toronto Blue Jays"] = {"134A8E", "FFFFFF", "1D2D5C", "FFFFFF"},
["Washington Nationals"] = {"AB0003", "FFFFFF", "11225B", "FFFFFF"},
-- Japan --
["Chunichi Dragons"] = {"000047", "FFFFFF", "5c68bf", "FFFFFF"},
["Hanshin Tigers"] = {"000000", "FFE100", "FFE100", "000000"},
["Yomiuri Giants"] = {"FF680D", "FFFFFF", "000000", "FFFFFF"},
["Yokohama DeNA BayStars"] = {"00428E", "FFFFFF", "0093C9", "DCDCDC"},
  ["Yokohama BayStars"] = "Yokohama DeNA BayStars",
["Tokyo Yakult Swallows"] = {"073190", "FFFFFF", "E6002D", "FFFFFF"},
["Hiroshima Toyo Carp"] = {"FF0000", "FFFFFF", "CC0000", "CCCCCC"},
["Hokkaido Nippon-Ham Fighters"] = {"00508f", "FFFFFF", "e6a722", "000000"},
 ["Hokkaido Nippon Ham Fighters"] = "Hokkaido Nippon-Ham Fighters",
["Tohoku Rakuten Golden Eagles"] = {"870010", "FFFFFF", "ECAC00", "FFFFFF"},
["Saitama Seibu Lions"] = {"143D69", "FFFFFF", "BB0119", "FFFFFF"},
["Chiba Lotte Marines"] = {"000000", "FFFFFF", "BE2335", "FFFFFF"},
["Orix Buffaloes"] = {"000019", "FFFFFF", "a47e10", "FFFFFF"},
["Fukuoka SoftBank Hawks"] = {"000000", "FFFFFF", "F7C500", "000000"},
-- Korea --
["Doosan Bears"] = {"131230", "FFFFFF", "ED1C24", "FFFFFF"},
["Hanwha Eagles"] = {"FF6600", "000000", "000000", "FFFFFF"},
["Kia Tigers"] = {"C70026", "FFFFFF", "000000", "FFFFFF"},
["KT Wiz"] = {"000000", "FFFFFF", "EC1C24", "FFFFFF"},
["LG Twins"] = {"000000", "FFFFFF", "C7004E", "FFFFFF"},
["Lotte Giants"] = {"000000", "FFFFFF", "FF6600", "FFFFFF"},
["NC Dinos"] = {"315288", "FFFFFF", "AF917B", "00275A"},
["Nexen Heroes"] = {"990000", "FFFFFF", "999999", "000000"},
["Samsung Lions"] = {"0066B3", "FFFFFF", "C0C0C0", "000000"},
["SK Wyverns"] = {"E1002A", "FFFFFF", "EF8000", "FFFFFF"},
-- Taiwan --
["Uni-President 7-Eleven Lions"] = {"E88220", "FFFFFF", "000000", "E88220"},
  ["Uni-President Lions"] = "Uni-President 7-Eleven Lions",
["Fubon Guardians"] = {"004A9C", "FFFFFF", "CECECE", "004A9C"},
["Lamigo Monkeys"] = {"006090", "FFFFFF", "000000", "CF9F60"},
["Chinatrust Brothers"] = {"FFD000", "000000", "000000", "FFFFFF"},
-- China --
["Beijing Tigers"] = {"000000", "FFFF00", "FFFF00", "000000"},
["Tianjin Lions"] = {"008000", "FFFFFF", "000000", "FFFFFF"},
["Sichuan Dragons"] = {"8B52A1", "FFFF00", "8B52A1", "FFFFFF"},
["Guangdong Leopards"] = {"191970", "FFD400", "191970", "FFFFFF"},
["Jiangsu Pegasus"] = {"FF9900", "000000", "FF9900", "000000"},
["Shanghai Golden Eagles"] = {"ED1C24", "FFD400", "ED1C24", "FFFFFF"},
["Henan Elephants"] = {"003366", "FFFFFF", "666666", "FFFFFF"},
-- Australia --
["Adelaide Bite"] = {"00295B", "FFD700", "D21044", "FFD700"},
["Brisbane Bandits"] = {"000000", "FFD700", "950500", "FFD700"},
["Canberra Cavalry"] = {"FF7721", "FFFFFF", "000000", "FFFFFF"},
["Melbourne Aces"] = {"AA2506", "FFFFFF", "110E3D", "FFFFFF"},
["Perth Heat"] = {"B41502", "FFFFFF", "000000", "FFFFFF"},
["Sydney Blue Sox"] = {"56A0D3", "FFFFFF", "000000", "FFFFFF"},
-- Mexico --
["Vaqueros Unión Laguna"] = {"381117", "FFFFFF", "381117", "FFFFFF"},
["Diablos Rojos del México"] = {"D11F2F", "FFFFFF", "D11F2F", "FFFFFF"},
["Acereros de Monclova"] = {"253784", "FFFFFF", "FF000B", "FFFFFF"},
["Sultanes de Monterrey"] = {"082142", "FFFFFF", "E23941", "FFFFFF"},
["Pericos de Puebla"] = {"0B5541", "EDD03D", "0B5541", "EDD03D"},
["Saraperos de Saltillo"] = {"09B9AA", "000000", "09B9AA", "000000"},
["Rieleros de Aguascalientes"] = {"0E283F", "FFFFFF", "F9D21C", "0E283F"},
["Piratas de Campeche"] = {"032B53", "FFFFFF", "AC131B", "FFFFFF"},
["Guerreros de Oaxaca"] = {"000000", "FFFFFF", "000000", "FFFFFF"},
["Tigres de Quintana Roo"] = {"0E0D4E", "FFFFFF", "EF592F", "FFFFFF"},
["Olmecas de Tabasco"] = {"3E4095", "FFFFFF", "FCBA0B", "3E4095"},
["Rojos del Águila de Veracruz"] = {"C3151C", "FFFFFF", "C3151C", "FFFFFF"},
["Leones de Yucatán"] = {"004A26", "FFFFFF", "FF6A12", "FFFFFF"},
["Toros de Tijuana"] = {"000000", "FFFFFF", "B42127", "FFFFFF"},
["Bravos de León"] = {"001628", "EAA11F", "DF040A", "FFFFFF"},
["Generales de Durango"] = {"024725", "FFFFFF", "00AE4C", "FFFFFF"},
-- Puerto Rico --
["Cangrejeros de Santurce"] = {"11225B", "FFFFFF", "808080", "FFFFFF"},
["Criollos de Caguas"] = {"C20B26", "FFFFFF", "878785", "FFFFFF"},
["Indios de Mayagüez"] = {"97374A", "FFFFFF", "FB9626", "FFFFFF"},
-- Independent --
["Lancaster Barnstormers"] = {"C41230", "FFFFFF", "040204", "D4AE80"},
["Southern Maryland Blue Crabs"] = {"003263 ", "FFFFFF", "669AC9", "FFFFFF"},
["Sugar Land Skeeters"] = {"0047AB", "FFFFFF", "000000", "FCF75E"},
["York Revolution"] = {"002A5C", "FFFFFF", "FDB930", "002A5C"},
["Bridgeport Bluefish"] = {"000F2F", "FFFFFF", "0094A0", "FFFFFF"},
["Long Island Ducks"] = {"045739 ", "FFFFFF", "F47939", "000000"},
["New Britain Bees"] = {"FFB611", "000000", "000000", "FFFFFF"},
["Somerset Patriots"] = {"003263", "FFFFFF", "910029", "FFFFFF"},
["Fargo-Moorhead RedHawks"] = {"000000", "FFFFFF", "D0112B", "FFFFFF"},
["Sioux Falls Canaries"] = {"015DAA", "FFFFFF", "000000", "FEE514"},
["St. Paul Saints"] = {"0150A3", "FFFFFF", "0150A3", "FFFFFF"},
["Winnipeg Goldeyes"] = {"C41E3A", "FFFFFF", "001450", "FFFFFF"},
["Gary SouthShore RailCats"] = {"114B3D", "FFFFFF", "8C3931", "FFFFFF"},
["Kansas City T-Bones"] = {"000000", "FFFFFF", "A61D45", "FFFFFF"},
["Lincoln Saltdogs"] = {"001D38", "FFFFFF", "B6A010", "FFFFFF"},
["Sioux City Explorers"] = {"000000", "FFFFFF", "C52D2E", "FFFFFF"},
["Cleburne Railroaders"] = {"001822", "F7E7C8", "939393", "001822"},
["Salina Stockade"] = {"000623", "FFFFFF", "003C78", "B4B4B6"},
["Wichita Wingnuts"] = {"B6121B", "FFFFFF", "000000", "CDD2D5"},
["Texas AirHogs"] = {"000000", "A5ADB0", "B02125", "FFFFFF"},
["New Jersey Jackals"] = {"C80815", "FFFFFF", "000000", "FFFFFF"},
["Ottawa Champions"] = {"CA1F2C", "FFFFFF", "002387", "FFFFFF"},
["Québec Capitales"] = {"013674", "FEB827", "FEB827", "013674"},
["Rockland Boulders"] = {"0047AB", "FFFFFF", "FF0800", "FFFFFF"},
["Sussex County Miners"] = {"000000", "FFA824", "FFA824", "000000"},
["Trois-Rivières Aigles"] = {"000000", "FFFFFF", "b31b1b", "FFFFFF"},
}