Template:TOCnonum: Difference between revisions

From OniGalore
m (doc wording)
(added note that the template doesn't do anything now)
 
Line 1: Line 1:
<includeonly><div class="nonumtoc">__TOC__</div></includeonly><noinclude>Sometimes a table of contents (TOC) does not benefit from having numbers to the left of the section names; usually this is the case when pre-existing numbers in the section names visually clash in some way with the numbers assigned to those sections by the TOC (see "What links here" for an example of where this can happen). Place this template at the point in the article where the TOC should appear (i.e., after the [[wikipedia:WP:LEDE|lede]]) to get a un-numbered TOC.
<includeonly><div class="nonumtoc">__TOC__</div></includeonly><noinclude>{{fmbox
  | text = This template used to be handy, but it doesn't serve a purpose under Vector 2022, which was made the default skin for the wiki in 2025 and which does not place numbers on TOC items.
  }}
Sometimes a table of contents (TOC) does not benefit from having numbers to the left of the section names; usually this is the case when pre-existing numbers in the section names visually clash in some way with the numbers assigned to those sections by the TOC (see "What links here" for an example of where this can happen). Place this template at the point in the article where the TOC should appear (i.e., after the [[wikipedia:WP:LEDE|lede]]) to get a un-numbered TOC.


[[Category:Basic formatting templates]]
[[Category:Basic formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 00:43, 19 November 2025

Sometimes a table of contents (TOC) does not benefit from having numbers to the left of the section names; usually this is the case when pre-existing numbers in the section names visually clash in some way with the numbers assigned to those sections by the TOC (see "What links here" for an example of where this can happen). Place this template at the point in the article where the TOC should appear (i.e., after the lede) to get a un-numbered TOC.