Template talk:Compact TOC

message: We are using this template on the various parts of List of Nintendo Switch games with "num=yes". The number link works fine on the page containing the numbers, List of Nintendo Switch games (0–9 and A–C). However on other pages, such as List of Nintendo Switch games (D–G), it links to the 0–9 section of that page (e.g. D–G), which of course doesn't exist. How can I specify the sub-article for the numbers, the same way as I do for A, B, C etc (via "a=", "b=", "c="). Sorry if I'm being dumb, but I couldn't figure that out from the documentation. Kidburla (talk) 21:34, 27 October 2021 (UTC)
replies: text: I've actually just figured this out, the parameter name is "0-9" (note it's a hyphen not a dash here). Probably the docs need to be updated to make that clear. Kidburla (talk) 23:44, 27 October 2021 (UTC)
thread_title:  How to specify a sub-article for numbers? 

message: This diff removed alignment of the optional sections below the ABCDEF listing. It makes  irrelevant. Please revert. 71.247.146.98 (talk) 11:59, 2 November 2021 (UTC)
thread_title:  Alignment of extra sections removed 

message: Using the Download as PDF or Printable version tools on an article displays normal TOCs in the output, but it hides the Compact TOC. It would be useful if there were an option to make this printable again. RandomBlobby (talk) 00:51, 4 June 2022 (UTC)
thread_title:  Print 

message: Please apply this sandbox edit to  to add support for specifying a custom CSS class for the outer container using . This lets, say, a wrapper template add TemplateStyles that tweaks the custom TOC styling. And on Wikisource (which imports this template) some "magic" CSS classes affect software functionality, so having the ability to set the right magic CSS class to tag parts of the table of contents is critical.Test case here. Xover (talk) 10:06, 4 December 2022 (UTC)
replies: text: exactly what are we looking for? I see no difference on the testcases page between the sandbox and the live template. Is there supposed to be a visible difference? P.I. Ellsworth , ed. put'r there 13:55, 5 December 2022 (UTC)
replies: text: @Paine Ellsworth: No visual difference. The patch adds a  parameter that lets you add a CSS class to the template's output, and which in turn can be targetted by TemplateStyles (in a wrapper template) or a user script or Gadget. You can see the change in your web browser's web inspector: … (the ws-summary class was passed as a parameter). Xover (talk) 14:12, 5 December 2022 (UTC)
replies: text: I use the Chrome browser and I've checked the developer tools, everywhere, and I don't see a "web inspector" anywhere. Help me out. I obviously need a little larnin'. P.I. Ellsworth , ed. put'r there 14:32, 5 December 2022 (UTC)
replies: text: To open the developer console in Google Chrome, open the Chrome Menu in the upper-right-hand corner of the browser window and select More Tools > Developer Tools. You can also use  (on macOS), or  (on Windows/Linux). You should also have a "Inspect" menu item in the context menu (right-click menu) for an element in a web page, which is probably the most convenient way to see it. Xover (talk) 14:44, 5 December 2022 (UTC)
replies: text:  – man that was hard to find, but I did find it. Thank you for your patience! P.I. Ellsworth , ed. put'r there 15:48, 5 December 2022 (UTC)
replies: text: Thank you! Xover (talk) 16:27, 5 December 2022 (UTC)
replies: text: my pleasure! Paine  16:36, 5 December 2022 (UTC)
thread_title:  Custom class support 

message: The issue of configurability options for table of contents is being tracked in Phabricator. Mathglot (talk) 06:34, 21 April 2023 (UTC)
replies: text: has come up with a solution at another template using TemplateStyles that may apply here, as well; please see Template talk:Skip to bottom#Unnecessary link of "Skip to TOC". Mathglot (talk) 18:48, 20 July 2023 (UTC)
thread_title:  Configurability options for table of contents and Vector 2022 issues