MediaWiki/Table of Contents: Difference between revisions

From Omnia
Jump to navigation Jump to search
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>__</u>TOC<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>
"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__

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

  1. Manual:Table of contents - MediaWiki - https://www.mediawiki.org/wiki/Manual:Table_of_contents
  2. Manual:Table of contents - MediaWiki - https://www.mediawiki.org/wiki/Manual:Table_of_contents