Template:Date context
This documentation is transcluded from Template:Date context/doc.
This template allows to specify a context for a date.
Usage
{{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}}} - "
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 of date | empty | required | |
2 | date in ISO 8601 format | empty | required | |
3 | second date in ISO 8601 format | empty | optional | |
lang | language 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}}
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)
specify a context for a date
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description
| String | optional |
2 | 2 | ISO 8601 date | Date | optional |
3 | 3 | ISO 8601 date | Date | optional |
lang | lang | no description | Unknown | optional |