MediaWiki/Table of Contents: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
|||
(5 intermediate revisions by the same user not shown) | |||
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 <u> | "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><u>_</u>TOC<u>_</u><u>_</u> 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__ |
Latest revision as of 15:30, 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