Template talk:Information

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:Information has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.
Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.

ISBN[edit]

Any thought of including isbn as a parameter in this template, for when books are uploaded? -Pete F (talk) 06:32, 27 December 2013 (UTC)

For books we use {{Book}} and it have ISBN. See Commons:Infoboxes--Jarekt (talk) 14:40, 27 December 2013 (UTC)

Location[edit]

There are currently 215 files with the parameter Location in Category:Pages using Information template with incorrect parameter that are non-empty. Since the parameter is undefined, the information is not shown. Does anyone have a suggestion on how to make this information visible (e.g. adding to Description) and to do the necessary modifications in an automated way? --Leyo 01:32, 26 January 2014 (UTC)

{{Information2}} has "location" field --Jarekt (talk) 04:54, 26 January 2014 (UTC)
Sounds like a good solution to replace \{\{Information\n in these cases. Or is there any drawback? --Leyo 12:59, 26 January 2014 (UTC)
{{Information2}} is rarely used and it is unclear what is it's future. Also if something gets broken, it might be undiscovered for a long time. --Jarekt (talk) 18:49, 26 January 2014 (UTC)
An alternative would be to use Other fields, but the replacement is more complex. I don't know which option is better, but any is better than the status quo. --Leyo 21:00, 26 January 2014 (UTC)

Troubles with DATE[edit]

As soon as the Date contains not only the yyyy[-mm[-dd]] value, may be also a time, but has additionally the string (UTC) generated, the date conversion fails. The (UTC) is contained rather often. How about treating the date nevertheless? sarang사랑 09:33, 17 April 2014 (UTC)

Date is treated by {{ISOdate}} one of the most complicated and unreadable template we have. It is also very rarely touched in last 4 years, since it last maintainer user:Slomox semi-retired. The template needs to be rewritten as Module:Date but so far nobody tackled it. --Jarekt (talk) 02:20, 18 April 2014 (UTC)
@Jarekt: Why not use {{#time:}} instead? {{ISOdate}} treats only date strings in ISO format, while {{#time:}} treats both. --Zhuyifei1999 (talk) 11:41, 18 April 2014 (UTC)
@Zhuyifei1999: {{ISOdate}} shows the date in the language of the viewer and at the time the template was written only showed the date in the default language of the Commons (English?). It also had a lot of issues with some years (many before 1000) showing up incorectly. {{ISOdate}} is a giant case statement with different years and date formats being treated differently, with many calls to . Much of the complexity of {{ISOdate}} is likely no longer needed. --Jarekt (talk) 12:22, 18 April 2014 (UTC)

Thank you. I knew that the final treatment of Date is not done by Information itself, but did not look where it happens. We have skilled module writers, haven't we? They need to know about this challenge. Users often write dates in wrong formats, that can be resolved, if not corrected or tagged with an error msg. Would be nice, even if not such an urgent must. sarang사랑 10:25, 18 April 2014 (UTC)