Template:TOC View history

(.)
(added includeonly)
Line 1: Line 1:
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>{{documentation}}
<includeonly><div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div></includeonly><noinclude>{{documentation}}


<!-- This category is only for the template itself -->
<!-- This category is only for the template itself -->

Revision as of 08:42, 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.
Please add categories to the /doc subpage.
Subpages of this template.