Template talk:Album cover category

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconAlbums Template‑class
WikiProject iconThis template is within the scope of WikiProject Albums, an attempt at building a useful resource on recordings from a variety of genres. If you would like to participate, visit the project page, where you can join the project and/or contribute to the discussion.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Ignoring DEFAULTSORT[edit]

Have applied this template to a handful of categories successfully just now, so thank you for making it. Unfortunately, I've run into an issue with Bolis Pupul album covers and Willie Nelson album covers in that both had {{DEFAULTSORT}} set ("Pupul, Bolis" and "Nelson, Willie") but the template appears to ignore it, thus sorting the categories by their titles instead. The same is currently occurring with Fabiana Palladino album covers. QuietHere (talk | contributions) 04:27, 22 April 2024 (UTC)[reply]

Hm. Trying to solve that now. ―Justin (koavf)TCM 00:54, 23 April 2024 (UTC)[reply]
@QuietHere: I have a non-ideal fix, but it's more efficient than typing out {{DEFAULTSORT:X, Y}}, so that's something. :/ Thanks. ―Justin (koavf)TCM 01:02, 23 April 2024 (UTC)[reply]
It worked for Category:Fabiana Palladino album covers. Trying it on the other two now. QuietHere (talk | contributions) 01:11, 23 April 2024 (UTC)[reply]
@QuietHere: Ugh. I can't get it to work without the second parameter, so for the time being, you'll just have to always insert something, even if it's just the basepagename. :/ ―Justin (koavf)TCM 01:13, 23 April 2024 (UTC)[reply]
That time, I couldn't even get Bolis Pupul album covers to appear in the category. Could it be that it was sorted under C for "Category"? I didn't think to look there. QuietHere (talk | contributions) 01:15, 23 April 2024 (UTC)[reply]
It was sorted under "{", which is now the default if parameter 2 is empty. Again, not ideal. It would be great if parameter 2 were optional and then it defaulted to the basepagename, which is what you want for (e.g.) Category:Alice in Chains album covers, so it's hardly perfect, but still more efficient than typing in all the introdcutory text, links, and __NOGALLERY__ by hand. I'll see if I can fix it to make parameter 2 conditional, but I am pretty stupid, so I probably can't. :/ ―Justin (koavf)TCM 01:21, 23 April 2024 (UTC)[reply]
Additionally, adding "Category:[artist]" and sort it "|Album Covers" in case it exists is a roadmap activity. Just another thing on the to-do pile. ―Justin (koavf)TCM 01:24, 23 April 2024 (UTC)[reply]
Well the good news is you got it working as is so I can safely add it around now. And thanks for making the template by the way. This'll come in handy for sure. QuietHere (talk | contributions) 05:00, 23 April 2024 (UTC)[reply]
You do a lot of good work on album articles, so thanks as well. ―Justin (koavf)TCM 05:21, 23 April 2024 (UTC)[reply]