m (Created Redirect) |
m (1 révision importée depuis usa:Template:TOC_left) |
||
(Une version intermédiaire par un autre utilisateur non affichée) | |||
Ligne 1 : | Ligne 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> | ||
{{documentation|Template:TOC/doc}} | |||
</noinclude> |
Dernière version du 26 mai 2017 à 21:03
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. |