Template:TOC center/doc

Revision as of 13:28, 22 October 2020 by Caleb Cooper (talk | contribs) (Created page with "{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{notice|This template is not for use in articles. Including it in the article namespace will re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.

{{TOC center}} forces the auto-generated Table of Contents for an article to appear in a table that is floated at the center of the page, in order to improve page layout on non-article pages.

Usage

Insert {{TOC center/doc}} at the point in the article where you want the top of the Table of Contents box to appear.

See also


TOC center forces the auto-generated Table of Contents for an article to appear floated at the center of the page, in order to improve page layout on non-article pages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Limitlimit

Limits the depth of subheadings shown

Example
2
Numberoptional