Tocright/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>Fandyllic
No edit summary
m 20 revisions imported
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{SPW|is not on|name=Tocright}}
;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.


;Parameters
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
:<code>maxwidth =</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>)
 
;Syntax
:<code>{{t|tocright}}</code>
 
<includeonly>
[[Category:General wiki templates]]
 
[[ja:テンプレート:Tocright]]
[[zh:Template:Tocright]]
</includeonly><noinclude>
[[Category:Template documentation]]
[[ja:テンプレート:Tocright/doc]]
</noinclude>

Latest revision as of 09:13, 2 August 2024

Description

Template:T 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.