Kentsmith9 (talk | contribs) (Created initial doc) |
m (decomplexifying) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
<!-- ADD DOCUMENTATION BELOW THIS LINE --> | <!-- ADD DOCUMENTATION BELOW THIS LINE --> | ||
This documentation serves for the suite of {{tl|TOC}} templates. They generally use the same optional parameters, but each has a different attribute. | This documentation serves for the suite of {{tl|TOC}} templates. They generally use the same optional parameters, but each has a different attribute. | ||
{{TOC}} | |||
== Usage == | == Usage == | ||
Place the desired {{ | Place the desired {{tlx|TOC}} type template on the page where you want the table of contents to start. | ||
For the floating TOC variants, use with {{tl|clear}}, {{tl|clear|left}} or {{tl|clear|right}} to prevent image collisions. To remove the small default margin/padding included above the box, set {{para|top|0}} (or, to customize it, use {{para|top|{{95%|''(a value)''}}}}). | |||
== Parameters == | == Parameters == | ||
All of the following parameters are optional. | All of the following parameters are optional. | ||
== Related templates == | == Related templates == | ||
* {{tl|TOC}} - | * {{tl|TOC}} - | ||
* {{tl|TOC left}} - | * {{tl|TOC left}} - forces the "Table of Contents" to float left with words floating right. | ||
* {{tl|TOC right}} - | * {{tl|TOC right}} - | ||
* {{tl|TOC center}} - | * {{tl|TOC center}} - | ||
Line 25: | Line 26: | ||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Templates]] | |||
[[Category:Expand Template Documentation]] | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> |
Latest revision as of 15:37, 22 June 2015
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}} -