Template:TOCright

From Starfield Wiki
Jump to: navigation, search
Due to the sensitive nature of this template and the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary[edit]

This template places a right-aligned table of contents (TOC) at the location where the template is placed. The TOC is in a floating table, so text will be placed side-by-side next to the TOC.

Template:Template copied

Parameters[edit]

TOCright
Parameter Scope Description
1 optional The maximum width of the table. Percentage or units are both acceptable; the unit or percent sign must be specified.
limit optional The limit the subheaders shown in the TOC. For example, limit=2 would only show level-1 or level-2 headers (=..= or ==..==). (Default is 4.)
clear optional Changes the setting for the CSS clear parameter, forcing other content to appear below the TOC on the side(s) specified. Possible values are left, right, both, or none. (Default is "right".)

Example[edit]

{{TOCright}}