Difference between revisions of "Template:Subsection box"

From Second Life Wiki
Jump to navigation Jump to search
 
(5 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|}}}">
{{{2|}}}
{{{2|}}}
</div></div>
</div></div>
<noinclude>
<noinclude>
{{subsection box|How-To|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|Title|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 15: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.