Difference between revisions of "Template:Box header"

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}}};">{{{title}}}</div>
 +
<noinclude>
 +
== Template Format ==
 +
<pre><nowiki>{{Box header
 +
| title = Your title text goes here
 +
}}</nowiki></pre>
 +
== Output ==
 +
{{Box header
 +
| title = Your title text goes here
 +
}}
 +
[[Category: Core templates]]</noinclude>

Revision as of 08:36, 9 November 2016

Preview

{{{title}}}

Template Format

{{Box header
| title = Your title text goes here
}}

Output

Your title text goes here