Template:TOC hidden/doc: Difference between revisions
Content deleted Content added
Jalexander (talk | contribs) m 2 revisions from meta:Template:TOC hidden/doc: pre importing templates for privacy policy switch tomorrow |
GVarnum-WMF (talk | contribs) No edit summary Tag: 2017 source edit |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Add categories where indicated at the bottom of this page --> |
|||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
|||
{{Meta-Wiki duplicate content|documentation=true}} |
|||
==Purpose of this template== |
|||
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> |
|||
<!-- Categories below this line --> |
|||
[[Category:Templates]] |
|||
'''Alternative:''' - The necessity of this template is often disputed, so apply it with consideration. A suggested alternative is: <code>{{tl|TOC limit}}</code>. |
|||
⚫ | |||
⚫ | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> |
|||
[[Category:Table of contents templates|Hidden]] |
|||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
[[id:Templat:TOChidden]] |
|||
[[pl:Szablon:Spis treści zwinięty]] |
|||
⚫ |
Latest revision as of 22:28, 26 March 2024
This is a documentation subpage for Template:TOC hidden. It contains usage information, categories, and other content that is not part of the original template page. |
This template has a duplicate on Meta-Wiki. Please visit its documentation on Meta-Wiki for usage details and any additional information. Please keep the content and translations synchronized as much as possible. Thank you! |