Template talk:Template category
This is the talk page for discussing improvements to the Template category template. |
|
Archives: 1Auto-archiving period: 3 months |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Visit the testcases page to see examples of parameter use. |
Template-protected edit request on 14 December 2017
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The pages listed in this category are templates.
to The pages listed in this category are templates.
Reason: I have a disambiguation page highlighter, and I'm sick of seeing these orange links to Wikipedia:Templates. It's a disambig page, and it helps no one when directly linked. Help:Templates is much better as it is not a disambig page and contains some of the best content on Wikipedia templates. — Mr. Guye (talk) (contribs) 05:14, 14 December 2017 (UTC)
- @Mr. Guye: Done -- John of Reading (talk) 07:04, 14 December 2017 (UTC)
If affirmed/declined to yesno
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have changed If affirmed and If declined to yesno per Wikipedia:Templates_for_discussion/Log/2019_March_19#Template:If_affirmed. There are some minor changes in what values are accepted, but I've fixed all four transclusions that used these. --Trialpears (talk) 22:11, 25 August 2019 (UTC)
- Done Looks tested to me. Izno (talk) 22:22, 25 August 2019 (UTC)
Automatic topic
[edit]I've written a small module, which is now used by the sandbox (see Special:Diff/975628281/979218167). This new module tries to automatically generate template category topic text based on category's page name, when parameters |topic=
and |description=
are not used. The main idea is that most topical template categories are named Category:<topic> <suffix>
, with very few different suffixes. I've tried it out on several categories. For example, the module can guess a topic for Category:Fungus templates and Category:Ukraine user templates, but can't for Category:India political party templates, because article India political party does not exist.
Theoretically, it will remove a sizeable portion of Category:Template:Template category with no topic or description. Do you think it is a good idea? —andrybak (talk) 14:12, 19 September 2020 (UTC)
- Thanks for the ping, @andrybak. This is an interesting idea.
- I have done a fair bit of work in the last few months on categorising the chronology category header templates, esp since I have built or rebuilt many of them. See Category:chronology category header templates. From what understand, this module wouldn't be much use for them, because most of them are not named "top templates"; they are "topic function templates".
- I haven't done much analysis of what proportion of template categories include a function in their names, but any added value is useful so long as it has a low false positive rate. That's important: no generated text is better than inaccurate generated text. Have you done any evaluation on a random sample to try to identify false positives?
- A few weeks ago, I dis some broader work on templates top get them out of content categories (WT:Categorization#Template_categories_as_subcategories_of_content_categories). I got as as far as about depth 3 or 4, which was enough for my purposes.
- But along the way I noticed several issues:
- vast numbers of template cats which lack {{Template category}}
- vast numbers of cats named "Foo templates" but with {{Template category}} set as type=navbox.
- A systematic cleanup is needed. --BrownHairedGirl (talk) • (contribs) 15:36, 19 September 2020 (UTC)
- BrownHairedGirl, the only false-positives I can think about are coincidences in abbreviations. E.g. Category:Usercat templates doesn't have an article Usercat, but for the deleted category Category:Cathead templates there is an unrelated to category headers article Cathead. Categories near the top of the category graph, like Category:Wikipedia templates, Category:Embeddable templates, or Category:Intricate templates, are also at risk, but most of them have their own
|description=
. —andrybak (talk) 17:24, 19 September 2020 (UTC)- @andrybak: There will also be false positives in undisambiguated titles. --BrownHairedGirl (talk) • (contribs) 22:38, 19 September 2020 (UTC)
- BrownHairedGirl, I've done a lot of location userbox categorization in the past, and I'm can only thing of ambiguities like Category:New York City templates vs Category:New York (state) templates and Category:Georgia (country) templates vs Category:Georgia (U.S. state) templates. Do you happen to know examples in other topic areas? —andrybak (talk) 22:45, 19 September 2020 (UTC)
- @andrybak, on my trawls i saw lots of undismabiguated titles. No, I don't have examples to hand ... but I do urge you to some randomised testing. Location userboxes will expose you to fairly limited subset of template categories.--BrownHairedGirl (talk) • (contribs) 22:51, 19 September 2020 (UTC)
- BrownHairedGirl, oh, I didn't mean to say that I've only dealt with categorization of userboxes. Your message elsewhere spurred me to have a go at removing content categories from templates/template categories per WP:CAT#T and cleaning up Category:Template:Template category with no topic or description. That's where the idea for this automation came from.
- I've checked a hundred random categories from the category Template:Template category with no topic or description. The only disambiguation related thing that came up was different kinds of football, all subcats of which have disambiguated titles already. —andrybak (talk) 23:19, 19 September 2020 (UTC)
- Finally found a false positive: Category:Year of the Pig user templates – incorrect Year of the Pig vs correct Pig (zodiac). —andrybak (talk) 23:46, 19 September 2020 (UTC)
- More false-positives: Category:Search templates, Category:Database templates. —andrybak (talk) 13:27, 20 September 2020 (UTC)
- @andrybak, on my trawls i saw lots of undismabiguated titles. No, I don't have examples to hand ... but I do urge you to some randomised testing. Location userboxes will expose you to fairly limited subset of template categories.--BrownHairedGirl (talk) • (contribs) 22:51, 19 September 2020 (UTC)
- BrownHairedGirl, I've done a lot of location userbox categorization in the past, and I'm can only thing of ambiguities like Category:New York City templates vs Category:New York (state) templates and Category:Georgia (country) templates vs Category:Georgia (U.S. state) templates. Do you happen to know examples in other topic areas? —andrybak (talk) 22:45, 19 September 2020 (UTC)
- @andrybak: There will also be false positives in undisambiguated titles. --BrownHairedGirl (talk) • (contribs) 22:38, 19 September 2020 (UTC)
- BrownHairedGirl, the only false-positives I can think about are coincidences in abbreviations. E.g. Category:Usercat templates doesn't have an article Usercat, but for the deleted category Category:Cathead templates there is an unrelated to category headers article Cathead. Categories near the top of the category graph, like Category:Wikipedia templates, Category:Embeddable templates, or Category:Intricate templates, are also at risk, but most of them have their own
You are invited to join the discussion at Wikipedia talk:WikiProject Templates § Naming of navbox categories. —andrybak (talk) 16:11, 8 November 2020 (UTC)
Change image
[edit]It is requested that an edit be made to the template-protected template at Template:Template category. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Please change the image to File:Folder-template.svg. An update I devised to the existing one.
|[[File:Curly Brackets.svg|44px|Template braces inside a folder|alt=|link=]]
to
|[[File:Folder-template.svg|44px|Template braces inside a folder|alt=|link=]]
waddie96 ★ (talk) 09:30, 12 January 2025 (UTC)
- @Waddie96 Was this change discussed at VPT/VPP/VPM or on any other talk page before this request was made ? Sohom (talk) 01:27, 13 January 2025 (UTC)