Commons:Template requests
On this page, Commons users can request edits to templates, the addition of complex templates to pages, and the creation of new templates. Here, users experienced with templates can find tasks to work on.
On Commons, templates are used for aiding navigation, adding standardized categories at scale, enabling adjusting various things from a central place, overviews, warning messages, and much more.
Create a new section for every new request:
|
no archives yet (create) |
Please use a descriptive title that briefly explains the change. Currently, edit requests for the {{Wikidata infobox}} are not included here – please see Template talk:Wikidata Infobox for these.
If a request has been implemented or there is strong consensus against the requested change (for example because it seems impossible to implement), please mark it as solved via {{Section resolved}} as described below.
| SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 3 days. | |
Requests
[edit]Combining double see also cat
[edit]{{Birthcat}} adds two lines of {{See also cat}} if both cat <year> deaths and cat <year> animal births exists. Please combine them so that if both categories exist, only one line of cat see alsos is shown as is standardized common practice. Prototyperspective (talk) 13:50, 2 November 2025 (UTC)
- Done, I have combined them. Thanks. Tvpuppy (talk) 04:18, 3 November 2025 (UTC)
- Thank you! However, it seems like it still shows the animal deaths cat even when it's a redlink – see Category:1 births – and both redlinks when both don't exist – see Category:3 births. Prototyperspective (talk) 12:55, 3 November 2025 (UTC)
- Both of those categories you linked doesn't use the {{Birthcat}} template. Thanks. Tvpuppy (talk) 13:15, 3 November 2025 (UTC)
- Oh you're right; didn't check because it looked like it had the template and all the other cats in the series have it. So the first 10 years starting from 0 (0-9) don't have this template – that may be a common issue of templates for by-year-cat-series. Strangely, it seems like there are just two categories for births by year before year 0 – Category:173 BC births and Category:179 BC births. I'll check if births-year cat is autoset via the Wikidata infobox but then even if it is, the redcats for BC/BCE cats wouldn't get created. Thanks again for solving the first request!
- Prototyperspective (talk) 13:28, 3 November 2025 (UTC)
This section is resolved and can be archived. If you disagree, replace this template with your comment. Prototyperspective (talk) 13:28, 3 November 2025 (UTC)
- Both of those categories you linked doesn't use the {{Birthcat}} template. Thanks. Tvpuppy (talk) 13:15, 3 November 2025 (UTC)
- Thank you! However, it seems like it still shows the animal deaths cat even when it's a redlink – see Category:1 births – and both redlinks when both don't exist – see Category:3 births. Prototyperspective (talk) 12:55, 3 November 2025 (UTC)
Parameter auto=yes for ArchiveBox to detect and link/transclude archive subpages
[edit]Please add a parameter to the template so that it gets all subpages that have the prefix /Archive and links them. For example at Commons talk:Welcome, I think it could be possible to just take these pages from Special:PrefixIndex/Commons talk:Welcome and link them by the title after the /Archive/ which here is the year instead of having to manually write them out.
The current state of things is problematic as it needs continuous maintenance and people can forgot to add the achivebox or make other mistakes. For example, I forgot or didn't know I had to add the archive box when adding {{Autoarchive resolved section}}. I think it may be better if things were just by default archived per page per year instead of just numerating the archive number but unlike the box at Commons talk:Welcome, it would transclude the per-year pages into one archive page that is as long as possible without templates breaking in it as with Commons talk:Tools. Having all the years there directly can become long even if new pages don't need to be added manually and having just a few threads per page can make it difficult to go through the archives. However, when per-year pages are used which are then transcluded, it needs to be made sure that the transclusions all work (maybe it breaks with too many years or too many threads).
See the discussion here.
Prototyperspective (talk) 14:07, 2 November 2025 (UTC)
Parameter for "review impossible" for LicenseReview template
[edit]At Commons:Village_pump/Proposals/Archive/2025/02#Add_an_outcome_of_LicenseReview there is a discussion about to modify Template:LicenseReview so it is possible to mark files with some sort of "review impossible". I tried to fix the template per Template_talk:LicenseReview#Outcome but it did not work as planned. And there is no reason to modify MediaWiki:Gadget-LicenseReview.js untill we have a working review template. Can someone fix? MGA73 (talk) 10:26, 12 October 2025 (UTC)
Relayed from Commons:Village pump/Technical#Add an outcome of LicenseReview. Prototyperspective (talk) 14:27, 2 November 2025 (UTC)
Comment, see work in progress in {{LicenseReview/sandbox}}. If someone else wants to continue the work, please feel free to do so. Thanks. Tvpuppy (talk) 03:30, 3 November 2025 (UTC)
Fix Topic in country template linking to the redlink Template:Byby
[edit]I am trying to decode how this is happening, but I'm at a loss: categories such as Category:Construction in Guam which feature {{Topic in country}} have some nonsense code linking to the redlink Template:Byby, but it's only a little over 600 out of the 17,700 transclusions. I don't know why. Can someone smarter than me fix this? Thanks in advance. —Justin (koavf)❤T☮C☺M☯ 11:38, 14 October 2025 (UTC)
Relayed from Commons:Village pump/Technical#Broken template. Prototyperspective (talk) 14:30, 2 November 2025 (UTC)
Make template Shortcut show again
[edit]The {{Shortcut}} box isn't showing on any of the pages it's being used. Could somebody please fix this? First asked about this here. Prototyperspective (talk) 14:33, 2 November 2025 (UTC)
Comment I think {{Shortcut2}} is the correct template to use if you want to display the box. Tvpuppy (talk) 03:52, 3 November 2025 (UTC)
- Why would the shortcuts be intentionally not shown? What would be the reason or benefit of adding that template when it's not shown to the reader? Even if it was intentional, I think it should be shown but as of now and given that nobody said so in the linked prior thread, I doubt this is the case. Prototyperspective (talk) 12:47, 3 November 2025 (UTC)
- Moreover, in the documentation of the template it says
This template shows the shortcuts of the current page.
and at the bottom it has a table with a column "input" where there is the template and a column "result" where it does display something. Prototyperspective (talk) 12:49, 3 November 2025 (UTC) - Per this edit [1] in 2009, it appears this was designed to display without a box. Also, the template does display the shortcut links in mobile view. Not sure why it isn't displaying the links in desktop view. Thanks. Tvpuppy (talk) 13:24, 3 November 2025 (UTC)
- Okay, things are clear now; I thought emphasis was on "display", not on "the box". The request is about displaying it anyhow (on desktop too if it does display on mobile). Prototyperspective (talk) 13:30, 3 November 2025 (UTC)
- I thought it was weird that a 21-year-old template only displays correctly for mobile view. So, I checked and this template does display the links with Vector legacy 2010 (old skin), but it isn't displaying for Vector 2022 (new skin). So, I think this needs to be updated, but I'm not sure how. Thanks. Tvpuppy (talk) 13:40, 3 November 2025 (UTC)
- Okay, things are clear now; I thought emphasis was on "display", not on "the box". The request is about displaying it anyhow (on desktop too if it does display on mobile). Prototyperspective (talk) 13:30, 3 November 2025 (UTC)
- Moreover, in the documentation of the template it says
- Why would the shortcuts be intentionally not shown? What would be the reason or benefit of adding that template when it's not shown to the reader? Even if it was intentional, I think it should be shown but as of now and given that nobody said so in the linked prior thread, I doubt this is the case. Prototyperspective (talk) 12:47, 3 November 2025 (UTC)
A template for cat Vaccinations by country
[edit]Could somebody please create a template for Category:Vaccinations by country that puts the category into (example for Category:Vaccinations in China) into Category:Vaccinations by country, Category:Public health in China and Category:Healthcare in China?
It would probably good to have subcategories, also with a template, for statistical graphics (data graphics) and note that many or most of these cats currently may miss a lot of files that are located in other categories like Category:Our World in Data graphics about healthcare systems. Prototyperspective (talk) 12:44, 3 November 2025 (UTC)
- I have created {{VaccinationNav}}. I have already changed some of the categories to use the new template, feel free to change the remaining categories. Thanks. Tvpuppy (talk) 21:26, 3 November 2025 (UTC)
- Amazing, thank you very much! I just changed the remaining categories but it's been hassle: asked if there was a way to bulk-edit many categories' contents similar to VisualFileChange here. Just one more thing before this is fully solved: could you make it so that e.g. Category:Vaccinations in Turkey displays both the countries of Asia and the countries of Europe navbar? Prototyperspective (talk) 00:26, 4 November 2025 (UTC)
- Done, I have added the navbar for the secondary continent. Thanks. Tvpuppy (talk) 00:45, 4 November 2025 (UTC)
- Amazing, thank you very much! I just changed the remaining categories but it's been hassle: asked if there was a way to bulk-edit many categories' contents similar to VisualFileChange here. Just one more thing before this is fully solved: could you make it so that e.g. Category:Vaccinations in Turkey displays both the countries of Asia and the countries of Europe navbar? Prototyperspective (talk) 00:26, 4 November 2025 (UTC)
Florida memory
[edit]Can Template:Attribution-FLGov-PhotoColl be modified to contain the image number, we do that with the Library of Congress template. --RAN (talk) 18:41, 3 November 2025 (UTC)
Comment The problem for this is the link (URL) to the source image does not contain the image number, so having the image number in the template will not create a link like the ones in the LOC templates (e.g. {{LOC-image}}).- Alternatively, it is possible to include the source image link to the template, but I don't see how that will be useful since it will probably be redundant. Thanks. Tvpuppy (talk) 22:41, 3 November 2025 (UTC)
New template: European road signs navbox
[edit]Hello,
Would it be possible to create a new template to allow for easier navigation of the various "Comparison of European road signs" gallery pages? What I had in mind was that it would follow the same format as the Template:Countries of Europe template, and similarly be placed at the top of each page, rather than needing to scroll down to the See also section. The following are the gallery pages in question:
Built-up area limits - Checkpoint - De-restriction - Mandatory - Priority - Prohibitory - Special regulations - Warning
I would appreciate any input regarding this. Thanks EthanL13[please ping me] 15:46, 4 November 2025 (UTC)
- @EthanL13 I have created {{European road signs navbox}} per your description above. Thanks. Tvpuppy (talk) 02:31, 5 November 2025 (UTC)
