Template talk:Category TOC

Changes
--Scriberius (talk) 18:05, 24 May 2008 (UTC)
 * interwiki de needs to be fixed towards de:Vorlage:TOC Kategorie
 * We could use

doc
Where's the documentation at (no link)? --Scriberius (talk) 18:05, 24 May 2008 (UTC)

I agree that there should be a documentation page, given that the template is protected. I have come here, however, to request another change:
 * |from=0}} 0-9]

to
 * |from=0}} 0–9]

In other words, the hyphen should change to an en dash. This is a number range, and hyphens should not be used for such ranges. Waltham, The Duke of 12:29, 7 September 2008 (UTC)
 * [[Image:Yes check.svg|20px]] Done and [[Image:Yes check.svg|20px]] Done. The page now both uses an en dash ( – ) and has a documentation subpage. { { Nihiltres | talk | log } } 16:19, 7 September 2008 (UTC)

Discussion
A proposal about merging a lot of the category TOCs is being discussed at Template talk:CatAZ. &mdash; Martin (MSGJ · talk) 23:54, 5 March 2009 (UTC)

bottom
If there's a way to complement "Top" with "Bottom", it would be good to get to the last things categorized. 76.66.193.69 (talk) 08:08, 24 March 2009 (UTC)

Category TOC on non-TOC pages.
This would be very useful. What I mean is that you could place something like

and it would generate links to jump to the appropriate place in Category:Wikipedia books (community books), even if you are not on the category page. Headbomb {{{sup|ταλκ}}κοντριβς – WP Physics} 19:53, 9 January 2010 (UTC)

Edit request on 20 March 2012
Can you please add rick sopher to the recipients of the Chevalier de la Legion d'Honneur: http://fr.wikipedia.org/wiki/Catégorie:Chevalier_de_la_Légion_d%27honneur

Thank you for your help, i have spent hours trying to edit this page.

62.140.193.42 (talk) 10:01, 20 March 2012 (UTC) 	User:Rick Sopher (talk) 10:01, 20 March 2012 (GMT) 	Example (talk) 10:01, 20 March 2012 (GMT)


 * Since that category is on the French Wikipedia, it is only possible to add people that already have an article there. Since Rick Sopher only has an article on the English Wikipedia, a separate article (in French) would need to be created. You can do this by following this link: http://fr.wikipedia.org/w/index.php?title=Rick_Sopher&action=edit&redlink=1
 * At the bottom of the new article, put  and   on separate lines in the edit window to add it to the category and to add a link back to the english version in the sidebar. Tra (Talk) 20:49, 20 March 2012 (UTC)

Edit request on 20 May 2012
Charles Windsor Bower United States Army Major is a recipient of the Bronze Star for his Heroism in Pearl Harbor, The Philipines and Korea during World War II Sincerely, Geron Decker GrandsonDanthe3rd (talk) 10:29, 20 May 2012 (UTC)

Danthe3rd (talk) 10:29, 20 May 2012 (UTC)
 * Good to know. That said, I think you might have posted on the wrong page, so you might try posting your request on the page that uses this template, presuming that you wish to add this person to whatever list/category that brought you here. -- slakr  \ talk / 01:08, 22 May 2012 (UTC)

Feature request
In the same way as numerals can be displayed either separately or grouped, I would like to be able to display letters either separately or grouped. Category:Pistol and rifle cartridges contains entries primarily beginning with a numeral. If I were to add a TOC to that category, I would wish to display numerals separately and group the letters as A-Z. StraightAsADie (talk) 00:12, 4 July 2013 (UTC)

Edit request on 4 July 2013
In the same way as numerals can be displayed either separately or grouped, I would like to be able to display letters either separately or grouped. Category:Pistol and rifle cartridges contains many entries beginning with a numeral and few entries beginning with a letter. I have manually coded a TOC for that page which groups letters as A-Z, but would prefer to use a standard template.

I have added the ability to group letters into this template's sandbox: Template:Category TOC/sandbox. Updated documentation including test cases are in: User:StraightAsADie/sandbox. Note that the documentation links to the sandbox.

This change is completely backwards compatible with the current template. All existing instances of the template will display the same as they currently do. The new uppercase=group or lowercase=group parameters must be added to activate the new features.

StraightAsADie (talk) 02:09, 4 July 2013 (UTC)
 * Yes check.svg Done Thanks for the updates! Please don't forget to update the documentation as well. Best — Mr. Stradivarius  ♪ talk ♪ 11:13, 8 July 2013 (UTC)

Documentation has been updated, and the new features are in use at Category:Pistol and rifle cartridges. Thank you! StraightAsADie (talk) 12:09, 8 July 2013 (UTC)

align = center
Doesn't seem to work. See the Examples section in the doc subpage. GregorB (talk) 21:29, 18 August 2013 (UTC)
 * I have fixe it on Wikivoyage/de, but am not allowed to edit it here. Just add an  to the sytle-section. -- DerFussi (talk) 07:47, 9 October 2013 (UTC)
 * Thanks, I'm going to try it in the sandbox and then make an edit request. GregorB (talk) 12:00, 9 October 2013 (UTC)
 * It seems that the problem lies in TOC top, I believe the above solution will be applicable there. GregorB (talk) 13:02, 9 October 2013 (UTC)
 * TOC top has been fixed, looks fine now (may take some time before all transclusions are refreshed, though)! GregorB (talk) 09:19, 11 October 2013 (UTC)

Remove text?
Shouldn't the text: should only be added to category pages and should not be used for categories containing less than 400 pages be removed from the description? It is not clear why a TOC cannot be added to any category of over 200 (maybe even less?) in this day and age when many are trying to access Wikipedia on very small screens? Ottawahitech (talk) 14:25, 11 January 2015 (UTC)
 * Am I making sense? Ottawahitech (talk) 16:23, 17 January 2015 (UTC)
 * The MediaWiki default is to display 200 items per page: having a table of contents for less than that would make anchors in the same document and wouldn't aid in navigation. I don't know about mobile: have you looked at any categories on a mobile device? —Justin ( koavf ) ❤T☮C☺M☯ 17:43, 20 January 2015 (UTC)
 * Thanks for responding Koavf. No, I have not looked at categories on a mobile recently, just threw this out to get some discussion going. As far as I am concerned I'd be happy with replacing the 400 with 200 in the text of this template. I do hope, though, that others would opine too. Ottawahitech (talk) 13:38, 21 January 2015 (UTC)
 * Opinions No problem. And I will happily accept some other standard or consensus but I don't see a lot of folks writing here as it's a pretty obscure template talk page. By all means, go for it. Thanks. —Justin ( koavf ) ❤T☮C☺M☯ 16:23, 21 January 2015 (UTC)

Feature request: non-Latin characters
I have a need on an independent MediaWiki for a Category TOC that displays both Latin and Hiragana characters at the same time. Unicode order is acceptable. Is this possible? --Rob Kelk 13:27, 21 August 2016 (UTC)

New category TOC for centuries
A category such as Category:Houses by year of completion would be much better with a TOC having links to each century featured within the content. I think this would require a new template.

It could be similar to Template:TOCyears, which requires manual input for start and end dates, or Template:Compact ToC election decades, which requires input listing the relevant decades to be displayed. (Those examples show years and decades rather than centuries.)

Or could Template:Large category TOC numeric be cut down fairly simply for this purpose? I can't do it, but perhaps you can. – Fayenatic  L ondon 19:43, 1 October 2019 (UTC)
 * @Fayenatic, it seems to me that what you are describing is a navbox, not a TOC, because the links you intend are presumably to the by-century categories rather than to items on the current page.
 * And if that's case, I don't see the point, because the subcat Category:Houses by century of completion lists all the centuries above the fold, and the century categories are interlinked by navseasoncats.
 * I hope I'm missing something, because so far I don't see a problem here. And Template:Compact ToC election decades seems to be of little relevance, because it's a actual TOC for use within articles. --  Brown HairedGirl  (talk) • (contribs) 19:54, 1 October 2019 (UTC)
 * No, not a navbox, but a TOC. I've tried putting in Template:Large category TOC numeric now, with the aim of being able to jump to e.g. Category:Houses completed in 1800, or at least to Category:Houses completed in 2000, rather than paging through the 512 sub-cats by year. But it doesn't work.
 * Category:Houses completed in 1885 has a TOC so that we can jump to contents e.g. house names beginning with V. It ought to be possible for the parent to have a TOC so that we could jump to contents e.g. years beginning with 18.
 * Sure, the other templates that I mentioned give links to sections within an article rather than members within a category, but I thought there might be some code that could be re-used. – Fayenatic  L ondon 20:11, 1 October 2019 (UTC)

Template:TOC top?
I note that this template was on the list for conversion to TOC top as far back as 2012 (pinging User:Thumperward); however, the conversion still hasn't happened, and from a brief skim I don't see any relevant discussion on this talk page either. Is this conversion still planned? Is there something holding it up? Is it just a matter of someone making the change? 「 ディノ 奴 千？！ 」☎ Dinoguy1000 05:24, 3 February 2022 (UTC)


 * There's no way I'm going to recall a discussion from literally a decade ago, and with ~150k page potentially impacted here I'm unlikely to be willing or able to reserve the time to look at it properly. But I'm certainly happy for anyone else thus inclined to have another look at it. Chris Cunningham (user:thumperward) (talk) 18:32, 4 February 2022 (UTC)

No border in Vector 2022
I'm not seeing a border around the TOC in Vector 2022. Try https://en.wikipedia.org/wiki/Category:Pages_using_NBA_roster_footer_with_unknown_parameters?useskin=vector-2022 to see for yourself. It works fine in Vector 2010. Pinging and, who have worked on Template:TOC top/styles.css recently. – Jonesey95 (talk) 16:42, 22 January 2023 (UTC)


 * @Jonesey95 I see this. Unless I'm missing something it has a border. [[File:Screenshot of Category-Pages using NBA roster footer with unknown parameters on English Wikipedia.png|thumb]] Dreamy Jazz talk to me &#124; my contributions 17:11, 22 January 2023 (UTC)
 * Are you using Vector 2022 in safe mode? See my screen shot of this template's doc page to the right. This happens to me in Mac OS Firefox and Brave. Category-TOC-screen-shot.png – Jonesey95 (talk) 17:47, 22 January 2023 (UTC)
 * No, not using safe mode. Dreamy Jazz talk to me &#124; my contributions 00:02, 23 January 2023 (UTC)
 * @Jonesey95, WP:VPT. Izno (talk) 21:19, 22 January 2023 (UTC)
 * As a note, "I don't see a border" is skin specific. Timeless does not add borders on its tables of contents. Izno (talk) 21:20, 22 January 2023 (UTC)
 * Thanks for the link. I was able to make yet another adjustment to my common.css to work around this bug/oversight. I am wanting to like this beta skin, but I sure have had to work around a lot of bugs and unfinished coding (not to mention the design choices that are not my cup of tea). My favorite so far is the 24px of empty space at the top of the page (see ), which should have been the work of a moment to fix and a nice quick win for the team to trumpet, but it's been moldering for over a month. – Jonesey95 (talk) 01:30, 23 January 2023 (UTC)
 * The  class removal was a clear design choice of removal and has a basic rationale that it's simply not needed. The   class removal I'm less thrilled about. Izno (talk) 04:12, 23 January 2023 (UTC)

Template-protected edit request on 10 May 2024
Please sync Template:Category TOC/tracking with Template:Category TOC/tracking/sandbox, which updates the categorization after some categories were renamed. (E.g. Category:Template Large category TOC via CatAutoTOC on category with over 20,000 pages is now at Category:Template Large category TOC via Automatic category TOC on category with over 20,000 pages.) Thanks! House Blaster  (talk · he/him) 13:45, 10 May 2024 (UTC)
 * ✅ &mdash; Mdaniels5757 (talk &bull; contribs) 19:31, 10 May 2024 (UTC)

Template-protected edit request on 25 May 2024
Please sync Template:Category TOC/tracking with Template:Category TOC/tracking/sandbox, which updates categorization after Categories for discussion/Log/2024 May 23. Thanks, House Blaster  (talk · he/him) 15:15, 25 May 2024 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 18:45, 25 May 2024 (UTC)