Why do articles with multiple sections not have a table of contents

mediawikiwikiwikipedia

Why isn't there a table of contents (TOC) in the Wikipedia article "Scott Meyers"?

There are three sections in that article. Has it something to do with the length? The article "Web application" has a TOC.

Is it possible to change it such that it gets a TOC?

Best Answer

A TOC in Wikipedia is only generated if the article has more than three sections. The one you linked to only has three, and so it is not generated.

If you were to add __TOC__ or __FORCETOC__ to the document a TOC would be generated. __FORCETOC__ causes the TOC to be placed before the first section heading, which would be before "Publications", while __TOC__ will cause the TOC to be inserted wherever it was placed.

For more information you might want to look at WP:TOC, which goes into more depth on how TOCs are generated in Wikipedia and how to control them.