モジュール:College color/data/doc


This is the data module used by Module:College color. Color contrast should meet Web Content Accessibility Guidelines (WCAG) 2.0's AAA level when feasible (see Wikipedia:Manual of Style/Accessibility#Color § ). Please test any changes in Module:College color/data/sandbox first.

Format[編集]

Most lines will be of the following form

 ["TEAM NAME"] = {"HEX1", "HEX2", name1="...", name2="...", cite="...", cite2="..."},

or

 ["TEAM NAME"] = {"HEX1", "HEX2", "HEX3",  name1="...", name3="...", cite="...", cite2="..."},

The trailing comma is very important. Here, HEX1, HEX2, and HEX3 are hexadecimal color values. The name1, name2, and name3 are to display the names of the school colors in the infoboxes. The cite and cite2 parameters are used to supply up to two full citations with a URL for verification of the colors for a school's entry. Unsourced entries that are challenged may be deleted.

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:College color/data/sandbox first.

Also, remember to leave the pound sign (#) out of the hex codes when adding or changing colors, as in dcdcdc. Some other data modules require the pound sign. This module does not require it.