Difference between revisions of "Template:VFTGUSAPrimaryStyle"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(Created page with "{{VFTGUSAPrimaryColor|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}}; color:{{VFTGUSASecondaryColorRaw|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}};{{#if:{{{border|}}}|{{#ifexpr:{{{bo...")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{VFTGUSAPrimaryColor|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}}; color:{{VFTGUSASecondaryColorRaw|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}};{{#if:{{{border|}}}|{{#ifexpr:{{{border}}}>0| border:{{{border}}}px solid {{VFTGUSATertiaryColorRaw|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}};}}}}<noinclude>
+
background-color:#{{VFTGModeratorPrimaryHex|{{{1}}}|year={{CURRENTYEAR}}}}; color:#{{VFTGModeratorSecondaryHex|{{{1}}}|year={{CURRENTYEAR}}}};{{#if:{{{border|}}}|{{#ifexpr:{{{border}}}>0| border:{{{border}}}px solid #{{VFTGModeratorTertiaryHex|{{{1}}}|year={{{year|{{CURRENTYEAR}}}}}}};}}}} <noinclude>
 
+
{{documentation|content=
<code>{{tlx|VFTGUSAPrimaryColor}}; color:{{tlx|VFTGUSASecondaryColorRaw}}; border:{{{border}}}px solid {{tlx|VFTGUSATertiaryColorRaw}};</code>
+
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}}.
{{documentation}}</noinclude>
+
== See also ==
 +
* {{tl|VFTGModeratorSecondaryStyle}}
 +
}}</noinclude>

Latest revision as of 18:32, 11 March 2016

background-color:#000000; color:#ffffff;

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