Template talk:Derivative versions

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Are all the ifexists necessary? Why not just use {{#if:{{{1|}}}|... ? I would change it but I don't want to break any bots. Rocket000(talk) 07:41, 31 August 2008 (UTC)

P.S. If you wanted a <gallery> you can use {{#tag:gallery|...}}. Rocket000(talk) 07:43, 31 August 2008 (UTC)
ifexists avoid red links; I made it because of that. You break no bot if you change that. I don't know if we should use a gallery... What do you think?--Luxo 08:30, 1 September 2008 (UTC)
Oh ok, I see. You want it to remove links automatically if the derivatives get deleted, right? Otherwise why would you add non-existent derivatives? :) As for the gallery, I would say no. I just mentioned it because I saw you try it in the history. It would depend on the images and how they related if a gallery would be desired or not. We could make it an option, though. Rocket000(talk) 08:56, 1 September 2008 (UTC)
right, we could make a option. {{DerivativeVersions|...|gallery=true}} or something. I will not add non-existent derivatives and the bot checks every derivatives he add for this, but sometimes images get deleted by evil admins ;) But we could remove deleted images "by hand" in the source, that's right (and cleaner).--Luxo 09:35, 1 September 2008 (UTC)

Bot corruption, Template limitation[edit]

I removed the bot's addition of this template to Carlos_Santana.jpg, as the reference was already there. I might have used this template in the other instances, but I don't see that this the template allows for comments. —Danorton (talk) 17:07, 9 April 2009 (UTC)


I think that a gallery view of the derivative works would be more interesting than the current list format. I've made the necessary changes to the code in my sandbox and would like to copy it here if there's no opposition. Capmo (talk) 00:08, 14 February 2013 (UTC)

I just tried your gallery=true sandbox code and it's great (I did not save it). Can we implement it? I always use galleries, prefer it over list formats. The thing is, I would put the gallery in the other_versions parameter rather than the source parameter. Galleries in the middle of the {{information}} template aren't pretty, so should there still be some sort of information in the source parameter...? – Kerαunoςcopiagalaxies 05:20, 26 April 2013 (UTC)
Wait, I just removed "gallery=true" from my test and the gallery still appeared. This would change thousands (or whatever) of template uses, which I don't think I agree with. This should be a voluntary change. See link (my talk page for now) for the example. – Kerαunoςcopiagalaxies 05:21, 26 April 2013 (UTC)

Faster knowledge[edit]

If the file is an image it should display "[[Image:...]]" —User000name 01:26, 2 April 2016 (UTC)

Village pump[edit]

It is suggested to use <gallery> format. Please see Village pump. -- Geagea (talk) 21:46, 30 August 2016 (UTC)