Modul:Baseball color/data
Videz
![]() |
Predloga se uporablja na številnih straneh, zato bo vsaka njena sprememba takoj zelo opazna. Prosimo, da vse spremembe, ki jih želite uvesti, pred uvedbo preizkusite na podstraneh predloge (/peskovnik in /testniprimeri) ali na svojih lastnih podstraneh. Pred spreminjanjem te predloge se o želenih spremembah rajši pogovorite na pogovorni strani. |
This is the data module used by Modul:Baseball color. Please test any changes in Modul:Baseball color/data/peskovnik first.
Format
[uredi kodo]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
[uredi kodo]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/peskovnik first.
Test table
[uredi kodo]Team | 1 | 2 | 3 | 4 |
---|---|---|---|---|
Acereros de Monclova | ||||
Adelaide Bite | ||||
Arizona Diamondbacks | ||||
Atlanta Braves | ||||
Baltimore Orioles | ||||
Beijing Tigers | ||||
Boston Red Sox | ||||
Brisbane Bandits | ||||
Broncos de Reynosa | ||||
Brother Elephants | ||||
Canberra Cavalry | ||||
Chiba Lotte Marines | ||||
Chicago Cubs | ||||
Chicago White Sox | ||||
Chunichi Dragons | ||||
Cincinnati Reds | ||||
Cleveland Indians | ||||
Colorado Rockies | ||||
Delfines de Ciudad del Carmen aka Delfines del Carmen | ||||
Detroit Tigers | ||||
Diablos Rojos del México | ||||
Doosan Bears | ||||
EDA Rhinos | ||||
Florida Marlins | ||||
Fukuoka SoftBank Hawks | ||||
Guangdong Leopards | ||||
Guerreros de Oaxaca | ||||
Hanshin Tigers | ||||
Hanwha Eagles | ||||
Hiroshima Toyo Carp | ||||
Hokkaido Nippon Ham Fighters | ||||
Houston Astros | ||||
Jiangsu Hopestars | ||||
KT Wiz | ||||
Kansas City Royals | ||||
Kia Tigers | ||||
LG Twins | ||||
Lamigo Monkeys | ||||
Leones de Yucatán | ||||
Los Angeles Angels of Anaheim | ||||
Los Angeles Dodgers | ||||
Lotte Giants | ||||
Melbourne Aces | ||||
Miami Marlins | ||||
Milwaukee Brewers | ||||
Minnesota Twins | ||||
NC Dinos | ||||
New York Mets | ||||
New York Yankees | ||||
Nexen Heroes | ||||
Oakland Athletics | ||||
Olmecas de Tabasco | ||||
Orix Buffaloes | ||||
Pericos de Puebla | ||||
Perth Heat | ||||
Petroleros de Minatitlán | ||||
Philadelphia Phillies | ||||
Piratas de Campeche | ||||
Pittsburgh Pirates | ||||
Rieleros de Aguascalientes | ||||
Rojos del Águila de Veracruz | ||||
SK Wyverns | ||||
Saitama Seibu Lions | ||||
Samsung Lions | ||||
San Diego Padres | ||||
San Francisco Giants | ||||
Saraperos de Saltillo | ||||
Seattle Mariners | ||||
Shanghai Golden Eagles | ||||
Sichuan Dragons | ||||
St. Louis Cardinals | ||||
Sultanes de Monterrey | ||||
Sydney Blue Sox | ||||
Tampa Bay Rays | ||||
Texas Rangers | ||||
Tianjin Lions | ||||
Tigres de Quintana Roo | ||||
Tohoku Rakuten Golden Eagles | ||||
Tokyo Yakult Swallows | ||||
Toronto Blue Jays | ||||
Toros de Tijuana | ||||
Uni-President 7-Eleven Lions aka Uni-President Lions | ||||
Vaqueros Laguna | ||||
Washington Nationals | ||||
Yokohama DeNA BayStars aka Yokohama BayStars | ||||
Yomiuri Giants | ||||
dmedia T-REX | ||||
Free agent | ||||
Retired |
Zgornja dokumentacija je vključena iz Modul:Baseball color/data/dok. (uredi | zgodovina) Urejevalci lahko preizkušate ta modul v peskovniku (ustvari | mirror) in testnihprimerih (ustvari). Prosimo, da dodate kategorije v /dok podstran. Podstrani te predloge. |
return {
-- US/Canada --
["Arizona Diamondbacks"] = {"A6192E", "D9C89E", "000000", "FFFFFF"},
["Atlanta Braves"] = {"0F437C", "FFFFFF", "AF0039", "FFFFFF"},
["Baltimore Orioles"] = {"000000", "FF4500", "FF4500", "FFFFFF"},
["Boston Red Sox"] = {"BA313C", "FFFFFF", "0D2B56", "FFFFFF"},
["Chicago Cubs"] = {"0E3386", "FFFFFF", "D82427", "FFFFFF"},
["Chicago White Sox"] = {"000000", "FFFFFF", "C0C0C0", "000000"},
["Cincinnati Reds"] = {"C6011F", "FFFFFF", "000000", "FFFFFF"},
["Cleveland Indians"] = {"023465", "FFFFFF", "CC0000", "FFFFFF"},
["Colorado Rockies"] = {"000000", "8D9093", "24135F", "FFFFFF"},
["Detroit Tigers"] = {"0C2340", "FFFFFF", "FA4616", "FFFFFF"},
["Florida Marlins"] = {"249EA3", "FFFFFF", "249EA3", "FFFFFF"},
["Houston Astros"] = {"041E42", "FFFFFF", "CF4520", "FFFFFF"},
["Kansas City Royals"] = {"002D72", "FFFFFF", "6CACE4", "002D72"},
["Los Angeles Angels of Anaheim"] = {"BA0021", "FFFFFF", "0F437C", "FFFFFF"},
["Los Angeles Dodgers"] = {"002F6C", "FFFFFF", "002F6C", "FFFFFF"},
["Miami Marlins"] = {"000000", "FFFFFF", "f9423a", "FFFFFF"},
["Milwaukee Brewers"] = {"13294b", "FFFFFF", "89734c", "FFFFFF"},
["Minnesota Twins"] = {"051C43", "FFFFFF", "C6011F", "FFFFFF"},
["New York Mets"] = {"002d72", "FFFFFF", "fc4c02", "FFFFFF"},
["New York Yankees"] = {"132448", "FFFFFF", "C0C0C0", "1C2841"},
["Oakland Athletics"] = {"00483A", "F3BA21", "F3BA21", "00483A"},
["Philadelphia Phillies"] = {"E81828", "FFFFFF", "294898", "FFFFFF"},
["Pittsburgh Pirates"] = {"000000", "FFB40B", "FFB40B", "000000"},
["San Diego Padres"] = {"041E42", "FFFFFF", "B3A369", "041E42"},
["San Francisco Giants"] = {"000000", "FA4616", "FA4616", "FFFFFF"},
["Seattle Mariners"] = {"0C2C56", "C8C9CD", "005C5C", "C8C9CD"},
["St. Louis Cardinals"] = {"ba0c2f", "FFFFFF", "0c2340", "FFFFFF"},
["Tampa Bay Rays"] = {"092C5C", "78BDE7", "78BDE7", "092C5C"},
["Texas Rangers"] = {"003279", "FFFFFF", "BD1021", "FFFFFF"},
["Toronto Blue Jays"] = {"003DA5", "FFFFFF", "041E42", "FFFFFF"},
["Washington Nationals"] = {"BA122B", "FFFFFF", "11225B", "FFFFFF"},
-- Japan --
["Chunichi Dragons"] = {"000099", "FFFFFF", "000066", "CCCCCC"},
["Hanshin Tigers"] = {"FFFF00", "000000", "000000", "FFFFFF"},
["Yomiuri Giants"] = {"FF9933", "FFFFFF", "000000", "FFFFFF"},
["Yokohama DeNA BayStars"] = {"0064C8", "FFFFFF", "303550", "DCDCDC"},
["Yokohama BayStars"] = "Yokohama DeNA BayStars",
["Tokyo Yakult Swallows"] = {"000099", "FFFFFF", "FF0000", "FFFFFF"},
["Hiroshima Toyo Carp"] = {"FF0000", "FFFFFF", "CC0000", "CCCCCC"},
["Hokkaido Nippon Ham Fighters"] = {"006699", "FFFFFF", "999900", "FFFFFF"},
["Tohoku Rakuten Golden Eagles"] = {"990000", "FFFFFF", "660000", "CC9900"},
["Saitama Seibu Lions"] = {"143D69", "FFFFFF", "BB0119", "FFFFFF"},
["Chiba Lotte Marines"] = {"000000", "FFFFFF", "666666", "FFFFFF"},
["Orix Buffaloes"] = {"000066", "FFFFFF", "FFCC00", "660000"},
["Fukuoka SoftBank Hawks"] = {"000000", "FFFFFF", "FFCC00", "000000"},
-- Korea --
["Doosan Bears"] = {"000080", "FFFFFF", "FFFF00", "000080"},
["Hanwha Eagles"] = {"FF6600", "000000", "000000", "FFFFFF"},
["Kia Tigers"] = {"FF0000", "000000", "000000", "FFFFFF"},
["KT Wiz"] = {"000000", "FFFFFF", "EC1C24", "FFFFFF"},
["LG Twins"] = {"000000", "FFFFFF", "FF0000", "FFFFFF"},
["Lotte Giants"] = {"000000", "FFFFFF", "FF6600", "FFFFFF"},
["NC Dinos"] = {"315288", "FFFFFF", "AF917B", "00275A"},
["Nexen Heroes"] = {"990000", "FFFFFF", "FFCC00", "FFFFFF"},
["Samsung Lions"] = {"0066B3", "FFFFFF", "C0C0C0", "FFFFFF"},
["SK Wyverns"] = {"FF0000", "FFFFFF", "FF6600", "FFFFFF"},
-- China/Taiwan --
["Uni-President 7-Eleven Lions"] = {"004400", "FFFFFF", "FFA500", "FFFFFF"},
["Uni-President Lions"] = "Uni-President 7-Eleven Lions",
["EDA Rhinos"] = {"008000", "FFFFFF", "808080", "FFFFFF"},
["Lamigo Monkeys"] = {"008080", "FFFFFF", "008080", "FFFFFF"},
["dmedia T-REX"] = {"F00014", "FFFFFF", "000000", "FFFFFF"},
["Brother Elephants"] = {"FFD000", "000000", "000000", "FFFFFF"},
["Beijing Tigers"] = {"000000", "FFFF00", "000000", "FF0000"},
["Tianjin Lions"] = {"008000", "FFFFFF", "BDBDB7", "008000"},
["Sichuan Dragons"] = {"8B52A1", "FFFF00", "8B52A1", "FFFFFF"},
["Guangdong Leopards"] = {"191970", "FFD400", "191970", "FFFFFF"},
["Jiangsu Hopestars"] = {"FFA500", "000000", "FFA500", "FFFFFF"},
["Shanghai Golden Eagles"] = {"ED1C24", "FFD400", "ED1C24", "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 Laguna"] = {"DB6535", "000000", "DB6535", "000000"},
["Diablos Rojos del México"] = {"B9192F", "FFFFFF", "B9192F", "FFFFFF"},
["Acereros de Monclova"] = {"4F80BD", "FFFFFF", "4F80BD", "FFFFFF"},
["Sultanes de Monterrey"] = {"032952", "FFFFFF", "032952", "FFFFFF"},
["Pericos de Puebla"] = {"0A7C48", "F1ED1A", "0A7C48", "F1ED1A"},
["Broncos de Reynosa"] = {"087C58", "FFFFFF", "087C58", "FFFFFF"},
["Saraperos de Saltillo"] = {"000000", "27A1BD", "000000", "27A1BD"},
["Rieleros de Aguascalientes"] = {"1F3F5D", "FFFFFF", "1F3F5D", "FFFFFF"},
["Piratas de Campeche"] = {"04204C", "FFFFFF", "04204C", "FFFFFF"},
["Petroleros de Minatitlán"] = {"960707", "000000", "960707", "000000"},
["Guerreros de Oaxaca"] = {"D71F27", "FFFFFF", "D71F27", "FFFFFF"},
["Tigres de Quintana Roo"] = {"0E034F", "E95E27", "0E034F", "E95E27"},
["Olmecas de Tabasco"] = {"023928", "FFB718", "023928", "FFB718"},
["Rojos del Águila de Veracruz"] = {"C7161C", "FFFFFF", "C7161C", "FFFFFF"},
["Delfines de Ciudad del Carmen"] = {"243C6F", "77C4E7", "243C6F", "77C4E7"},
["Delfines del Carmen"] = "Delfines de Ciudad del Carmen",
["Leones de Yucatán"] = {"03451A", "FFFFFF", "03451A", "FFFFFF"},
["Toros de Tijuana"] = {"000000", "FF0000", "000000", "FF0000"},
}