Difference between revisions of "User:PsychoNerd054/BasicTutorial"
Line 19: | Line 19: | ||
'''<nowiki>__TOC__</nowiki>''' - Can be placed anywhere on a page to position the table of contents onto an exact portion of the page<br> | '''<nowiki>__TOC__</nowiki>''' - Can be placed anywhere on a page to position the table of contents onto an exact portion of the page<br> | ||
'''<nowiki>__FORCETOC__</nowiki>''' - Serves a similar function to "__TOC__", where the position of the table of contents is determined. Can be used when you want a table of contents on your page, regardless of the number of sections it contains<br> | '''<nowiki>__FORCETOC__</nowiki>''' - Serves a similar function to <nowiki>"__TOC__"</nowiki>, where the position of the table of contents is determined. Can be used when you want a table of contents on your page, regardless of the number of sections it contains<br> | ||
'''<nowiki>__NOTOC__</nowiki>''' - Used to prevent a table of contents from being created on a page, regardless of how many sections it contains<br> | '''<nowiki>__NOTOC__</nowiki>''' - Used to prevent a table of contents from being created on a page, regardless of how many sections it contains<br> | ||
Revision as of 06:01, 25 June 2022
Back To Article Ideas |
Headers and Table of Contents
A page can and should be separated into sections. This can be achieved by using the header syntax. After at least four sections are added to a page, a table of contents will pop up at the start of that page.
=Header 1= ==Header 2== ===Header 3=== ====Header 4==== =====Header 5===== ======Header 6======
NOTE: Do not put single equal signs around a header name, as this will end up creating a header with text that is the same size as the article's name. Also try to avoid going for headers beyond "header 4" wherever possible.
Magic Words
The table below is a cheatsheet of all of the different magic words you may use when creating an article.
__TOC__ - Can be placed anywhere on a page to position the table of contents onto an exact portion of the page
__FORCETOC__ - Serves a similar function to "__TOC__", where the position of the table of contents is determined. Can be used when you want a table of contents on your page, regardless of the number of sections it contains
__NOTOC__ - Used to prevent a table of contents from being created on a page, regardless of how many sections it contains