MediaWiki/Table of Contents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
== Positioning the TOC == | == Positioning the TOC == | ||
"The default position of the TOC is directly above the first section heading. Any prior text is placed before the TOC. To place it elsewhere, use the magic word _ | "The default position of the TOC is directly above the first section heading. Any prior text is placed before the TOC. To place it elsewhere, use the magic word <u>_</u>_TOC__ at the preferred position on the page:" <ref>Manual:Table of contents - MediaWiki - https://www.mediawiki.org/wiki/Manual:Table_of_contents</ref> | ||
<pre> | <pre> | ||
__TOC__ | __TOC__ |
Revision as of 15:28, 4 January 2024
Hide TOC
Hiding the TOC by adding this tag to the page:[1]
__NOTOC__
Positioning the TOC
"The default position of the TOC is directly above the first section heading. Any prior text is placed before the TOC. To place it elsewhere, use the magic word __TOC__ at the preferred position on the page:" [2]
__TOC__
keywords
- ↑ Manual:Table of contents - MediaWiki - https://www.mediawiki.org/wiki/Manual:Table_of_contents
- ↑ Manual:Table of contents - MediaWiki - https://www.mediawiki.org/wiki/Manual:Table_of_contents