Module:College color/data/doc: Difference between revisions

Content deleted Content added
Test table: +documentation for contrast borrowed from Template:Color contrast ratio/doc
Format: adding refs
Line 6:
Most lines will be of the following form
<pre>
["TEAM NAME"] = {"HEX1", "HEX2", ref="...", ref2="..."},
</pre>
or
<pre>
["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", ref="...", ref2="..."},
</pre>
The trailing comma is very important. Here, <code>HEX1</code>, <code>HEX2</code>, and <code>HEX3</code> are hexadecimal color values. The <code>ref="..."</code>, <code>ref2="..."</code> are the references needed in order to update the colors.
 
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