Module:Sports color/baseball/doc

MyWikiBiz, Author Your Legacy — Thursday November 28, 2024
< Module:Sports color‎ | baseball
Revision as of 06:08, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:Sports color/baseball

Template:High-use Template:Module rating

This is the data module used by Module:Sports color. Please test any changes in Module:Sports color/baseball/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:Sports color/baseball/sandbox first.

Test table

Team1234Contrast
1/24/3
Acereros de Monclova10.723.99
Adelaide Bite10.23.84
Alazanes de Granma16.144.03
Algodoneros de Unión Laguna16.6616.66
American League6.2816.54
Arizona Diamondbacks7.4314.29
Arizona Diamondbacks 1998thru20069.387.47
Arrows Ostrava15.694.98
Atlanta Braves15.796.6
Auckland Tuatara6.8615.94
Avispas de Santiago de Cuba421
Azucareros de Villa Clara213.65
Baltimore Orioles215.01
Beijing Tigers19.5619.56
Boston Americans15.4715.47
Boston Braves5.8815.79
Boston Red Sox5.7614.03
Bravos de León8.45.05
Bravos de Margarita7.372.85
Bravos de Reynosa5.225.22
Brisbane Bandits14.976.51
Brooklyn Dodgers11.8511.85
CTBC Brothers14.2721
California Angels12.836.75
Canberra Cavalry2.6521
Cangrejeros de Santurce14.963.95
Cardenales de Lara5.0621
Cardion Hroši Brno17.3217.32
Caribes de Anzoátegui3.115.93
Cazadores de Artemisa4.0615.84
Charros de Jalisco10.8210.82
Chiba Lotte Marines2113.13
Chicago Cubs11.445.11
Chicago Dogs2.284.35
Chicago White Sox2113.13
Chunichi Dragons12.0712.07
Cincinnati Reds6.1321
Cleburne Railroaders18.679.12
Cleveland Indians144.71
Cocodrilos de Matanzas3.723.72
Colorado Rockies15.3313.13
Criollos de Caguas6.233.6
Detroit Tigers13.94.74
Diablos Rojos del México5.325.32
Doosan Bears18.154.38
Draci Brno7.1121
Eagles Praha8.438.43
El Águila de Veracruz4.754.75
Elefantes de Cienfuegos5.0721
Estrellas Orientales7.297.29
Evansville Otters14.2810.95
Fargo-Moorhead RedHawks215.53
Florence Y'alls4.2310.83
Florida Marlins216.31
Fubon Guardians8.545.43
Fukuoka SoftBank Hawks13.8921
Gallos de Sancti Spíritus15.953.65
Gary SouthShore RailCats10.017.65
Gastonia Honey Hunters8.992.87
Gateway Grizzlies12.833.8
Generales de Durango12.127.26
Gigantes del Cibao10.0610.06
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.2510.54
Houston Astros
Also known as Houston Colt .45's
13.536.78
Huracanes de Mayabeque10.3410.34
Indios de Guantánamo19.5619.56
Indios de Mayagüez7.092.21
Industriales16.1416.14
Jiangsu Pegasus9.819.81
Joliet Slammers8.162.63
KT Wiz214.41
Kane County Cougars7.987.3
Kansas City Athletics4.8112.33
Kansas City Monarchs13.746.09
Kansas City Royals9.438.01
Kia Tigers6.0821
Kiwoom Heroes8.927.37
Kotlářka Praha9.366
LG Twins215.93
Lake Erie Crushers5.495.49
Lamigo Monkeys6.838.78
Lancaster Barnstormers6.0410.05
Leones de Yucatán10.462.87
Leones del Caracas13.77.85
Leones del Escogido211.43
Lexington Legends5.83.47
Leñadores de Las Tunas5.073.99
Lincoln Saltdogs17.032.62
Long Island Ducks8.657.64
Los Angeles Angels
Also known as Anaheim Angels
Also known as Los Angeles Angels of Anaheim
6.7512.83
Los Angeles Dodgers7.147.14
Lotte Giants14.085.12
Mariachis de Guadalajara2121
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
Navegantes del Magallanes4.854.85
New Jersey Jackals621
New York Boulders8.443.97
New York Giants215.48
New York Mets12.986.69
New York Yankees15.2915.29
Nishi Nippon Pirates16.2810.72
Oakland Athletics13.046.87
Olmecas de Tabasco4.534.53
Orix Buffaloes20.318.85
Osaka Kintetsu Buffaloes15.844.17
Ottawa Titans215.25
Pericos de Puebla5.735.73
Perth Heat6.8921
Philadelphia Athletics10.64.72
Philadelphia Phillies4.5712.16
Piratas de Campeche15.094.81
Piratas de Isla de la Juventud4.714.71
Pittsburgh Pirates2112.06
Québec Capitales6.796.79
Rakuten Monkeys6.536.53
Rieleros de Aguascalientes15.0610.23
SSG Landers5.575.57
Sabuesos de Holguín19.419.4
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
Sokol Hluboká12.942.9
Southern Illinois Miners6.526.52
Southern Maryland Blue Crabs12.832.99
St. Louis Browns11.464.31
St. Louis Cardinals5.8417.62
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
Tempo Praha15.164.92
Texas Rangers12.166.29
Tianjin Lions5.1421
Tiburones de La Guaira4.7710.76
Tigres de Aragua16.336.7
Tigres de Ciego de Ávila3.874
Tigres de Quintana Roo17.73.42
Tigres del Licey9.259.25
Tohoku Rakuten Golden Eagles10.3110.47
Tokyo Yakult Swallows5.018.01
Tomateros de Culiacán10.9510.95
Toronto Blue Jays8.7613.27
Toros de Camagüey19.454.02
Toros de Tijuana216.59
Toros del Este3.5721
Tri-City ValleyCats4.7210.34
Trois-Rivières Aigles216.8
Třebíč Nuclears6.236.23
Uni-President 7-Eleven Lions
Also known as Uni-President Lions
2.757.65
Vegueros de Pinar del Río8.278.27
Washington Nationals7.6814.96
Washington Senators145.55
Washington Wild Things7.9721
Wei Chuan Dragons5.185.18
West Virginia Power15.812.1
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
Águilas Cibaeñas13.4613.46
Águilas de Zulia8.78.7
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.