Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:45, 28 May 2023 by Evon R'al (talk | contribs) (Update doc.)
Description
This template changes the way the table of contents is rendered.
Dependencies
Uses
MediaWiki:Common.css
Syntax
{{TOC|<limit=>|<align=>}}
Parameters
limit
Number indicating the highest heading level to show in the table of contents. The lower, the fewer heading levels are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1). Valid values 2 till 6. Defaults to 2.
align
Whether to align the table of contents to the "right" or "left". The default is left.
Sample
{{TOC|limit=2|align=right}}
gives...

section 1

section 1.1

section 1.1.1

section 1.1.1.1
See also