|
|
Line 1: |
Line 1: |
| = 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|three headings]]''', a table of content (TOC) is automatically created and is</span> displayed at the top of the article. However, if you want to change the position of the TOC, please follow the following 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"''' on 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|border|none|710px|alt=Show Wiki Text Editor.JPG]] |
− | <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.
| |
| | | |
| <br/> | | <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. |
| | | |
| = 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 you add 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. | + | *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. | + | To put both the magic keywords, switch to " Show Wiki Text Editor" Option as shown above |
| | | |
| <br/>__NOAUTHORLIST__ | | <br/>__NOAUTHORLIST__ |
| | | |
| [[Category:Articles]] | | [[Category:Articles]] |
Revision as of 12:24, 4 February 2016
Instructions
If an article has more than three headings, a table of content (TOC) is automatically created and is</span> displayed at the top of the article. However, if you want to change the position of the TOC, please follow the following steps:
1. Click on "Edit" and then on the text, "Show WikitextEditor" on 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.
Advanced
- If you have less than 3 headings but still want a TOC, then you add the magic keyword "__FORCETOC__" anywhere on 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 above