Kentsmith9 (talk | contribs) (Created template) |
Kentsmith9 (talk | contribs) (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
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
- {{TOC}} -
- {{TOC left}} - forces the "Table of Contents" to float left with words floating right.
- {{TOC right}} -
- {{TOC center}} -
The above documentation is transcluded from Template:TOC/doc. Subpages of this template. |