|
|
Line 1: |
Line 1: |
− | A table of content is created automatically, if an article contains more than '''three headings'''.
| |
| | | |
| + | = Instructions = |
| | | |
− | If you want to replace the table of content, you can change its position by using the keyword "__TOC__" in the Wikitext.To change the position of the Table of Content, follow the following steps. | + | A table of content is created automatically, if an article contains more than '''[[Add Headings|three headings]]'''. |
| + | |
| + | <br/>If you want to replace the table of content, you can change its position by using the keyword "__TOC__" in the Wikitext.To change the position of the Table of Content, follow the following steps. |
| | | |
| <br/> | | <br/> |
Line 9: |
Line 11: |
| | | |
| [[File:Show Wiki Text Editor.JPG|frame|none|710px|alt=Show Wiki Text Editor.JPG]] | | [[File:Show Wiki Text Editor.JPG|frame|none|710px|alt=Show Wiki Text Editor.JPG]] |
− | | + | <div style="clear: both"></div> |
− | <br/> | + | |
− | | + | |
| 2. At the position, where you want to place the table of content (in most cases on top of the page), write "__TOC__" and save your changes. | | 2. At the position, where you want to place the table of content (in most cases on top of the page), write "__TOC__" and save your changes. |
| | | |
Line 18: |
Line 18: |
| = Advanced = | | = Advanced = |
| | | |
− | *If you want to force the "Table of Content" to be always shown regardless of the number of headings, you can put the magic keyword "__FORCETOC_" anywhere on the page and a Table of content will always be shown.<br/> | + | *If you have less than 3 headings but still want a "Table of Content (TOC)", then you can force the TOC by adding the magic keyword "__FORCETOC_" anywhere on the article. |
− | *Conversely, the magic keyword "__NOTOC_" will suppress the "Table of Content" if placed anywhere within the page. | + | *Conversely, the magic keyword "__NOTOC_" will suppress the "Table of Content" if placed anywhere within the article. |
| | | |
| To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown in Step 1. | | To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown in Step 1. |
Revision as of 12:05, 4 February 2016
Instructions
A table of content is created automatically, if an article contains more than three headings.
If you want to replace the table of content, you can change its position by using the keyword "__TOC__" in the Wikitext.To change the position of the Table of Content, follow the following steps.
1. Click on "Edit" and then on WikitextEditor:
2. At the position, where you want to place the table of content (in most cases on top of the page), write "__TOC__" and save your changes.
Advanced
- If you have less than 3 headings but still want a "Table of Content (TOC)", then you can force the TOC by adding the magic keyword "__FORCETOC_" anywhere on the article.
- Conversely, the magic keyword "__NOTOC_" will suppress the "Table of Content" if placed anywhere within the article.
To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown in Step 1.