The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:Float toc"
(New page: {| border="0" style="float:right" |- || __TOC__ |}<noinclude> == Purpose == This template floats the table of contents to the right of the page. It is useful on pages with lots of section...) |
|||
Line 1: | Line 1: | ||
− | {| border="0" style="float:right" |
+ | {| border="0" style="float:{{{1|{{{align|{{{float|right}}}}}}}}}" |
|- |
|- |
||
|| __TOC__ |
|| __TOC__ |
||
Line 8: | Line 8: | ||
<nowiki>{{float toc}}</nowiki> |
<nowiki>{{float toc}}</nowiki> |
||
Result: Above |
Result: Above |
||
+ | <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. |
||
+ | == Shortcuts == |
||
+ | *<nowiki>{{</nowiki>[[Template:float|float]]<nowiki>}}</nowiki> |
Revision as of 01:52, 14 February 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}}