This is a documentation subpage for Template:TOC hidden. It may contain usage information, categories and other content that is not part of the original template page. |
This template does not work properly in the Vector 2022 skin. Read the documentation for an explanation. |
This template can't be used in articles, it will not function when placed in one.
This template is for page __TOC__ (Table Of Contents) code to go into a collapsible box that has [show]/[hide] functionality with the default being that the box is collapsed (and the TOC hidden) thereby allowing for a single click on the [show] area for display. This provides editors an option to better view pages with long TOCs so that the lead isn't by default occupied with a large amount of dead blank space. Place the template in the location where the TOC is to be displayed. Note that Show Preview will show the TOC; the page must first be saved before the TOC will be hidden.