Difference between revisions of "Template:CollegeSecondaryStyle"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(use new lua module)
Line 1: Line 1:
background-color:#{{CollegeSecondaryHex|{{{1}}}}}; {{#ifexpr:{{{border|2}}}>0|border: {{{border|2}}}px solid #{{CollegePrimaryHex|{{{1}}}}};}} color:{{{color|#{{CollegePrimaryHex|{{{1}}}}}}}};<noinclude>
+
{{#invoke:College color|style2}}<noinclude>
 
{{documentation|content=
 
{{documentation|content=
 
This template may be used to generate the {{para|groupstyle}} for a {{tl|navbox}} template.  It uses the colors specified by the {{tl|CollegePrimaryHex}} and {{tl|CollegeSecondaryHex}} templates.  By default, it uses the secondary color for the background, and the primary color for the border and text.  To override the text color, use {{para|color}}. To remove the border, use {{para|border|0}}.
 
This template may be used to generate the {{para|groupstyle}} for a {{tl|navbox}} template.  It uses the colors specified by the {{tl|CollegePrimaryHex}} and {{tl|CollegeSecondaryHex}} templates.  By default, it uses the secondary color for the background, and the primary color for the border and text.  To override the text color, use {{para|color}}. To remove the border, use {{para|border|0}}.

Revision as of 00:12, 17 January 2015

background-color:#000000;color:#DCDCDC;-moz-box-shadow: inset 2px 2px 0 #DCDCDC, inset -2px -2px 0 #DCDCDC; -webkit-box-shadow: inset 2px 2px 0 #DCDCDC, inset -2px -2px 0 #DCDCDC; box-shadow: inset 2px 2px 0 #DCDCDC, inset -2px -2px 0 #DCDCDC;

50px Template documentation

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

See also