Template:Date context
This template allows to specify a context for a date.
Usage
{{Date context |1= |2= |3= }}
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}}} - "
digitized": analog original was digitized at time {{{2}}} (to be used when "scanned" does not fit, e.g. time when a digital photograph of a painting was taken or an old vinyl record was digitized) - "
published": object published at time {{{2}}} - "
scanned": analog original was 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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | type | type of date | empty | required |
2 | date | date in ISO 8601 format | empty | required |
3 | second date | second date in ISO 8601 format | empty | optional |
lang | language | language code (only needs to be provided if the language shall be fixed and independant from the user's preferences) | {{int:Lang}} | optional |
|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information This template allows to specify a context for a date.
| |||||||||||||||||||||||||
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}}
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)