Difference between revisions of "Template:Box header"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<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>__NOTOC__ __NOEDITSECTION__
<noinclude>[[Category: Core templates]]</noinclude>
+
== 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}}}; color:{{{color|#333}}};">{{{title}}}</div>
 +
<noinclude>
 +
== Template Format ==
 +
<pre><nowiki>{{Box header
 +
| title      = Your title text goes here
 +
| bcolor    =
 +
| text align =
 +
| color      =
 +
}}</nowiki></pre>
 +
== Output ==
 +
{{Box header
 +
| title      = Your title text goes here
 +
}}
 +
[[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