Template:TOCright
The UESPWiki – Your source for The Elder Scrolls since 1995
Due to the sensitive nature of this template or 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
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.
This template was originally copied from Wikipedia.
Parameters
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".) |
nopadding | optional | If a value is specified, removes the extra padding around the TOC. This can be useful when the TOC is placed next to headers or images, for example. |
Example
{{TOCright}}