PluginAutoTOC | |
This supercedes MakeTOC.
|
Parameters | ||||||||||||||||||||||||||||||||||||||||||||||||||
Display a Table Of Contents in a wiki page Introduced in Tiki 23. Required parameters are in bold .Go to the source code Preferences required: wikiplugin_autotoc
|
Enabling/Disabling | |
To enable/disable PluginAutoTOC, go to Control Panels » Main Features » Edit and Plugins, then check "Experimental" option in "Preference Filters". Please, see the screenshot below :
|
Usage | |
The plugin settings offer more ways to work with the table of contents: make it visible or not, position it on the left or right side of a wiki page, hide the headings of your choice, etc. |
Activity | |
Is the only mandatory parameter. Its possible values are "yes/no", yes to display the table of contents and no to not display it.
Copy to clipboard
|
Align | |
Allows you to add a TOC either to the right, or left, or at the same position where will be placed the Plugin.
Examples :1. Align the TOC to the right of wiki page This codeCopy to clipboard
Copy to clipboard
Copy to clipboard
Using this code above, you will get a result like this one :
Copy to clipboard
With the previous code, you will have a result like this one:
|
Title | |
This parameter allows to add a title to a table of contents only when the value of the parameter align="page", in other cases the title will not be displayed. ExampleCopy to clipboard
Will produce a result like this :
|
Offset | |
Adds a space at the top of the table of contents. The value is expressed in pixels. This parameter works only when placing the TOC on the left or right side of the page, not when the TOC is in the content of the page. Examples1. A table of contents with 150px offset Copy to clipboard
The code below will display a table of contents like this one :
Copy to clipboard
The code below will display a table of contents like this one :
|
Levels | |
Allows to display in the table of contents only the levels of the headings indicated as value of the parameter. When there is more than one, they are separated by ":". ExampleCopy to clipboard
|
Mode | |
This parameter should allow the extension of the headings of the table of contents without scrolling the page. This parameter does not work as expected. Syntax :This code : Copy to clipboard
Should allow the extension of headings. And this code : Copy to clipboard
Resets the extension of the titles that occurs only by scrolling the page. |
Combinations | |
You can combine several parameters at once. Examples :This code : Copy to clipboard
Copy to clipboard
|
Commits | |
https://sourceforge.net/p/tikiwiki/code/77744
|