Module:Sports color/esports/doc

From blackwiki
Jump to navigation Jump to search

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

This is the data module used by Module:Sports color.

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.

Test table

Team1234Contrast
1/24/3
ATL Academy9.1812.82
Atlanta Reign9.1812.82
Bilibili Gaming7.3510.35
Boston Uprising8.4317.85
British Hurricane14.4511.04
Chengdu Hunters10.733
Dallas Fuel15.934.95
Eternal Academy10.899.58
Florida Mayhem5.8221
Fusion University9.9521
Gladiators Legion9.6921
Guangzhou Charge14.343.05
Hangzhou Spark3.053.61
Houston Outlaws2112.04
LGE.Huya11.0321
London Spitfire11.0410.81
Los Angeles Gladiators15.121
Los Angeles Valiant3.9114.37
Montreal Rebellion7.0221
New York Excelsior16.673.86
Paris Eternal10.899.58
Philadelphia Fusion9.9521
RunAway7.7113.76
San Francisco Shock219.12
Seoul Dynasty213.3
Shanghai Dragons5.1621
T14.9121
T1w.GZA14.343.05
Team CC3.325.1
Team Envy15.794.89
Toronto Defiant216.38
Uprising Academy9.5315.19
Vancouver Titans14.43.2
Washington Justice8.7412.02
XL2 Academy16.675.88
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.