Template:Taken on

Taken on

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

When the exact date of media creation is known, this template renders the words "Taken on" in the language specified in the user's preference followed by the date. The template automatically adds a "taken on" category using the exact date. If the exact date is not known, use the {{Taken in}} template. The English language distinguishes between the two terms: a photograph is "taken on" an exact day, date, or week, but is "taken in" a longer period of time, e.g., a week, month, season, year, or longer.

This template is generally used in the "date" parameter of the {{Information}} template.

The template automatically sets the following categories: corresponding subcategory of

The file type is detected with {{File type}}. The categorization can be supressed with parameter cat=no (appropriate when the file is manually moved to any subcategory of the default target category, e.g. a country-specific subcategory).

Usage

{{Taken on |1= |cat= |location= |source= }}

Template parameters

ParameterDescriptionDefaultStatus
1Date in ISO 8601 form (time can be included). {{ISOdate}} is used.emptyoptional
catDisables categorisation if noemptyoptional
locationCategorises the file under the Category:Photographs by date by country category treeemptyoptional
sourceWhen source=EXIF, adds (according to EXIF), suitably translatedemptyoptional

Additional information

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

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

Examples

{{Taken on|2022-11-17}}

renders as:

Taken on 17 November 2022


{{Taken on|2022-11-17 10:21 UTC+8}}

renders as:

Taken on 17 November 2022, 10:21 UTC+8

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)