Difference between revisions of "Template:CollegePrimaryColorLink"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Created page with '{{#if:{{{2|}}} |[[{{{2}}}|<span style="color:#{{CollegePrimaryHex|{{{1}}}}}">{{{3|{{{2}}}}}}</span>]] }}<noinclude> {{documentation|content= This template may ...')
 
imported>Frietjes
(bypass template)
Line 1: Line 1:
 
{{#if:{{{2|}}}
 
{{#if:{{{2|}}}
   |[[{{{2}}}|<span style="color:#{{CollegePrimaryHex|{{{1}}}}}">{{{3|{{{2}}}}}}</span>]]
+
   |[[{{{2}}}|<span style="color:#{{#invoke:College color|color1|{{{1}}}}}">{{{3|{{{2}}}}}}</span>]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation|content=
 
{{documentation|content=

Revision as of 15:24, 17 January 2015

50px Template documentation

This template may be used to generate a colored link, using the color specified by the {{CollegePrimaryHex}} template.

Usage

{{CollegePrimaryColorLink|Team name|Link}} if the link text is the same as the link
{{CollegePrimaryColorLink|Team name|Link|Link text}} if the link text is different from the link

See also