Tocright/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>FANDOM
No edit summary
/>BaRaN6161TURK
m Remove tr interwikis.
Line 1: Line 1:
;Description
<noinclude>{{Documentation subpage}}</noinclude>
{{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.
; 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.
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
: 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:Page templates]]
[[Category:Navigation templates]]
</includeonly><noinclude>
</noinclude>

Revision as of 07:10, 9 February 2022

Template:Documentation subpage

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
Template:T
Parameters
maxwidth = Optionally change max-width allowed for TOC box (default is 20em)