Tocright/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>Lady Aleena
changed category, added category, a little clean up
/>Jrooksjr
mNo edit summary
Line 4: Line 4:
:Use it only when needed.
:Use it only when needed.
;Syntax
;Syntax
: {{t|tocright|style=code}}
: {{t|tocright|style{{=}}code}}
;Parameters
;Parameters
: <code>maxwidth =</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>)
: <code>maxwidth =</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>)
<includeonly>[[Category:Page templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Page templates|{{PAGENAME}}]][[Category:Navigation templates|{{PAGENAME}}]]</includeonly>

Revision as of 16:58, 30 April 2018

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)