Difference between revisions of "Template:CollegePrimaryStyle"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
m |
(Undid revision 587300102 by T.Hernandez91 (talk) removing spam ad.) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
background-color:#{{CollegePrimaryHex|{{{1}}}}}; {{#ifexpr:{{{border|2}}}>0|{{#ifeq:{{CollegeSecondaryHex|{{{1}}}}}|FFFFFF||border: {{{border|2}}}px solid #{{CollegeSecondaryHex|{{{1}}}}};}}}} color:{{{color|#{{CollegeSecondaryHex|{{{1}}}}}}}};<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= | {{documentation|content= |
Revision as of 20:21, 22 December 2013
background-color:#DCDCDC; border: 2px solid #000000; color:#000000;
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
- {{CollegeSecondaryStyle}}
- {{CollegePrimaryColorLink}}
- {{CollegeSecondaryColorLink}}
- {{Baseball primary color}}
- {{NBA color}}
- {{NFLPrimaryColor}}
The above documentation is transcluded from Template:CollegePrimaryStyle/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |