Template:Floatingtoc: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Protected "Template:Floatingtoc": Critical template [edit=sysop:move=sysop])
w:c:strategywiki>Prod
m (adding toc limit and option to float to left)
Line 1: Line 1:
<div style="float:right;">__TOC__</div><noinclude>
<div style="float:{{{float|right}}}" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div><noinclude>
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.


[[Category:Templates|F]]</noinclude>
[[Category:Templates|F]]</noinclude>

Revision as of 19:24, 29 June 2008

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.