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:toc.gif|link={{FULLPAGENAME}}#contents]]
[[{{FULLPAGENAME}}#contents|{{{msg|Table of Contents}}}]]
[[{{FULLPAGENAME}}#contents|{{{1|Table of Contents}}}]]
<noinclude>
<noinclude>
==Usage==
==Usage==

Revision as of 10:42, 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 a single argument, called msg, which defaults to "Table of Contents".