Help/CreateTocPlugin

Table of Contents toctoggle

Help: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: false
with_counter: Boolean if hierarchical prefixes should be added. Default: false
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: &nbsp;&nbsp;
pagename: TOC of which page? Default: current pagename

Examples

See for example PhpWikiDemo:en/TextFormattingRules


PhpWikiDocumentation Help:WikiPlugin