Template:Date context

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

This documentation is transcluded from Template:Date context/doc.

This template allows to specify a context for a date.


{{Date context |1= |2= |3= |lang= }}

The parameter {{{2}}} and the optional parameter {{{3}}} can be ISO 8601 dates

Possible values for {{{1}}}:

  • "cast": statue cast at time {{{2}}}
  • "created": object created at time {{{2}}}
  • "dedicated": object dedicated at time {{{2}}}
  • "destrоyed": object destrоyed at time {{{2}}}
  • "published": object published at time {{{2}}}
  • "scanned": object scanned at time {{{2}}}
  • "validity": file valid for the time frame {{{2}}} till {{{3}}} (e.g. a map, that shows a state that applied for a limited timeframe only)
  • "vectorized": object vectorized at time {{{2}}}

Template parameters

1type of dateemptyrequired
2date in ISO 8601 formatemptyrequired
3second date in ISO 8601 formatemptyoptional
langlanguage code (only needs to be provided if the language shall be fixed and independant from the user's preferences)value of {{int:Lang}}optional

Additional information

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

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

Relies on:
{{ISOdate}}, {{LangSwitch}}


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)