Difference between revisions of "Template:CollegePrimaryColorLink"
Jump to navigation
Jump to search
Template documentation
imported>Fred Gandt (add working examples to doc) |
imported>GKFX (Use a college whose colour is not blue) |
||
| Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
{{tld|CollegePrimaryColorLink|Team name|Link}} if the link text is the same as the link ''e.g.'' | {{tld|CollegePrimaryColorLink|Team name|Link}} if the link text is the same as the link ''e.g.'' | ||
| − | :{{tld|CollegePrimaryColorLink| | + | :{{tld|CollegePrimaryColorLink|Arkansas State Red Wolves|Arkansas State Red Wolves}} produces → {{CollegePrimaryColorLink|Arkansas State Red Wolves|Arkansas State Red Wolves}} |
{{tld|CollegePrimaryColorLink|Team name|Link|Link text}} if the link text is different from the link ''e.g.'' | {{tld|CollegePrimaryColorLink|Team name|Link|Link text}} if the link text is different from the link ''e.g.'' | ||
Revision as of 16:38, 15 June 2019
| This template uses Lua: |
This template may be used to generate a colored link, using the color specified by the college color module.
Usage
{{CollegePrimaryColorLink|Team name|Link}} if the link text is the same as the link e.g.
{{CollegePrimaryColorLink|Arkansas State Red Wolves|Arkansas State Red Wolves}}produces → Arkansas State Red Wolves
{{CollegePrimaryColorLink|Team name|Link|Link text}} if the link text is different from the link e.g.
{{CollegePrimaryColorLink|American Eagles|American Eagles|All hail the mighty AU Eagles!}}produces → All hail the mighty AU Eagles!
See also
- To check if colors are known for the given team: {{GotCollegeColorsFor}}
- {{CollegePrimaryHex}} and {{CollegeSecondaryHex}}
- {{CollegePrimaryStyle}} and {{CollegeSecondaryStyle}}
- {{CollegePrimaryColorLink}} and {{CollegeSecondaryColorLink}}
- {{NCAA color}}, {{NCAA color cell}} and {{NCAA secondary color cell}}
- {{Infobox baseball biography/style}} and {{Infobox basketball biography/style}}
- {{Baseball primary style}} and {{Baseball secondary style}}
- {{NFLPrimaryColor}} and {{NFLSecondaryColor}}
- {{CBB roster/Header}}
- {{NBA color}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |