请输入您要查询的百科知识:

 

词条 Module:Sports color/basketball/doc
释义

  1. Format

  2. Warning

  3. Test table

{{high-use|16000}}{{module rating|release}}

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

Test table

{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:Sports color/contrast|testtable|sport=basketball/sandbox}}
|{{#invoke:Sports color/contrast|testtable|sport=basketball}}
}}

{{#ifeq:{{SUBPAGENAME}}|sandbox||


|#ifeq:{{Kansas City Tornados}}:#ED174C/contrast|testtable|sport=basketball}}
  1. 006BB6"/contrast|testtable|sport=basketball}}

"Mesquite Desert Dogs"={"#C2B280", "#FF3C00", "#174885"}

}}

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 6:47:34