This page uses Creative Commons licensed, deleted content from Wikipedia written by the Wikipedia user(s) User:Gurch.

Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Fake-TOC]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Use this template to customise the table of contents on a page, for example to hide certain sections.
  • Uses class="toc"
Type {{Fake-TOC|param1}} where you want the TOC to appear, use in conjunction with __NOTOC__

So long as the parameter includes an (unordered) list, the [show] link will function correctly.

Sample output
*1. A
*1.1 aa
*1.2 ab
*2. B
*2.1 ba
*2.1.1 baa
*2.2 bb
*3. C
*4. D
  • 1. A
  • 1.1 aa
  • 1.2 ab
  • 2. B
  • 2.1 ba
  • 2.1.1 baa
  • 2.2 bb
  • 3. C
  • 4. D
* [[#alpha|A]]
* [[#beta|B]]
* [[#gamma|C]]
* [[#delta|D]]
Community content is available under CC-BY-SA unless otherwise noted.