|
|
(8 intermediate revisions by 3 users not shown) |
Line 2: |
Line 2: |
| = Instructions = | | = Instructions = |
| | | |
− | A table of content is created automatically, if an article contains more than '''[[Add Headings|three headings]]'''.
| + | 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/>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/>1. Click on "Edit" and then on the text, '''"Show WikitextEditor"''' in the right corner of the article: |
| + | |
| + | [[File:Show Wiki Text Editor.JPG|border|none|710px|alt=Show Wiki Text Editor.JPG]] |
| | | |
| <br/> | | <br/> |
− |
| |
− | 1. Click on "Edit" and then on WikitextEditor:
| |
− |
| |
− | [[File:Show Wiki Text Editor.JPG|frame|none|710px|alt=Show Wiki Text Editor.JPG]]
| |
| <div style="clear: both"></div> | | <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 18: |
Line 16: |
| = Advanced = | | = 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. | + | *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 article. | + | *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