Create Toc Plugin
WikiPlugin to create a dynamical Table Of Contents of all headers. Since v1.3.8
Usage
<?plugin CreateToc ?>
<?plugin CreateToc jshide||=1 with_toclink||=1 ?>
Plugin Arguments
| jshide: | Boolean if the TOC should be initially hidden and on click expanded. Default: 0 |
|---|---|
| with_toclink: | Boolean if headers should link back to the TOC. Default: 0 |
| headers: | Which headers to include. Default: !!!,!!,! 1,2,3 also allowed |
| noheader: | Boolean if the "Table of Contents" h2 header should be omitted. Default: 0 |
| liststyle: | dl or ol or ul. Default: dl |
| indentstr: | Default: |
| pagename: | TOC of which page? Default: current pagename |
Known Problems
If any header contains a link or a WikiWord or non-word characters, CreateToc will print a warning and refuse to link this header.
Examples
See for example
PhpWikiDemo:en/TextFormattingRules
Last edited on Tuesday 16 January 2007 18:56:23
Copyright Southampton University Canoe Club (SUCC)
This website is hosted by Southampton University Students Union.
If you would like hosting for your club or society contact us at hosting@susu.org.
The views expressed on this website are not the views of SUSU or the University of Southampton.


