Difference between revisions of "Template:Banner"

From Project-GC
Jump to: navigation, search
(Creating banner. Options to change colour to follow.)
 
(Added category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div style="background:#f0f8ff; border-radius:9px; border:solid 3px #00008b; box-shadow:5px 5px 5px rgba(68,68,68,0.6); color:#00008b; margin-bottom:10px; padding:8px; text-align:center">
+
<div style="background:{{{bg|#EBE7E4}}}; border-radius:9px; border:solid 3px #00008b; box-shadow:5px 5px 5px rgba(68,68,68,0.6); color:{{{fg|#00008b}}}; margin-bottom:10px; padding:8px; text-align:center">
<p style="text-align:center"><span style="font-family:Trebuchet MS,Helvetica,sans-serif">{{{text|text goes here}}}</span></p></div><noinclude>
+
<p style="text-align:center"><span style="font-family:Trebuchet MS,Helvetica,sans-serif">{{{text|Text goes here}}}</span></p></div><noinclude>
  
 
Produces a banner.
 
Produces a banner.
Line 6: Line 6:
 
==Usage==
 
==Usage==
  
<nowiki>{{Banner|text = </nowiki>''text you want to appear.''<nowiki>}}</nowiki>
+
<nowiki>{{Banner | text = </nowiki>''text you want to appear.'' | bg = ''Background colour in RGB hex (optional)'' | fg = ''Font colour in RGB hex (optional)''<nowiki>}}</nowiki>
 +
 
 +
[[Category: Wiki Templates]]</noinclude>

Latest revision as of 22:00, 26 April 2024

Text goes here

Produces a banner.

Usage

{{Banner | text = text you want to appear. | bg = Background colour in RGB hex (optional) | fg = Font colour in RGB hex (optional)}}