The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Float toc"
(Undo revision 16356 by Balloonhead66 (Talk) undo) |
m (added margin) |
||
Line 1: | Line 1: | ||
− | {| border="0" style="float:{{{1|{{{align|{{{float|right}}}}}}}}}" |
+ | {| border="0" style="float:{{{1|{{{align|{{{float|right}}}}}}}}}; margin:5px;" |
|- |
|- |
||
|| __TOC__ |
|| __TOC__ |
||
+ | |- |
||
|}<noinclude> |
|}<noinclude> |
||
== Purpose == |
== Purpose == |
||
This template floats the table of contents to the right of the page. It is useful on pages with lots of sections. |
This template floats the table of contents to the right of the page. It is useful on pages with lots of sections. |
||
+ | |||
== Usage == |
== Usage == |
||
<nowiki>{{float toc}}</nowiki> |
<nowiki>{{float toc}}</nowiki> |
||
Line 10: | Line 12: | ||
<nowiki>{{float toc|(float)}}</nowiki> |
<nowiki>{{float toc|(float)}}</nowiki> |
||
You can use <nowiki>{{float toc|left}}, {{float toc|align=left}}, {{float toc|left}}</nowiki> to float the table to the left. |
You can use <nowiki>{{float toc|left}}, {{float toc|align=left}}, {{float toc|left}}</nowiki> to float the table to the left. |
||
+ | |||
== Shortcuts == |
== Shortcuts == |
||
*<nowiki>{{</nowiki>[[Template:float|float]]<nowiki>}}</nowiki> |
*<nowiki>{{</nowiki>[[Template:float|float]]<nowiki>}}</nowiki> |
||
+ | </noinclude> |
Revision as of 17:42, 23 August 2011
Contents |
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
- {{float}}