FANDOM


Contents

{{{1}}}

Wikipedia_small_logo_rounded.png

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.
Description
Use this template to customise the table of contents on a page, for example to hide certain sections.
Dependencies
  • Uses class="toc"
Syntax
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
{{Fake-TOC|1=
*1. A
*1.1 aa
*1.2 ab
*2. B
*2.1 ba
*2.1.1 baa
*2.2 bb
*3. C
*4. D
}}
Contents
  • 1. A
  • 1.1 aa
  • 1.2 ab
  • 2. B
  • 2.1 ba
  • 2.1.1 baa
  • 2.2 bb
  • 3. C
  • 4. D
{{Fake-TOC|1=
* [[#alpha|A]]
* [[#beta|B]]
* [[#gamma|C]]
* [[#delta|D]]
}}
Contents
Community content is available under CC-BY-SA unless otherwise noted.