FANDOM


Contents

Template documentation (for the template shown above, sometimes hidden or invisible)

Meta-template for creating a manual table of contents for documents which are split up into multiple wiki articles (up to 9 plus an overview page for the document). Should only be used for fairly static articles where headlines and structure do not change.

Usage

{{Document TOC
|main     =Main page of document
|link1    =First part of document
|content1 =
* Example section 1
** Subsection of example section 1
* Example section 2
|link2    =Second part of document
|content2 =
* Example section 1
** Subsection of example section 1
* Example section 2
}}

Parameters

Icon optional
(default: "no")
collapsed
If set to "yes", the TOC will be collapsed when loading pages it is used on.
Icon required
(default: none)
content1 up to content9
Table of contents for the various document parts. Use an unnumbered list which contains direct links to headlines of the document main page (see Help:Links on how to link directly to headlines on pages).
Icon required
(default: none)
link1 up to link9
Link to/name of the pages with document parts.
Icon optional
(default: none)
main
The document's main/overview page, if any.
Icon optional
(default: none)
maincontent
Table of contents for document main/overview page, if desired. Use an unnumbered list which contains direct links to headlines of the document main/overview page (see Help:Links on how to link directly to headlines on pages).
Icon optional
(default: "Main page of document")
mainname
Name to be displayed for the document's main/overview page.
Icon required
(default: "Part #")
name1 up to name9
Names to be displayed for the document parts.
Icon optional
(default: "300px")
width
Width of TOC.

Copy/paste

{{Document TOC
|main     =
|link1    =
|content1 =
|link2    =
|content2 =
|link3    =
|content3 =
|link4    =
|content4 =
|link5    =
|content5 =
|link6    =
|content6 =
|link7    =
|content7 =
|link8    =
|content8 =
|link9    =
|content9 =
}}

Technical

Documentation transcluded from Template:Document TOC/doc.
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+