Tocright/doc: Difference between revisions

From SL Pro Wrestling Wiki
/>Henstepl
Remove Template:SPW and/or interlanguage links; they have been added to Template:Documentation
/>Lady Aleena
changed category, added category, a little clean up
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.
: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.
:Use it only when needed.
 
;Syntax
: {{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>
;Syntax
:<code>{{t|tocright}}</code>
 
<includeonly>
[[Category:General wiki templates]]
 
</includeonly><noinclude>
[[Category:Template documentation]]
</noinclude>

Revision as of 02:44, 16 January 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)