Modul:Sports color/baseball/doc

Ini adalah halaman dokumentasi untuk Modul:Sports color/baseball

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

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

suntiang

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

Test table

suntiang
Team1234Contrast
1/24/3
Acereros de Monclova10.723.99
Adelaide Bite10.23.84
Algodoneros de Unión Laguna16.6616.66
American League6.2816.54
Arizona Diamondbacks7.4314.29
Atlanta Braves15.796.6
Auckland Tuatara6.8615.94
Baltimore Orioles214.19
Beijing Tigers19.5619.56
Boston Red Sox5.7614.03
Bravos de León8.45.05
Brisbane Bandits14.976.51
Brooklyn Dodgers7.147.14
California Angels12.836.75
Canberra Cavalry2.6521
Cangrejeros de Santurce14.963.95
Charros de Jalisco10.8210.82
Chiba Lotte Marines2113.13
Chicago Cubs11.445.11
Chicago Dogs2.284.35
Chicago White Sox2113.13
Chinatrust Brothers14.2721
Chunichi Dragons12.0712.07
Cincinnati Reds6.1321
Cleburne Railroaders14.925.92
Cleveland Indians4.7114
Colorado Rockies15.3313.13
Criollos de Caguas6.233.6
Detroit Tigers13.94.74
Diablos Rojos del México5.325.32
Doosan Bears18.154.38
Evansville Otters14.2810.95
Fargo-Moorhead RedHawks215.53
Florida Marlins217.23
Fubon Guardians8.545.43
Fukuoka SoftBank Hawks13.8921
Gary SouthShore RailCats10.017.65
Gateway Grizzlies12.833.8
Generales de Durango12.127.26
Guangdong Leopards10.3714.85
Guerreros de Oaxaca2121
Hanshin Tigers2114.37
Hanwha Eagles7.1521
Henan Elephants12.615.74
High Point Rockers2.9312.67
Hiroshima Toyo Carp4.812.03
Hokkaido Nippon-Ham Fighters
Also known as Hokkaido Nippon Ham Fighters
8.259.88
Houston Astros13.536.78
Houston Colt .45's13.536.78
Indios de Mayagüez7.092.21
Jiangsu Pegasus9.819.81
Joliet Slammers8.162.63
KT Wiz214.41
Kansas City Athletics4.8112.33
Kansas City Royals9.438.01
Kansas City T-Bones217.28
Kia Tigers6.0821
Kiwoom Heroes8.927.37
LG Twins215.93
Lake Erie Crushers5.495.49
Lamigo Monkeys6.838.78
Lancaster Barnstormers6.0410.01
Leones de Yucatán10.462.87
Lincoln Saltdogs17.032.62
Long Island Ducks8.657.64
Los Angeles Angels
Also known as Anaheim Angels
6.7512.83
Los Angeles Angels of Anaheim6.7512.83
Los Angeles Dodgers7.147.14
Lotte Giants14.085.12
Melbourne Aces7.0618.2
Miami Marlins217.32
Miami Marlins 2012thru2018217.15
Milwaukee Braves14.685.55
Milwaukee Brewers14.689.28
Milwaukee Milkmen2121
Minnesota Twins145.34
Montreal Expos11.854.85
NC Dinos7.84.98
National League16.546.28
New Jersey Jackals621
New York Boulders8.443.97
New York Giants216.66
New York Mets12.986.69
New York Yankees15.299.56
Oakland Athletics13.046.87
Olmecas de Tabasco4.534.53
Orix Buffaloes20.319.15
Osaka Kintetsu Buffaloes15.844.17
Pericos de Puebla5.735.73
Perth Heat6.8921
Philadelphia Athletics10.64.72
Philadelphia Phillies4.5712.16
Piratas de Campeche14.247.33
Pittsburgh Pirates2112.06
Québec Capitales6.796.79
Rakuten Monkeys6.536.53
Rieleros de Aguascalientes15.0610.23
Road Warriors5.637.37
SK Wyverns4.962.71
Saitama Seibu Lions11.056.71
Samsung Lions5.9111.54
San Diego Padres15.19.47
San Francisco Giants216.66
Saraperos de Saltillo7.277.27
Schaumburg Boomers217.74
Seattle Mariners13.97.82
Seattle Pilots14.7610.13
Shanghai Golden Eagles3.064.38
Sichuan Dragons5.125.5
Sioux City Explorers215.54
Sioux Falls Canaries6.6716.43
Somerset Patriots12.839.39
Southern Illinois Miners6.526.52
Southern Maryland Blue Crabs12.832.99
St. Louis Browns11.464.31
St. Louis Cardinals5.8417.62
St. Paul Saints7.847.84
Sugar Land Skeeters8.4418.61
Sultanes de Monterrey16.074.29
Sussex County Miners10.8810.88
Sydney Blue Sox2.8521
Tampa Bay Devil Rays13.0321
Tampa Bay Rays13.766.88
Tecolotes de los Dos Laredos
Also known as Tecolotes Dos Laredos
17.285.34
Texas AirHogs9.26.8
Texas Rangers12.166.29
Tianjin Lions5.1421
Tigres de Quintana Roo17.73.42
Tohoku Rakuten Golden Eagles10.3110.47
Tokyo Yakult Swallows5.018.01
Tomateros de Culiacán10.9510.95
Toronto Blue Jays8.764.41
Toros de Tijuana216.59
Trois-Rivières Aigles216.8
Uni-President 7-Eleven Lions
Also known as Uni-President Lions
2.757.65
Washington Nationals7.6814.96
Washington Senators145.55
Washington Wild Things7.9721
Windy City ThunderBolts6.0221
Winnipeg Goldeyes5.8417.27
Yokohama DeNA BayStars
Also known as Yokohama BayStars
9.993.31
Yomiuri Giants321
York Revolution14.138.18
Free agentXX15.31
RetiredXX15.31
The numeric columns are the calculated contrast ratio for the first/second and the fourth/third colors. Anything lower than 3 is very poor contrast and should be changed in the data module. For more information, see Template:Color contrast ratio.