Difference between revisions of "Template:TOC hidden"

From RealCTY
Jump to navigation Jump to search
Line 1: Line 1:
 
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
Line 7: Line 6:
 
== Usage ==
 
== Usage ==
  
  Place the following on the page: <code>{{tl|TOC hidden}}</code>
+
  Place the following on the page: <code>{{TOC hidden}}</code>
  
 
== Alternatives ==
 
== Alternatives ==

Revision as of 20:28, 22 August 2014


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.


Usage

Place the following on the page: 

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.


Usage

Place the following on the page: Template loop detected: Template:TOC hidden

Alternatives

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

ro:Template:TOC hidden

Alternatives

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