MediaWiki talk:Common.css

TOC_limit import?
I made a request at the wiki's central discussion page, but it hasn't gotten much response or aid there, so I'm reposting here, which possibly will better have relevant eyes.

Alot of the table of contents of various pages are extremely long, and I think the TOC_limit template on Wikipedia would be a grand help: it allows the template to show headers only up to a certain level, i.e. second level headers and higher, but nothing smaller.

So, for example, it'll be possible to have headers for Caleb's spells by level, which can then still be anchored to in links, but one can choose to not display those headers in the table of contents, producing a much shorter TOC. This would also have possible applications perhaps at the Content Warnings article (allowing episodes to have individual third level headers, if desired) or articles for briefly appearing NPCs whose TOCs are overwhelming their short articles.

There's instructions on how to import it. It requires adding a bit of code into this page, which I obviously do not have access to do. Is there someone who can help insert the necessary CSS? I would be happy to do the actual template page creation step myself, but it's the CSS that is beyond my permissions. FreckledMcCree (talk) 17:39, 11 May 2021 (UTC)