Modul:Sports color/baseball/doc
Tampilan
Ini adalah halaman dokumentasi untuk Modul:Sports color/baseball
Modul lua ini digunakan dalam banyak halaman, sehingga perubahan pada halaman ini akan muncul di banyak halaman. Silakan menguji perubahan di subhalaman /bak pasir atau /kasus uji modul ini. Pertimbangkan juga untuk mendiskusikannya di halaman pembicaraan sebelum menerapkan perubahan. |
Modul ini dinilai siap digunakan secara umum. Modul ini sudah matang dan diperkirakan bebas dari bug dan siap digunakan pada tempat yang tepat di manapun. Modul ini siap disinggung di halaman-halaman bantuan dan sumber informasi Wikipedia lainnya sebagai pilihan untuk dipelajari para pengguna baru. Untuk mengurangi beban server dan output yang tidak diharapkan, modul ini harus diperlengkapi dengan halaman bak pasir dan kasus uji daripada harus melakukan suntingan coba-dan-salah berulang-ulang. |
This is the data module used by Module:Sports color. Please test any changes in Module:Sports color/baseball/sandbox first.
Format
[suntiang sumber]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 sumber]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 sumber]Team | 1 | 2 | 3 | 4 | Contrast | |
---|---|---|---|---|---|---|
1/2 | 4/3 | |||||
Acereros de Monclova | 10.72 | 3.99 | ||||
Adelaide Bite | 10.2 | 3.84 | ||||
Algodoneros de Unión Laguna | 16.66 | 16.66 | ||||
American League | 6.28 | 16.54 | ||||
Arizona Diamondbacks | 7.43 | 14.29 | ||||
Atlanta Braves | 15.79 | 6.6 | ||||
Auckland Tuatara | 6.86 | 15.94 | ||||
Baltimore Orioles | 21 | 4.19 | ||||
Beijing Tigers | 19.56 | 19.56 | ||||
Boston Red Sox | 5.76 | 14.03 | ||||
Bravos de León | 8.4 | 5.05 | ||||
Brisbane Bandits | 14.97 | 6.51 | ||||
Brooklyn Dodgers | 7.14 | 7.14 | ||||
California Angels | 12.83 | 6.75 | ||||
Canberra Cavalry | 2.65 | 21 | ||||
Cangrejeros de Santurce | 14.96 | 3.95 | ||||
Charros de Jalisco | 10.82 | 10.82 | ||||
Chiba Lotte Marines | 21 | 13.13 | ||||
Chicago Cubs | 11.44 | 5.11 | ||||
Chicago Dogs | 2.28 | 4.35 | ||||
Chicago White Sox | 21 | 13.13 | ||||
Chinatrust Brothers | 14.27 | 21 | ||||
Chunichi Dragons | 12.07 | 12.07 | ||||
Cincinnati Reds | 6.13 | 21 | ||||
Cleburne Railroaders | 14.92 | 5.92 | ||||
Cleveland Indians | 4.71 | 14 | ||||
Colorado Rockies | 15.33 | 13.13 | ||||
Criollos de Caguas | 6.23 | 3.6 | ||||
Detroit Tigers | 13.9 | 4.74 | ||||
Diablos Rojos del México | 5.32 | 5.32 | ||||
Doosan Bears | 18.15 | 4.38 | ||||
Evansville Otters | 14.28 | 10.95 | ||||
Fargo-Moorhead RedHawks | 21 | 5.53 | ||||
Florida Marlins | 21 | 7.23 | ||||
Fubon Guardians | 8.54 | 5.43 | ||||
Fukuoka SoftBank Hawks | 13.89 | 21 | ||||
Gary SouthShore RailCats | 10.01 | 7.65 | ||||
Gateway Grizzlies | 12.83 | 3.8 | ||||
Generales de Durango | 12.12 | 7.26 | ||||
Guangdong Leopards | 10.37 | 14.85 | ||||
Guerreros de Oaxaca | 21 | 21 | ||||
Hanshin Tigers | 21 | 14.37 | ||||
Hanwha Eagles | 7.15 | 21 | ||||
Henan Elephants | 12.61 | 5.74 | ||||
High Point Rockers | 2.93 | 12.67 | ||||
Hiroshima Toyo Carp | 4.8 | 12.03 | ||||
Hokkaido Nippon-Ham Fighters Also known as Hokkaido Nippon Ham Fighters | 8.25 | 9.88 | ||||
Houston Astros | 13.53 | 6.78 | ||||
Houston Colt .45's | 13.53 | 6.78 | ||||
Indios de Mayagüez | 7.09 | 2.21 | ||||
Jiangsu Pegasus | 9.81 | 9.81 | ||||
Joliet Slammers | 8.16 | 2.63 | ||||
KT Wiz | 21 | 4.41 | ||||
Kansas City Athletics | 4.81 | 12.33 | ||||
Kansas City Royals | 9.43 | 8.01 | ||||
Kansas City T-Bones | 21 | 7.28 | ||||
Kia Tigers | 6.08 | 21 | ||||
Kiwoom Heroes | 8.92 | 7.37 | ||||
LG Twins | 21 | 5.93 | ||||
Lake Erie Crushers | 5.49 | 5.49 | ||||
Lamigo Monkeys | 6.83 | 8.78 | ||||
Lancaster Barnstormers | 6.04 | 10.01 | ||||
Leones de Yucatán | 10.46 | 2.87 | ||||
Lincoln Saltdogs | 17.03 | 2.62 | ||||
Long Island Ducks | 8.65 | 7.64 | ||||
Los Angeles Angels Also known as Anaheim Angels | 6.75 | 12.83 | ||||
Los Angeles Angels of Anaheim | 6.75 | 12.83 | ||||
Los Angeles Dodgers | 7.14 | 7.14 | ||||
Lotte Giants | 14.08 | 5.12 | ||||
Melbourne Aces | 7.06 | 18.2 | ||||
Miami Marlins | 21 | 7.32 | ||||
Miami Marlins 2012thru2018 | 21 | 7.15 | ||||
Milwaukee Braves | 14.68 | 5.55 | ||||
Milwaukee Brewers | 14.68 | 9.28 | ||||
Milwaukee Milkmen | 21 | 21 | ||||
Minnesota Twins | 14 | 5.34 | ||||
Montreal Expos | 11.85 | 4.85 | ||||
NC Dinos | 7.8 | 4.98 | ||||
National League | 16.54 | 6.28 | ||||
New Jersey Jackals | 6 | 21 | ||||
New York Boulders | 8.44 | 3.97 | ||||
New York Giants | 21 | 6.66 | ||||
New York Mets | 12.98 | 6.69 | ||||
New York Yankees | 15.29 | 9.56 | ||||
Oakland Athletics | 13.04 | 6.87 | ||||
Olmecas de Tabasco | 4.53 | 4.53 | ||||
Orix Buffaloes | 20.31 | 9.15 | ||||
Osaka Kintetsu Buffaloes | 15.84 | 4.17 | ||||
Pericos de Puebla | 5.73 | 5.73 | ||||
Perth Heat | 6.89 | 21 | ||||
Philadelphia Athletics | 10.6 | 4.72 | ||||
Philadelphia Phillies | 4.57 | 12.16 | ||||
Piratas de Campeche | 14.24 | 7.33 | ||||
Pittsburgh Pirates | 21 | 12.06 | ||||
Québec Capitales | 6.79 | 6.79 | ||||
Rakuten Monkeys | 6.53 | 6.53 | ||||
Rieleros de Aguascalientes | 15.06 | 10.23 | ||||
Road Warriors | 5.63 | 7.37 | ||||
SK Wyverns | 4.96 | 2.71 | ||||
Saitama Seibu Lions | 11.05 | 6.71 | ||||
Samsung Lions | 5.91 | 11.54 | ||||
San Diego Padres | 15.1 | 9.47 | ||||
San Francisco Giants | 21 | 6.66 | ||||
Saraperos de Saltillo | 7.27 | 7.27 | ||||
Schaumburg Boomers | 21 | 7.74 | ||||
Seattle Mariners | 13.9 | 7.82 | ||||
Seattle Pilots | 14.76 | 10.13 | ||||
Shanghai Golden Eagles | 3.06 | 4.38 | ||||
Sichuan Dragons | 5.12 | 5.5 | ||||
Sioux City Explorers | 21 | 5.54 | ||||
Sioux Falls Canaries | 6.67 | 16.43 | ||||
Somerset Patriots | 12.83 | 9.39 | ||||
Southern Illinois Miners | 6.52 | 6.52 | ||||
Southern Maryland Blue Crabs | 12.83 | 2.99 | ||||
St. Louis Browns | 11.46 | 4.31 | ||||
St. Louis Cardinals | 5.84 | 17.62 | ||||
St. Paul Saints | 7.84 | 7.84 | ||||
Sugar Land Skeeters | 8.44 | 18.61 | ||||
Sultanes de Monterrey | 16.07 | 4.29 | ||||
Sussex County Miners | 10.88 | 10.88 | ||||
Sydney Blue Sox | 2.85 | 21 | ||||
Tampa Bay Devil Rays | 13.03 | 21 | ||||
Tampa Bay Rays | 13.76 | 6.88 | ||||
Tecolotes de los Dos Laredos Also known as Tecolotes Dos Laredos | 17.28 | 5.34 | ||||
Texas AirHogs | 9.2 | 6.8 | ||||
Texas Rangers | 12.16 | 6.29 | ||||
Tianjin Lions | 5.14 | 21 | ||||
Tigres de Quintana Roo | 17.7 | 3.42 | ||||
Tohoku Rakuten Golden Eagles | 10.31 | 10.47 | ||||
Tokyo Yakult Swallows | 5.01 | 8.01 | ||||
Tomateros de Culiacán | 10.95 | 10.95 | ||||
Toronto Blue Jays | 8.76 | 4.41 | ||||
Toros de Tijuana | 21 | 6.59 | ||||
Trois-Rivières Aigles | 21 | 6.8 | ||||
Uni-President 7-Eleven Lions Also known as Uni-President Lions | 2.75 | 7.65 | ||||
Washington Nationals | 7.68 | 14.96 | ||||
Washington Senators | 14 | 5.55 | ||||
Washington Wild Things | 7.97 | 21 | ||||
Windy City ThunderBolts | 6.02 | 21 | ||||
Winnipeg Goldeyes | 5.84 | 17.27 | ||||
Yokohama DeNA BayStars Also known as Yokohama BayStars | 9.99 | 3.31 | ||||
Yomiuri Giants | 3 | 21 | ||||
York Revolution | 14.13 | 8.18 | ||||
Free agent | X | X | 15.31 | |||
Retired | X | X | 15.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.