Tocright/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>BaRaN6161TURK
m There's something different in template style. Read Template:T for more information. style parameter in T template is used for code style.
/>FANDOM
No edit summary
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
;Description
; Description
{{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.
: 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.
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
; Syntax
: {{t|tocright|style=code}}
; Parameters
: <code>maxwidth =</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>)
<includeonly>
[[tr:Şablon:İçindekiler sağ]]
[[Category:Page templates]]
[[Category:Navigation templates]]
</includeonly><noinclude>
[[tr:Şablon:İçindekiler sağ]]
</noinclude>

Revision as of 05:46, 31 January 2022

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.