Template:TOC hidden/doc
| 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 uses TemplateStyles: |
Dis template no fit dey used inside articles; e no go work if you put am inside one.
Dis template dey put page __TOC__ (Table Of Contents) code inside one collapsible box wey get [show]/[hide] function. By default, di box dey collapsed (and di TOC hidden), so one click for di [show] area go display am.
Dis one dey give editors another way to view pages wey get long TOCs better, so di lead section no go automatically fill with plenty empty space.
Put dis template for di place where you want di TOC to show.
Note say Show Preview go still show di TOC; di page for first save before di TOC go hide.
How to use am
[edit source]Put dis on di page:
{{TOC hidden}}
Other options
[edit source]People dey argue about whether dis template really need, so use am with consideration.
One suggested alternative be:
{{TOC limit}}
Another alternative, if you no want any table of contents at all, be di magic word __NOTOC__.
Limitations
[edit source]Because di Vector 2022 skin dey force di table of contents go sidebar or pop-up menu, dis template no fit control where di TOC go appear for dat skin.
See also
[edit source]- {{TOC limit}}