Insert Table of Content
If an article has more than 3 headings, a table of content (TOC) is automatically created and displayed at the top of the article. However, if you want to change the position of the TOC, please follow these steps:
1. Click on "Edit" and then on the text, "Show WikitextEditor" in the right corner of the article:
Error creating thumbnail: convert: unable to open image `/var/www/ISWiki/prod/current/energypedia/images/1/1a/Show_Wiki_Text_Editor.JPG': No such file or directory @ error/blob.c/OpenBlob/2641.
convert: no images defined `/tmp/transform_3d04f68-1.jpg' @ error/convert.c/ConvertImageCommand/3044.
2. Add the magic keyword, "__TOC__" , at the position where you want to place the table of content and save your changes.
Advanced
- If you have less than 3 headings but still want a TOC, then add the magic keyword "__FORCETOC__" anywhere on the article to get a TOC.
- Conversely, the magic keyword "__NOTOC__" will suppress the TOC, if placed anywhere within the article.
To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown above