Template:TOC left View history

(Created template)
 
(typo)
 
Line 1: Line 1:
<includeonly><div style="clear:{{{clear|left}}}; float:left; width:{{{width|{{{1|auto}}}}}}; background:none; margin-bottom:0.5em; padding:0.5em 1.4em 0.8em 0; {{#if:{{{top|}}}|margin-top: {{{top}}};padding-top:{{{top}}};}}" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></includeonly><noinclude>
<includeonly><div style="clear:{{{clear|left}}}; float:left; width:{{{width|{{{1|auto}}}}}}; background:none; margin-bottom:0.5em; padding:0.5em 1.4em 0.8em 0; {{#if:{{{top|}}}|margin-top: {{{top}}};padding-top:{{{top}}};}}" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></includeonly><noinclude>
{{documentation|TOC/doc}}
{{documentation|Template:TOC/doc}}
</noinclude>
</noinclude>

Latest revision as of 08:28, 10 July 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

This documentation serves for the suite of {{TOC}} templates. They generally use the same optional parameters, but each has a different attribute.

Usage

Place the desired {{TOC}} type template on the page where you want the table of contents to start.

For the floating TOC variants, use with {{clear}}, {{clear}} or {{clear}} to prevent image collisions. To remove the small default margin/padding included above the box, set |top=0 (or, to customize it, use |top=(a value)).

Parameters

All of the following parameters are optional.


Related templates

The above documentation is transcluded from Template:TOC/doc.
Subpages of this template.