Template:Toc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Usage) |
||
Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
Inserts a link icon to the current page's table of contents. | Inserts a link icon to the current page's table of contents. | ||
The position to jump to should be defined by something like | |||
<pre> | <pre> | ||
<div id="contents"></div> | <div id="contents"></div> | ||
__TOC__ | __TOC__ | ||
</pre> | </pre> | ||
at the top of the page. | |||
[[Category:Template|Toc]] | [[Category:Template|Toc]] | ||
</noinclude> | </noinclude> |
Revision as of 10:31, 10 February 2011
Usage
Inserts a link icon to the current page's table of contents. The position to jump to should be defined by something like
<div id="contents"></div> __TOC__
at the top of the page.