Template:Taken on

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

Taken on

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Taken_on/doc.

Dialog-warning-orange.svg Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.

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= }}

Template parameters

Parameter Description Default Status
1 Date in ISO 8601 form (time can be included). {{ISOdate}} is used. empty optional
cat Disables categorisation if no empty optional
location Categorises the file under the Category:Photographs by date by country category tree empty optional

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

Example

{{Taken on|2018-04-14}}

renders as:

Taken on 

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)