Template:Toc: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
Line 9: | Line 9: | ||
__TOC__ | __TOC__ | ||
</pre> | </pre> | ||
at the top of the page. The template takes three | at the top of the page. The template takes three | ||
[http://www.mediawiki.org/wiki/Help:Templates#Anonymous_parameters parameters]: the message, | |||
the icon and the destination label. The defaults are: | the icon and the destination label. The defaults are: | ||
Revision as of 11:03, 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. The template takes three parameters: the message, the icon and the destination label. The defaults are:
1=Table of Contents, 2=toc.gif, 3=contents