Template:Toc: Difference between revisions

From KBwiki
Jump to navigation Jump to search
Line 12: Line 12:
the icon and the destination label. The defaults are:
the icon and the destination label. The defaults are:


1= Table of Contents, 2=toc.gif, 3=contents  
1='''Table of Contents''', 2='''toc.gif''', 3='''contents'''
[[Category:Template|Toc]]
[[Category:Template|Toc]]
</noinclude>
</noinclude>

Revision as of 11:01, 10 February 2011

Toc.gif Table of Contents

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 anonymous parameters: the message, the icon and the destination label. The defaults are:

1=Table of Contents, 2=toc.gif, 3=contents