Template:Toc: Difference between revisions

From KBwiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[Image:toc.gif|link={{FULLPAGENAME}}#contents]]
[[Image:smltoc.gif|link={{FULLPAGENAME}}#contents]]
[[{{FULLPAGENAME}}#contents|{{{1|Table of Contents}}}]]
[[{{FULLPAGENAME}}#contents|{{{1|Table of Contents}}}]]
<noinclude>
<noinclude>

Revision as of 10:50, 10 February 2011

Smltoc.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 a single anonymous parameter, which defaults to "Table of Contents".