模块:Sports color/esports/doc
这是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
Team | 1 | 2 | 3 | 4 | Contrast | |
---|---|---|---|---|---|---|
1/2 | 4/3 | |||||
100 Thieves | 4.23 | 21 | ||||
ATL Academy | 9.18 | 12.82 | ||||
Astralis | 4 | 21 | ||||
Atlanta Reign Also known as ATL | 9.18 | 12.82 | ||||
Bilibili Gaming | 7.35 | 10.35 | ||||
Boston Uprising Also known as BOS | 8.43 | 19.24 | ||||
British Hurricane | 14.45 | 11.04 | ||||
Chengdu Hunters Also known as CDH | 10.73 | 3 | ||||
Cloud9 | 2.62 | 9.79 | ||||
Complexity Gaming | 14 | 8.79 | ||||
Counter Logic Gaming | 2.41 | 5.14 | ||||
Dallas Fuel Also known as DAL | 15.93 | 4.95 | ||||
Dignitas | 13.98 | 19.17 | ||||
Eternal Academy | 10.89 | 9.58 | ||||
Evil Geniuses | 18.7 | 13.98 | ||||
FaZe Clan | 4.19 | 21 | ||||
Florida Mayhem Also known as FLA | 5.82 | 21 | ||||
Fnatic | 6.68 | 21 | ||||
Fusion University | 9.95 | 21 | ||||
G2 Esports | 21 | 4.34 | ||||
Gladiators Legion | 9.69 | 21 | ||||
Guangzhou Charge Also known as GZC | 14.34 | 3.05 | ||||
Hangzhou Spark Also known as HZS | 3.05 | 3.61 | ||||
Houston Outlaws Also known as HOU | 21 | 12.04 | ||||
LGE.Huya | 11.03 | 21 | ||||
London Spitfire Also known as LDN | 11.04 | 10.81 | ||||
Los Angeles Gladiators Also known as GLA | 15.1 | 21 | ||||
Los Angeles Valiant Also known as VAL | 3.91 | 14.37 | ||||
Luminosity Gaming | 9.42 | 14.59 | ||||
Montreal Rebellion | 7.02 | 21 | ||||
NRG Esports | 21 | 21 | ||||
Natus Vincere | 17.95 | 21 | ||||
New York Excelsior Also known as NYE | 16.67 | 3.86 | ||||
OpTic Chicago | 11.58 | 19.93 | ||||
PSG Esports | 11.23 | 4.65 | ||||
Paris Eternal Also known as PAR | 10.89 | 9.58 | ||||
Philadelphia Fusion Also known as PHI | 9.95 | 21 | ||||
Renegades | 12.2 | 7.58 | ||||
Rogue | 8.73 | 15.77 | ||||
RunAway | 7.71 | 13.76 | ||||
San Francisco Shock Also known as SFS | 21 | 9.12 | ||||
Seoul Dynasty Also known as SEO | 21 | 3.3 | ||||
Shanghai Dragons Also known as SHD | 5.16 | 21 | ||||
T1 | 4.91 | 21 | ||||
Team CC | 3.32 | 5.1 | ||||
Team Envy | 15.79 | 4.89 | ||||
Team SoloMid | 21 | 21 | ||||
Team Vitality | 13.46 | 16.34 | ||||
Tempo Storm | 5.04 | 17.22 | ||||
The One Winner | 4.22 | 3.94 | ||||
Toronto Defiant Also known as TOR | 21 | 6.38 | ||||
Ultra Prime Academy | 14.19 | 13.8 | ||||
Uprising Academy | 9.53 | 15.19 | ||||
Vancouver Titans Also known as VAN | 14.4 | 3.2 | ||||
Virtus.pro | 3.3 | 17.85 | ||||
Washington Justice Also known as WAS | 8.74 | 12.02 | ||||
XL2 Academy | 16.67 | 5.88 | ||||
Free agent | X | X | 15.31 | |||
Retired | X | X | 15.31 |
数字栏位部分为第一/第二以及第三/第四颜色的对比比值计算结果。如果数值低于3,代表该组颜色对比度很差,必须在资料模组部分进行更改。更多资讯请参考Template:Color contrast ratio。