• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:ToC

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
Not to be confused with {{TOC}}.
File:WP Table of contents.png
An example Table of Contents

When {{ToC}} or __TOC__ (with two underscores on either side of the word) is placed in the wikitext, a Table of Contents (ToC) is generated where that code appears.

These tables are automatically generated if the page has more than three headings – using this template forces a Table of Contents regardless of article size.

This template is identical to simply typing "__TOC__".

See also

  • Help:TOC
  • {{TOC right}} and {{TOC left}}
  • {{Compact TOC}}
  • {{Horizontal TOC}}
  • {{Category TOC}}
  • {{TOC limit}}
  • Help:Magic words § Behavior switches for help with __TOC__
The above documentation is transcluded from Template:ToC/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:ToC&oldid=33750"
Categories:
  • Pages with broken file links
  • Wikipedia table of contents templates
Last edited on 30 April 2021, at 11:14

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 30 April 2021, at 11:14.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop