Template:TOC hidden/doc: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
non existing cat with only one file/page
Tag: 2017 source edit
Line 3: Line 3:


==Purpose of this template==
==Purpose of this template==
This template hides the Tables of Contents.
This template is for page <nowiki>__TOC__</nowiki> (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: <code>{{tl|TOC hidden}}</code>

'''Alternative:''' - The necessity of this template is often disputed, so apply it with consideration. A suggested alternative is: <code>{{tl|TOC limit}}</code>.

<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 07:24, 16 March 2023

Purpose of this template

This template hides the Tables of Contents.