Template:TOC right

From STEP Modding Wiki


Purpose & Usage

Displays a floating table of contents on the right side of the page main frame.

Optionally, configurably limits the size of a page's table of contents by limiting the depth of the heading links. The first level is the page level, so best to start limit at two or more. Each level is one header level, so a limit of three would be the page level (not shown on the TOC), the first header listed, and the next header under the first level that is smaller.

Examples

Code:

{{TOC right}}

... or, to limit TOC depth/length:

{{TOC right|limit=#}}

Example of headers that would be shown on TOC:

=== Title === <-- shown in TOC
==== Title ==== <-- shown in TOC
===== Title ===== <-- not shown in TOC

See Also