Changes
Jump to navigation
Jump to search
doesn't work
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{high-use|90666}}
{{module rating|beta}}
{{Lua|Module:College color/data|Module:College color/contrast}}
This module implements the colors for [[College athletics|college athletic]] programs and is used by
: {{tl|GotCollegeColorsFor}} - to check if colors are known for the given team.
: {{tl|CollegePrimaryHex}}, {{tl|CollegePrimaryStyle}}, {{tl|CollegePrimaryColorLink}}, {{tl|CollegePrimaryHeader}}
: {{tl|CollegeSecondaryHex}}, {{tl|CollegeSecondaryStyle}}, {{tl|CollegeSecondaryColorLink}}, {{tl|CollegeSecondaryHeader}}
: {{tl|NCAA color}}, {{tl|NCAA color cell}}, {{tl|NCAA secondary color cell}}
: {{tl|Infobox baseball biography/style}}
: {{tl|Infobox basketball biography/style}}
: {{tl|CBB roster/Header}}
: {{tl|College color list}}, {{tl|College color boxes}}
== Usage ==
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color}} in the NCAA color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color1}} in the primary color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color32}} in the secondary color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|style1}} in the primary style template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|style2}} in the secondary style template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|header1}} in the primary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|header2}} in the secondary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|tablehead1}} in the primary header style of a wikitable
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|tablehead2}} in the secondary header style of a wikitable
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|stripe1}} in the primary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|list}} in the {{para|colors}} field of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|boxes}} in the {{para|colors}} field of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|check}} to check to see if a team has defined colors
== Updating team colors ==
See [[Module:college color/data]].
== Test table ==
{{#invoke:{{BASEPAGENAME}}/contrast|testtable|style=background:#FDFDFD}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
}}</includeonly>
{{high-use|90666}}
{{module rating|beta}}
{{Lua|Module:College color/data|Module:College color/contrast}}
This module implements the colors for [[College athletics|college athletic]] programs and is used by
: {{tl|GotCollegeColorsFor}} - to check if colors are known for the given team.
: {{tl|CollegePrimaryHex}}, {{tl|CollegePrimaryStyle}}, {{tl|CollegePrimaryColorLink}}, {{tl|CollegePrimaryHeader}}
: {{tl|CollegeSecondaryHex}}, {{tl|CollegeSecondaryStyle}}, {{tl|CollegeSecondaryColorLink}}, {{tl|CollegeSecondaryHeader}}
: {{tl|NCAA color}}, {{tl|NCAA color cell}}, {{tl|NCAA secondary color cell}}
: {{tl|Infobox baseball biography/style}}
: {{tl|Infobox basketball biography/style}}
: {{tl|CBB roster/Header}}
: {{tl|College color list}}, {{tl|College color boxes}}
== Usage ==
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color}} in the NCAA color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color1}} in the primary color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|color32}} in the secondary color template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|style1}} in the primary style template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|style2}} in the secondary style template
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|header1}} in the primary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|header2}} in the secondary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|tablehead1}} in the primary header style of a wikitable
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|tablehead2}} in the secondary header style of a wikitable
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|stripe1}} in the primary header style of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|list}} in the {{para|colors}} field of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|boxes}} in the {{para|colors}} field of an infobox
* {{tld|<nowiki>#</nowiki>invoke:{{BASEPAGENAME}}|check}} to check to see if a team has defined colors
== Updating team colors ==
See [[Module:college color/data]].
== Test table ==
{{#invoke:{{BASEPAGENAME}}/contrast|testtable|style=background:#FDFDFD}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
}}</includeonly>