Template:Floatingtoc/Documentation: Difference between revisions

Template page
w:c:strategywiki>DrBob
(Moved from template)
 
w:c:strategywiki>NajBot
m (category fix)
Line 6: Line 6:


This template floats the table of contents on the right-hand side of the page. Don't use it in conjunction with another floating template such as [[Template:infobox|infobox]] as they will collide in a rather unsightly manner. In such cases, leave this (rather than the other) template out, and let the page have a normal table of contents.
This template floats the table of contents on the right-hand side of the page. Don't use it in conjunction with another floating template such as [[Template:infobox|infobox]] as they will collide in a rather unsightly manner. In such cases, leave this (rather than the other) template out, and let the page have a normal table of contents.
<noinclude>[[Category:Template documenation|F]]</noinclude>

Revision as of 19:13, 17 April 2009

Usage

{{floatingtoc|float|limit}}

  • float: Floats the table of contents to either the left or right side of the screen. Default is to float to the right.
  • limit: Used to show only the higher levels of the table of contents.

This template floats the table of contents on the right-hand side of the page. Don't use it in conjunction with another floating template such as infobox as they will collide in a rather unsightly manner. In such cases, leave this (rather than the other) template out, and let the page have a normal table of contents.