In MediaWiki and BlueSpice the table of contents will be shown at the very beginning of an article, when there are more than three headings. If you want to place it somewhere else, choose a position in the text and insert __TOC__ to display it right there. The same command will also force to display the table of content, even if there are less then four headings in the article. If you use __TOC__ several times in the text, it will ony appear at the first word’s position.
In the other case, if you don´t want a table of contents, meantion __NOTOC__ somewhere in your wiki code and it won´t be displayed, no matter how much headings you used. __TOC__ overrides the __NOTOC__ command, if you are using both in one article.
You may also like:
Leave a Reply