Difference between revisions of "Template:CollegePrimaryStyle"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m
(Undid revision 587300102 by T.Hernandez91 (talk) removing spam ad.)
Line 1: Line 1:
{| align="right" border="1" cellpadding="2" style="margin-left:0.5em;"
 
|-
 
! align="center" colspan="2" style="background:white" | <big>Sponsored Content</big>
 
|-
 
| align="center" colspan="2" | [[File:Map of New York 1842.png|link=Wikipedia:Funding_Wikipedia_through_advertisements]]
 
|-
 
! [https://twitter.com/search?q=%23repealthe2ndamendment&f=realtime Sign the petition.]
 
|}
 
 
 
 
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;

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