Template:Upload date

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

upload date

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

This template is used in the "date" parameter of the {{Information}} template to render the words "upload date" in the language specified in the user's preferences. This template should be used only if the creation date of the file is unknown.

Usage

{{Upload date |1= }}

There are two possible ways to use this template:

  • Use the template without any parameters. It just renders the words "upload date".
  • Give the date in ISO 8601 form as a parameter. The template displays the date (localized by {{ISOdate}}) and renders the words "upload date".

Template parameters

ParameterDescriptionDefaultStatus
1Date in ISO 8601 form. {{ISOdate}} is used.emptyoptional

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

{{Upload date|2024-05-02}}

renders as:

2 May 2024 (upload date)

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)

This template is used in the "date" parameter of the {{tl|Information}} template to render the words "upload date" in the language specified in the user's preferences. This template should be used only if the creation date of the file is unknown.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Date1

Date in ISO 8601 form.

Example
2022-11-28
Daterequired