|
|
(13 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'''.
| + | = Instructions = |
| | | |
− | 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. | + | 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: |
| | | |
− | <br/> | + | <br/>1. Click on "Edit" and then on the text, '''"Show WikitextEditor"''' in the right corner of the article: |
| | | |
− | 1. Click on "Edit" and then on WikitextEditor:
| + | [[File:Show Wiki Text Editor.JPG|border|none|710px|alt=Show Wiki Text Editor.JPG]] |
| | | |
− | [[File:Show Wiki Text Editor.JPG|frame|none|710px|alt=Show Wiki Text Editor.JPG]]
| + | <br/> |
| + | <div style="clear: both"></div> |
| + | 2. Add the magic keyword, "__TOC__" , at the position where you want to place the table of content and save your changes. |
| | | |
| <br/> | | <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.
| + | = Advanced = |
− | | + | |
− | [[File:Save page.JPG|frame|none|715px|Save page.JPG|alt=Save page.JPG]]
| + | |
− | | + | |
− | <br/>
| + | |
| | | |
− | '''Advanced:'''<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. |
− | *If you want to force the "Contents" to be always shown regardless of the number of headlines, you can put the magic keyword "__FORCETOC_" anywhere on the page and a Table of content will always be shown.<br/> | + | *Conversely, the magic keyword "__NOTOC__" will suppress the TOC, if placed anywhere within the article. |
− | *Conversely, the magic keyword "__NOTOC_" will suppress the "Contents" if placed anywhere within the page. | + | |
| | | |
− | <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