Template:Horizontal TOC/doc
From Summertime Saga Wiki
This template lays out the table of contents in a horizontal list rather than a vertical one.
Usage
There is no need to specify __NOTOC__
: this template handles that automatically.
- Use Template:Tlc to hide the generated heading numbers.
- Use Template:Tlc to limit the depth of the generated headings to the first headings only.
- Use Template:Tlc to float the table of contents to the center of the page.
For example, Template:Tlc produces:
Contents
Parameters
|nonum=yes
- Hide the generated heading numbers.
|limit=
- Limits the depth of subheadings shown. For instance, using limit=4 will hide the fourth level and deeper subheadings in the hierarchy. And limit=2 will hide all subheadings leaving only the main headings. This works by hiding the lower levels with CSS.
|align=
- Which side of the page to align the table of content to. Allowed values are left, right, center.
|clear=
- Align underneath floating images and tables or not. Allowed values are left, right, both, none.