Difference between revisions of "Template:Subsection box"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div id="box" style="{{{ostyle|}}}"> | <div id="box" style="{{{ostyle|}}}"> | ||
{{{1|}}} | {{{1|}}} | ||
<div style="padding:0.5em; {{{istyle|}}}"> | <div style="padding:0.5em; {{{istyle|}}}"> | ||
Line 6: | Line 7: | ||
<noinclude> | <noinclude> | ||
{{subsection box|<h5>How-To</h5>|To create a box with this script simply type the following as a base template: | {{subsection box|<h5>How-To</h5>|To create a box with this script simply type the following as a base template: | ||
<br> | <br/> | ||
<nowiki>{{subsection box|<h5>Title</h5>|Contents}}</nowiki>}} | <code><nowiki>{{subsection box|<h5>Title</h5>|Contents}}</nowiki>}}</code> | ||
The section level of the title can be controlled by <code><nowiki><hn></nowiki></code> tags. For level 2 (top-most section level of most pages on this wiki), you can also use [[Template:Box]]. | |||
[[Category:Box templates]]</noinclude> | [[Category:Box templates]]</noinclude> |
Latest revision as of 14:53, 31 July 2010
How-To
To create a box with this script simply type the following as a base template:
{{subsection box|<h5>Title</h5>|Contents}}
The section level of the title can be controlled by <hn>
tags. For level 2 (top-most section level of most pages on this wiki), you can also use Template:Box.