Board Thread:Support Requests - Getting Technical/@comment-3234315-20190109194154

Hi.

Toclimit is about defining the level of subheaders on an article being shown in the table of contents.

The Forum:Toclimit wasn't helpful, perhaps because it's from 2011.

There's no word about this on Help:Table of contents, but shouldn't it work?

I've just added /* * Allow limiting of which header levels are shown in a TOC; *, for instance, will limit to * showing ==headings== and ===headings=== but no further. * Copied from */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } to the MW:Wikia.css.

Then I added to this page – but still all subheadings are shown. The div-embedding in general works, as the max-width is applied. There's no TOC-template on the article, I've refreshed the browser cache and purged – no success.

So, how is it done? 