m (Updated formatting.) |
(Updated the Tocright template documentation from the Templates Wiki.) |
||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> |
|||
;Description |
;Description |
||
:This template will float the article's table of contents (ToC) to the right. It will also force a ToC to appear even if it would not normally appear. |
|||
{{T|Tocright}} forces the auto-generated Table of Contents for an article to appear floated to the right side of the page, in order to improve article layout. |
|||
:Use it only when needed. |
|||
;Syntax |
|||
:{{T|Tocright|style=code}} |
|||
;Parameters |
|||
:<code>maxwidth=</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>) |
|||
<includeonly>[[Category: |
<includeonly>[[Category:Navigation templates]]</includeonly> |
Latest revision as of 20:25, 23 August 2022

This is a template documentation subpage for Template:Tocright.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
- Description
- This template will float the article's table of contents (ToC) to the right. It will also force a ToC to appear even if it would not normally appear.
- Use it only when needed.
- Syntax
{{Tocright}}
- Parameters
maxwidth=
Optionally change max-width allowed for TOC box (default is20em
)