This is a documentation subpage for Template:Fancy TOC. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
This template does not work properly in the Vector 2022 skin. Read the documentation for an explanation. |
The Fancy TOC template displays a table of contents box that can be limited to a set height and width, and will allow scrolling to see the remainder of the table of contents that doesn't fix within the size that is set.
Parameters
Parameter | Default value | Comments |
---|---|---|
height= | 299 | The height is set in pixels, but do not add px after the amount. |
width= | 30 | The width in percent. Do not add a % sign. |
float= | right | Other valid options are none and left. |
nav= | yes | Set to no to hide the links at the bottom of the table of contents to jump to the first and last entries |
background color= | #F9F9F9 | See Help:Colors for information about specifying colors. |
border width= | 1 | Set to 0 to hide the border. |
Limitations
Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.