Last modified on 26 November 2013, at 13:40

Template:According to EXIF data/doc

This template is used in the "date" parameter of the {{Information}} template to render the words "according to EXIF data" in the language specified in the user's preferences.

Usage

{{According to EXIF data |1= |origdate= }}

Or use the shorthand {{AccordingToEXIF|… parameters as described …}}

There are two possible ways to use this template:

  • Use the template without any parameters. It just renders the words "according to EXIF data" in the language specified in the user's preferences.
  • Give the date in ISO 8601 form (YYYY-MM-DD) as a parameter. The template displays the date (localized by {{ISOdate}}) and renders the words "according to EXIF data" in the language specified in the user's preferences.

Template parameters

Parameter Description Default Status
1 Date in EXIF data in ISO 8601 (YYYY-MM-DD) format, e.g. 2009-02-17 for 17 February 2009. empty optional
origdate The original date entered by the uploader, in ISO 8601 format, e.g. {{According to EXIF data|2010-06-30|origdate=2010-06}} renders as " (, according to EXIF data)" and {{According to EXIF data|2010-06-30|origdate={{other date|summer|2010}}}} renders as "Summer 2010 (, according to EXIF data)". empty optional
dip Display also the date in parentheses, e.g. {{According to EXIF data|2014-07-20|dip=1}} renders as "(, according to EXIF data)". This parameter is deprecated. Use origdate instead. empty deprecated

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

Relies on:
{{ISOdate}}

Example

{{According to EXIF data|2014-07-20}}

renders as:

 (according to EXIF data)

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)