Permanently protected template

Template:TOC hidden

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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 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.

This template should not be used on articles, and will not function when placed in one.

Usage

Place the following on the page: {{TOC hidden}}

Alternatives

The necessity of this template is often disputed, so apply it with consideration. A suggested alternative is: {{TOC limit}}. Another alternative, for no table of contents at all, is the magic word template __NOTOC__.

See also

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:TOC_hidden&oldid=821204439"
This content was retrieved from Wikipedia : http://en.wikipedia.org/wiki/Template:TOC_hidden
This page is based on the copyrighted Wikipedia article "Template:TOC hidden"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA