Toggle menu
15
236
77
27.8K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 05:07, 19 February 2025 by Prd (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 result in a normal TOC being shown.}} {{Template display|vector2022}} {{Uses TemplateStyles|Template:TOC limit/styles.css|Template:TOC center/styles.css}} {{tl|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 or...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{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}} at the point in the article where you want the top of the Table of Contents box to appear.

Limitations

Since the Vector 2022 skin forces the table of contents into a sidebar or a pop-up menu, this template does not control the placement of the TOC in that skin.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TOC center in articles based on its TemplateData.

TemplateData for TOC center

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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Limitlimit

Limits the depth of subheadings shown

Example
2
Numberoptional

See also