Difference between revisions of "Template:Box header"

 
Line 1: Line 1:
 
<noinclude>__NOTOC__ __NOEDITSECTION__
 
<noinclude>__NOTOC__ __NOEDITSECTION__
 
== Preview ==
 
== Preview ==
</noinclude><div style = "padding: .5em; border: 1px solid #ddd; margin-top: 1.2em; background: {{{bcolor|#f5f5f5}}}; font-weight: bold; text-align: {{{text align|center}}};">{{{title}}}</div>
+
</noinclude><div style = "padding: .5em; border: 1px solid #ddd; margin-top: 1.2em; background: {{{bcolor|#f5f5f5}}}; font-weight: bold; text-align: {{{text align|center}}}; color:{{{color|#333}}};">{{{title}}}</div>
 
<noinclude>
 
<noinclude>
 
== Template Format ==
 
== Template Format ==
 
<pre><nowiki>{{Box header
 
<pre><nowiki>{{Box header
| title = Your title text goes here
+
| title     = Your title text goes here
 +
| bcolor    =
 +
| text align =
 +
| color      =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
== Output ==
 
== Output ==
 
{{Box header
 
{{Box header
| title = Your title text goes here
+
| title     = Your title text goes here
 
}}
 
}}
 
[[Category: Core templates]]</noinclude>
 
[[Category: Core templates]]</noinclude>

Latest revision as of 09:15, 11 November 2016

Preview

{{{title}}}

Template Format

{{Box header
| title      = Your title text goes here
| bcolor     =
| text align =
| color      =
}}

Output

Your title text goes here