Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Tocright/doc: Difference between revisions

Template page
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:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly>

Latest revision as of 20:25, 23 August 2022

Edit-copy green.svg
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.
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 is 20em)