Difference between revisions of "Template:Subsection box"
Jump to navigation
Jump to search
(explain how to change subsection level) |
(mention Template:Box) |
||
Line 9: | Line 9: | ||
<code><nowiki>{{subsection box|<h5>Title</h5>|Contents}}</nowiki>}}</code> | <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. | 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> |
Revision as of 15:44, 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.