Difference between revisions of "Template:CollegePrimaryStyle"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(move to doc page)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:College color|style1}}<noinclude>{{documentation}}</noinclude>
+
background-color:#{{CollegePrimaryHex|{{{1}}}}}; {{#ifexpr:{{{border|2}}}>0|{{#ifeq:{{CollegeSecondaryHex|{{{1}}}}}|FFFFFF||border: {{{border|2}}}px solid #{{CollegeSecondaryHex|{{{1}}}}};}}}} color:{{{color|#{{CollegeSecondaryHex|{{{1}}}}}}}};<noinclude>
 +
{{documentation|content=
 +
This template may be used to generate the {{para|titlestyle}} for a {{tl|navbox}} template.  It uses the colors specified by the {{tl|CollegePrimaryHex}} and {{tl|CollegeSecondaryHex}} templates.  By default, it uses the primary color for the background, and the secondary color for the border and text.  To override the text color, use {{para|color}}. To remove the border, use {{para|border|0}}.
 +
 
 +
== See also ==
 +
* {{tl|CollegeSecondaryStyle}}
 +
* {{tl|CollegePrimaryColorLink}}
 +
* {{tl|CollegeSecondaryColorLink}}
 +
* {{tl|Baseball primary color}}
 +
* {{tl|NBA color}}
 +
* {{tl|NFLPrimaryColor}}
 +
 
 +
[[Category:American college sports color templates]]
 +
}}</noinclude>

Latest revision as of 18:20, 8 March 2016

background-color:#DCDCDC; border: 2px solid #000000; color:#000000;

Documentation icon Template documentation

This template may be used to generate the |titlestyle= for a {{navbox}} template. It uses the colors specified by the {{CollegePrimaryHex}} and {{CollegeSecondaryHex}} templates. By default, it uses the primary color for the background, and the secondary color for the border and text. To override the text color, use |color=. To remove the border, use |border=0.

See also