In Legacy Vector the table of contents is automatically hidden on pages with less than 4 sections. There is not much documentation regarding the reasoning behind this decision. From Help:Section:
For each page with at least four headings, a table of contents (TOC) is automatically generated from the section headings unless...
(The conversation on Help talk:Section unfortunately hasn't yielded much yet)
While on some (maybe most) pages with less than 4 sections the table of contents might not add much value, on some pages it will. Additionally by showing it we get the benefit of a consistent layout for all article pages. This will remove any confusion regarding why it's shown on some pages and not on others, as well as prevent the page content from shifting when switching from a page with a table of contents to a page without one (or vice versa).
Here are a few examples of articles with less than 4 sections, with the table of contents showing:
This is a prototype but hopefully close enough to the real thing for us to get a sense. What do people think?
Find an article with < 4 sections
- Confirm in Vector 2022 there is a table of contents
- Confirm in Vector there isn't a table of contents