Difference between revisions of "Template:CollegeSecondaryColorLink"
Jump to navigation
Jump to search
imported>Primefac m (Protected "Template:CollegeSecondaryColorLink": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confir...) |
imported>Bsherr m (→Usage: replacing Template:Tld with Template:Tlc, plus general and typo fixes as found) |
||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
− | {{ | + | {{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}} |
− | {{ | + | {{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 == |
Latest revision as of 22:41, 9 August 2020
Template documentation
This template uses Lua: |
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
- 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. |