Difference between revisions of "Template:VFTGUSAPrimaryStyle"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 1: Line 1:
background:#{{VFTGModeratorPrimaryHex|{{{1}}}|year={{CURRENTYEAR}}}};  color:#{{VFTGModeratorSecondaryHex|{{{1}}}|year={{CURRENTYEAR}}}};{{#if:{{{border|}}}|{{#ifexpr:{{{border|}}} 2>0
+
background:#{{VFTGModeratorPrimaryHex|{{{1}}}|year={{CURRENTYEAR}}}};  color:#{{VFTGModeratorSecondaryHex|{{{1}}}|year={{CURRENTYEAR}}}};|{{#ifexpr:{{{border|}}} 2>0
|border:{{{border}}}px solid #{{VFTGModeratorTertiaryColorHex}}|border: 2px solid black}}|}} <noinclude>
+
|border:{{{border}}}px solid #{{VFTGModeratorTertiaryColorHex}}|border: 2px solid black}} <noinclude>
 
{{documentation|content=
 
{{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|VFTGModeratorPrimaryHex}}, {{tl|VFTGModeratorSecondaryHex}}, and {{tl|VFTGModeratorTertiaryHex}} 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}}.
 
This template may be used to generate the {{para|titlestyle}} for a {{tl|navbox}} template.  It uses the colors specified by the {{tl|VFTGModeratorPrimaryHex}}, {{tl|VFTGModeratorSecondaryHex}}, and {{tl|VFTGModeratorTertiaryHex}} 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}}.

Revision as of 18:26, 11 March 2016

background:#000000; color:#ffffff;|border:{{{border}}}px solid #Template:VFTGModeratorTertiaryColorHex

Documentation icon Template documentation

This template may be used to generate the |titlestyle= for a {{navbox}} template. It uses the colors specified by the {{VFTGModeratorPrimaryHex}}, {{VFTGModeratorSecondaryHex}}, and {{VFTGModeratorTertiaryHex}} 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