0
edits
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
==Table of contents (TOC)== | |||
{{Shortcut|WP:TOC}} | |||
{{For|Wikipedia's contents|Portal:Contents}} | |||
For each page with more than three headings, a '''table of contents (TOC)''' is automatically generated from the section headings, unless: | |||
* (for a user) [[Help:preferences|preferences]] are set to turn it off | |||
* (for an article) the [[Help:Magic words|magic word]] <code><nowiki>__NOTOC__</nowiki></code> (with two underscores on either side of the word) is added to the article | |||
==Sections for demo above== | |||
===Demo http://a=== | |||
This section is linked to from [[#Section linking]]. | |||
==See also== | ==See also== | ||
* [[mw:Extension:Auto-Anchor]] | |||
* [[Template:sections]] | |||
;Manual of style | |||
* [[Wikipedia:Manual of Style (layout)]] | |||
* [[Wikipedia:Manual of Style (lead section)]] | |||
* [[Wikipedia:Manual of Style (accessibility)]] | |||
* [[Wikipedia:Manual of Style (summary style)]] | |||
[[Category:Wikipedia article elements help]] | [[Category:Wikipedia article elements help]] |