Difference between revisions of "Template:CollegeSecondaryColorLink"

From blackwiki
Jump to navigation Jump to search
imported>Fred Gandt
m (added {{Lua}} to docs)
imported>Bsherr
m (→‎Usage: replacing Template:Tld with Template:Tlc, plus general and typo fixes as found)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{documentation|content=
 
{{documentation|content=
 
{{Lua|Module:College color}}
 
{{Lua|Module:College color}}
 +
 
This template may be used to generate a colored link, using the color specified by the [[Module:College color|college color module]].
 
This template may be used to generate a colored link, using the color specified by the [[Module:College color|college color module]].
  
 
== Usage ==
 
== Usage ==
:<code><nowiki>{{CollegeSecondaryColorLink|Team name|Link}}</nowiki></code> if the link text is the same as the link
+
{{tlc|CollegeSecondaryColorLink|Team name|Link}} if the link text is the same as the link ''e.g.''
 +
:{{tlc|CollegeSecondaryColorLink|American Eagles|American Eagles}} produces → {{CollegeSecondaryColorLink|American Eagles|American Eagles}}
  
:<code><nowiki>{{CollegeSecondaryColorLink|Team name|Link|Link text}}</nowiki></code> if the link text is different from the link
+
{{tlc|CollegeSecondaryColorLink|Team name|Link|Link text}} if the link text is different from the link ''e.g.''
 +
:{{tlc|CollegeSecondaryColorLink|American Eagles|American Eagles|All hail the mighty AU Eagles!}} produces → {{CollegeSecondaryColorLink|American Eagles|American Eagles|All hail the mighty AU Eagles!}}
  
 
== See also ==
 
== See also ==
* {{tl|CollegePrimaryColorLink}}
+
* To check if colors are known for the given team: {{tl|GotCollegeColorsFor}}
* {{tl|CollegeSecondaryHex}}
+
* {{tl|CollegePrimaryHex}} and {{tl|CollegeSecondaryHex}}
* {{tl|CollegeSecondaryStyle}}
+
* {{tl|CollegePrimaryStyle}} and {{tl|CollegeSecondaryStyle}}
* {{tl|CollegePrimaryHex}}
+
* {{tl|CollegePrimaryColorLink}} and {{tl|CollegeSecondaryColorLink}}
* {{tl|CollegePrimaryStyle}}
+
* {{tl|NCAA color}}, {{tl|NCAA color cell}} and {{tl|NCAA secondary color cell}}
 +
* {{tl|Infobox baseball biography/style}} and {{tl|Infobox basketball biography/style}}
 +
* {{tl|Baseball primary style}} and {{tl|Baseball secondary style}}
 +
* {{tl|NFLPrimaryColor}} and {{tl|NFLSecondaryColor}}
 +
* {{tl|CBB roster/Header}}
 +
* {{tl|NBA color}}
  
 
[[Category:American college sports color templates]]
 
[[Category:American college sports color templates]]
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 22:41, 9 August 2020

50px Template documentation

This template may be used to generate a colored link, using the color specified by the college color module.

Usage

{{CollegeSecondaryColorLink|Team name|Link}} if the link text is the same as the link e.g.

{{CollegeSecondaryColorLink|American Eagles|American Eagles}} produces → American Eagles

{{CollegeSecondaryColorLink|Team name|Link|Link text}} if the link text is different from the link e.g.

{{CollegeSecondaryColorLink|American Eagles|American Eagles|All hail the mighty AU Eagles!}} produces → All hail the mighty AU Eagles!

See also