|
|
(10 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | A table of content is created automatically, if an article contains more than '''three headings'''.
| |
| | | |
− | If your article contains less than three headings or 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.
| + | = Instructions = |
| | | |
− | <br/>
| + | If an article has more than '''[[Add Headings|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 WikitextEditor: | + | <br/>1. Click on "Edit" and then on the text, '''"Show WikitextEditor"''' in the right corner of the article: |
| | | |
− | [[File:Show Wiki Text Editor.JPG|frame|none|710px|alt=Show Wiki Text Editor.JPG]] | + | [[File:Show Wiki Text Editor.JPG|border|none|710px|alt=Show Wiki Text Editor.JPG]] |
| | | |
| <br/> | | <br/> |
− | | + | <div style="clear: both"></div> |
− | 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. Add the magic keyword, "__TOC__" , at the position where you want to place the table of content and save your changes. |
| | | |
| <br/> | | <br/> |
Line 17: |
Line 16: |
| = 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 TOC, then add the magic keyword "__FORCETOC__" anywhere on the article to get a TOC. |
− | *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 TOC, if placed anywhere within the article. |
− | | + | |
− | To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown in Step 1.
| + | |
| | | |
− | <br/>__NOAUTHORLIST__ | + | To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown above<br/>__NOAUTHORLIST__ |
| | | |
| [[Category:Articles]] | | [[Category:Articles]] |
Latest revision as of 12:38, 22 June 2016
[edit] Instructions
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:
2. Add the magic keyword, "__TOC__" , at the position where you want to place the table of content and save your changes.
[edit] 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