m (decomplexifying) |
Kentsmith9 (talk | contribs) (Updated category name) |
||
Line 27: | Line 27: | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Expand | [[Category:Expand template documentation]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 06:16, 10 August 2022
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
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
- {{TOC}} -
- {{TOC left}} - forces the "Table of Contents" to float left with words floating right.
- {{TOC right}} -
- {{TOC center}} -