|
|
Line 1: |
Line 1: |
− | '''Sections''' divide an article into separate topics.
| + | #REDIRECT [[Help:Text formatting#Headers]] |
− | | |
− | == Syntax ==
| |
− | Most headings are level two headings, and the syntax is
| |
− | | |
− | <pre>== Heading name ==</pre>
| |
− | | |
− | To create a heading hierarchy, there are also level three and level four headings.
| |
− | | |
− | <pre>=== Level 3 heading ===
| |
− | ==== Level 4 heading ====</pre>
| |
− | | |
− | There also exists a level one heading. The use of this heading is discouraged, though it often is used on discussion pages.
| |
− | | |
− | To link to a heading on the same page, use an internal link: <tt><nowiki>[[#Syntax]]</nowiki></tt> (this can be piped). A link to a heading on a different page is similar: <tt><nowiki>[[AoPSWiki:Tutorial#Wiki Syntax|here]]</nowiki></tt>
| |
− | | |
− | == Table of Contents ==
| |
− | The table of contents (abbreviated TOC) contains links to the various sections of the article.
| |
− | | |
− | To avoid seeing the table of contents, there is a hide option on the upper right hand corner of the TOC. You can also turn it off in your preferences under “Misc”.
| |
− | | |
− | To make the TOC not show on a page, use <tt><nowiki>__NOTOC__</nowiki></tt>. To move the TOC to a different location, use <tt><nowiki>__TOC__</nowiki></tt> where you want the TOC to go.
| |
− | | |
− | == Floating ==
| |
− | <!-- to finish later -->
| |
− | | |
− | == See also ==
| |
− | *[[AoPSWiki:Tutorial]]
| |
− | | |
− | ----
| |
− | {{tutorial}}
| |