FANDOM


{{high-use|8000}}
{{module rating|release}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
This is the data module used by [[Module:Basketball color]].  Please test any changes in [[Module:Basketball color/data/sandbox]] first.
 
== Format ==
Most lines will be of the following form
<pre>
 ["TEAM NAME"] = {"HEX1", "HEX2", "HEX3", "HEX4"},
</pre>
The trailing comma is very important.  Here, <code>HEX1</code>, <code>HEX2</code>, <code>HEX3</code>, and <code>HEX4</code> 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 
<pre>
 ["SECONDARY TEAM NAME"] = "TEAM NAME",
</pre>
where <code>TEAM NAME</code> has already been defined, and <code>SECONDARY TEAM NAME</code> 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:Basketball color/data/sandbox]] first.
 
== Test table ==
{{#ifeq:{{SUBPAGENAME}}|sandbox
|{{#invoke:Basketball color|testtable|data=Module:Basketball color/data/sandbox}}
|{{#invoke:Basketball color|testtable}}
}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
 
}}</includeonly>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.