Difference between revisions of "Template:Float toc"

From The iPhone Wiki
Jump to: navigation, search
(update to wikipedia)
(Undo revision 16356 by Balloonhead66 (Talk) undo)
Line 1: Line 1:
  +
{| border="0" style="float:{{{1|{{{align|{{{float|right}}}}}}}}}"
{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};"
 
 
|-
 
|-
| __TOC__
+
|| __TOC__
 
|}<noinclude>
 
|}<noinclude>
 
== Purpose ==
 
== Purpose ==

Revision as of 18:44, 26 April 2011

Purpose

This template floats the table of contents to the right of the page. It is useful on pages with lots of sections.

Usage

{{float toc}}

Result: Above

{{float toc|(float)}}

You can use {{float toc|left}}, {{float toc|align=left}}, {{float toc|left}} to float the table to the left.

Shortcuts