Contents |
Template:Tocright and Template:Tocleft float an article's table of contents (TOC) to the right or left respectively. It also forces a table of contents when/where it would not normally be found. Use it only when needed.
Usage
{{tocright}}
or
{{tocright}}
can be placed anywhere on the page.
It is possible to limit the Table of Contents to include only headers at a certain level, similar to Template:Toclimit. For example:
{{tocright|4}}will allow == level 2 ==, === level 3 ===, and ==== level 4 ==== headers, but omit any subheadings below that from the TOC.
Community content is available under CC-BY-SA unless otherwise noted.