Template:Dateformat

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


Please use the correct date format

Hi Dateformat,

Thank you for your contributions to Commons. I noticed you mentioned a date on File:Example.jpg. Please know that in order for dates to be automatically detected and translated into other languages it needs to be in the YYYY-MM-DD format (ie. 2024-01 for January 2024 or 2024-05-15 for 15 May 2024). Also, for other (less specific) dates use {{Other date}} for centuries, ranges, 'circa' etc. like this: {{other date|between|1899|1903}} for "between 1899 and 1903

date QS:P,+1500-00-00T00:00:00Z/6,P1319,+1899-00-00T00:00:00Z/9,P1326,+1903-00-00T00:00:00Z/9

". This way the dates will be translated internally into the user's language preference. I've fixed it for you here. See for example the result in Spanish: here. Thanks again.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Dateformat/doc.

No description yet available.

Usage

{{Dateformat |1= |2= |3= }}

Template parameters

ParameterDescriptionDefaultStatus
1Pagename of page where the user used the wrong formatemptyoptional
2Link to a diff showing the fix.emptyoptional
3Language for the "See example" link. Depends on 1.enoptional

Additional information

The template is intended to be used in the following namespaces: the User talk namespace

The template is intended to be used by the following user groups: Autoconfirmed users

Localization

English  français  македонски

This template is localized through {{Autotranslate}}.


To add your language to the list of languages supported by this template, please copy the code of Template:Dateformat/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.