Template:Other date/doc
Other date template supports at the moment: Danish, English, Estonian, German, Low German, Polish, Romanian, Spanish, and Swedish languages. Translations into other languages are needed. Since the template is protected new translations have to be added by administrators. Please use the talk page to request additions to the template. In case of large additions, like new language, the easiest way is to copy current {{Other date}} to {{Other date/sandbox}}, do changer there and than request coping content of {{Other date/sandbox}} to {{Other date}}.
Examples
date notations with two dates
{{{1}}} parameter | Example Code | Output |
---|---|---|
- | {{other date|-|1999|2000}} {{other date|-|1999-01|2000-02}} {{other date|-|1999-01-01|2000-02-01}} |
{{#invoke: fallback|langSwitch}} |
between | {{other date|between|1999|2000}} {{other date|between|1999-02|2000-03}} {{other date|between|1999-02-01|2000-03-01}} |
{{#invoke: fallback|langSwitch}} |
~ ca circa |
{{other date|~|1999|2000}} {{other date|ca|1999-05|2000-06}} {{other date|circa|1999-05-01|2000-06-1}} |
{{#invoke: fallback|langSwitch}} |
or | {{other date|or|1999|2000}} {{other date|or|1999-06|2000-07}} {{other date|or|1999-06-01|2000-07-1}} |
{{#invoke: fallback|langSwitch}} |
and & |
{{other date|&|1999|2000}} {{other date|and|1999-06|2000-07}} {{other date|and|1999-06-01|2000-07-01}} |
{{#invoke: fallback|langSwitch}} |
Julian | {{other date|Julian|1865-01-19|1865-01-07}} |
{{#invoke: fallback|langSwitch}} |
Islamic | {{other date|islamic|1486|892}} {{other date|islamic|1486}} |
langSwitch}} ({{#invoke: fallback|langSwitch}}) {{#invoke: fallback|langSwitch}} ({{#invoke: fallback|langSwitch}}) |
era parameter | {{other date|or|985|986|era=BC}} |
{{#invoke: fallback|langSwitch}} |
date notations with single date
Date notations with single date can use the second date for era, like BC or AD.
{{{1}}} parameter | Example Code | Output | Example Code with era | Output with era |
---|---|---|---|---|
< b before |
{{other date|<|2000}} {{other date|b|2000-03}} {{other date|before|2000-03-01}} |
langSwitch}} {{#invoke: fallback|langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|<|99|BC}} | langSwitch}} |
> a after |
{{other date|>|1999}} {{other date|a|1999-04}} {{other date|after|1999-04-01}} |
langSwitch}} {{#invoke: fallback|langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|>|99|BC}} | langSwitch}} |
by | {{other date|by|1999}} {{other date|by|1999-04}} {{other date|by|1999-04-01}} |
langSwitch}} {{#invoke: fallback|langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|by|99|BC}} | langSwitch}} |
from | {{other date|from|1999}} {{other date|from|1999-04}} {{other date|from|1999-04-01}} |
langSwitch}} {{#invoke: fallback|langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|from|99|BC}} | langSwitch}} |
~ ca circa |
{{other date|~|1999}} {{other date|ca|1999-05}} {{other date|circa|1999-05-01}} |
langSwitch}} {{#invoke: fallback|langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|~|99|era=BC}} | langSwitch}} |
s decade |
{{other date|s|1960}} {{other date|s|1800}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|s|960|BCE}} | langSwitch}} |
century | {{other date|century|1}} {{other date|century|20}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|century|1|BC}} | langSwitch}} |
millennium | {{other date|millennium|1}} | langSwitch}} | {{other date|millennium|2|BC}} | langSwitch}} |
turn of the decade | {{other date|turn of the decade|1920}} {{other date|turn of the decade|1800}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|turn of the decade|920|BC}} | langSwitch}} |
turn of the century | {{other date|turn of the century|2}} {{other date|turn of the century|20}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|turn of the century|2|BC}} | langSwitch}} |
turn of the year | {{other date|turn of the year|1992}} | langSwitch}} | {{other date|turn of the year|922|BC}} | langSwitch}} |
spring | {{other date|spring|1999}} | langSwitch}} | {{other date|spring|99|AD}} | langSwitch}} |
summer | {{other date|summer|1999}} | langSwitch}} | {{other date|summer|99|BC}} | langSwitch}} |
fall autumn |
{{other date|fall|1999}} {{other date|autumn|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|fall|99|AD}} | langSwitch}} |
winter | {{other date|winter|1999}} | langSwitch}} | {{other date|winter|99|BC}} | langSwitch}} |
beginning early |
{{other date|early|1999-08}} {{other date|beginning|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|early|99|BC}} | langSwitch}} |
mid middle |
{{other date|mid|1999-10}} {{other date|middle|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|mid|99|BC}} | langSwitch}} |
end late |
{{other date|end|1999-11}} {{other date|late|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|end|99|BCE}} | langSwitch}} |
firsthalf 1half 1sthalf first half 1st half |
{{other date|firsthalf|1999-11}} {{other date|1half|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|firsthalf|99|BC}} | langSwitch}} |
secondhalf 2half 2ndhalf second half 2nd half |
{{other date|secondhalf|1999-11}} {{other date|2half|1999}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|secondhalf|99|BCE}} | langSwitch}} |
1quarter quarter1 1stquarter 1st quarter |
{{other date|1quarter|1815-09}} {{other date|1quarter|1815}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|1quarter|99|BC}} | langSwitch}} |
2quarter quarter2 2ndquarter 2nd quarter |
{{other date|2quarter|1815-09}} {{other date|2quarter|1815}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|2quarter|99|BC}} | langSwitch}} |
3quarter quarter3 3rdquarter 3rd quarter |
{{other date|3quarter|1815-09}} {{other date|3quarter|1815}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|3quarter|99|BC}} | langSwitch}} |
4quarter quarter4 4thquarter 4th quarter |
{{other date|4quarter|1815-09}} {{other date|4quarter|1815}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
{{other date|4quarter|99|BC}} | langSwitch}} |
BC BCE |
{{other date|BC|44-03-15}} {{other date|BCE|44}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
||
AD CE |
{{other date|AD|944-03}} {{other date|CE|944}} |
langSwitch}} {{#invoke: fallback|langSwitch}} |
||
? unknown |
{{other date|?}} {{other date|unknown}} |
Unknown date Unknown date |
{{other date|?||BC}} | langSwitch}} |
year unknown | {{other date|year unknown}} | langSwitch}} | {{other date|year unknown||BC}} | langSwitch}} |