|This is a documentation subpage for Template:TOCright.|
It contains usage information, categories and other content that is not part of the original template page.
Template for aligning the table of contents to the right side of the page (or left side in right-to-left languages).
|Heading level limit|
How many heading levels to show in the table of contents. The lower, the fewer headings are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1, so limit=1 would generally show no headings at all).