Template:Other date


Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Other date/doc.

Mergefrom.svg
It has been suggested that Circa be merged into this page or section. (Discuss)
Mergefrom.svg
It has been suggested that From until be merged into this page or section. (Discuss)

This template allows to specify a range of non-trivial date notations in a format that is localizable.

Usage

{{Other date |1= |2= }}

Template parameters

Parameter Description Default Status
1 type of date notation. See examples below for list of allowed options. Pages using incorrect option will be added to Category:Pages using Other date template with incorrect parameter. empty required
2 a date in ISO 8601 format "YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006". empty required
3 depends on {{{1}}}. If used than it is either:
  • a date in ISO 8601 format. See Parameter #2 for details
  • era. See Parameter "era" for details
empty optional
era Era: empty optional
lang language code (only needs to be provided if the language shall be fixed and independent of the user's preferences) language code of the user language 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}}

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) 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

This page in other languages : Catalan | Czech | Danish | German | English | Spanish | Finnish | French | Hebrew | Hungarian
This page in other languages : Hindi | Italian | Low German | Dutch | Polish | Russian | Swedish | Thai | vèneto | Romanian

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}}

from until
from until
from until

between {{other date|between|1999|2000}}
{{other date|between|1999-02|2000-03}}
{{other date|between|1999-02-01|2000-03-01}}

between and
between and
between and

~
ca
circa
{{other date|~|1999|2000}}
{{other date|ca|1999-05|2000-06}}
{{other date|circa|1999-05-01|2000-06-1}}

between circa and circa
between circa and circa
between circa and circa

or {{other date|or|1999|2000}}
{{other date|or|1999-06|2000-07}}
{{other date|or|1999-06-01|2000-07-1}}

or
or
or

and
&
{{other date|&|1999|2000}}
{{other date|and|1999-06|2000-07}}
{{other date|and|1999-06-01|2000-07-01}}

and
and
and

Julian {{other date|Julian|1865-01-19|1865-01-07}}

( in Julian calendar)

Islamic {{other date|islamic|1486|892}}
{{other date|islamic|1486}}
 AD (  AH)
 AD (  AH)
era parameter {{other date|or|985|986|era=BC}}

or  BC

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}}
before
before
before
{{other date|<|99|BC}} before  BC
>
a
after
{{other date|>|1999}}
{{other date|a|1999-04}}
{{other date|after|1999-04-01}}
after
after
after
{{other date|>|99|BC}} after  BC
by {{other date|by|1999}}
{{other date|by|1999-04}}
{{other date|by|1999-04-01}}
by
by
by
{{other date|by|99|BC}} by  BC
from {{other date|from|1999}}
{{other date|from|1999-04}}
{{other date|from|1999-04-01}}
from
from
from
{{other date|from|99|BC}} from  BC
~
ca
circa
{{other date|~|1999}}
{{other date|ca|1999-05}}
{{other date|circa|1999-05-01}}
circa
circa
circa
{{other date|~|99|era=BC}} circa  BC
s
decade
{{other date|s|1960}}
{{other date|s|1800}}
1960s
1800s
{{other date|s|960|BCE}} 960s BC
century {{other date|century|1}}
{{other date|century|20}}
1st century
20th century
{{other date|century|1|BC}} 1st century BC
millennium {{other date|millennium|1}} 1st millennium {{other date|millennium|2|BC}} 2nd millennium BC
turn of the decade {{other date|turn of the decade|1920}}
{{other date|turn of the decade|1800}}
late 1910s and early 1920s
late 1790s and early 1800s
{{other date|turn of the decade|920|BC}} late 920s and early 910s BC
turn of the century {{other date|turn of the century|2}}
{{other date|turn of the century|20}}
turn of the 1/2nd century
turn of the 19/20th century
{{other date|turn of the century|2|BC}} turn of the 2/1st century BC
turn of the year {{other date|turn of the year|1992}} late 1991 and early 1992 {{other date|turn of the year|922|BC}} late 922 and early 921 BC
spring {{other date|spring|1999}} Spring 1999 {{other date|spring|99|AD}} Spring 99 AD
summer {{other date|summer|1999}} Summer 1999 {{other date|summer|99|BC}} Summer 99 BC
fall
autumn
{{other date|fall|1999}}
{{other date|autumn|1999}}
Autumn 1999
Autumn 1999
{{other date|fall|99|AD}} Autumn 99 AD
winter {{other date|winter|1999}} Winter 1999 {{other date|winter|99|BC}} Winter 99 BC
beginning
early
{{other date|early|1999-08}}
{{other date|beginning|1999}}
early
early
{{other date|early|99|BC}} early  BC
mid
middle
{{other date|mid|1999-10}}
{{other date|middle|1999}}
mid
mid
{{other date|mid|99|BC}} mid  BC
end
late
{{other date|end|1999-11}}
{{other date|late|1999}}
late
late
{{other date|end|99|BCE}} late  BC
firsthalf
1half
1sthalf
first half
1st half
{{other date|firsthalf|1999-11}}
{{other date|1half|1999}}
first half of
first half of
{{other date|firsthalf|99|BC}} first half of  BC
secondhalf
2half
2ndhalf
second half
2nd half
{{other date|secondhalf|1999-11}}
{{other date|2half|1999}}
second half of
second half of
{{other date|secondhalf|99|BCE}} second half of  BC
1quarter
quarter1
1stquarter
1st quarter
{{other date|1quarter|1815-09}}
{{other date|1quarter|1815}}
first quarter of
first quarter of
{{other date|1quarter|99|BC}} first quarter of  BC
2quarter
quarter2
2ndquarter
2nd quarter
{{other date|2quarter|1815-09}}
{{other date|2quarter|1815}}
second quarter of
second quarter of
{{other date|2quarter|99|BC}} second quarter of  BC
3quarter
quarter3
3rdquarter
3rd quarter
{{other date|3quarter|1815-09}}
{{other date|3quarter|1815}}
third quarter of
third quarter of
{{other date|3quarter|99|BC}} third quarter of  BC
4quarter
quarter4
4thquarter
4th quarter
{{other date|4quarter|1815-09}}
{{other date|4quarter|1815}}
fourth quarter of
fourth quarter of
{{other date|4quarter|99|BC}} fourth quarter of  BC
BC
BCE
{{other date|BC|44-03-15}}
{{other date|BCE|44}}
 BC
 BC
AD
CE
{{other date|AD|944-03}}
{{other date|CE|944}}
 AD
 AD
?
unknown
{{other date|?}}
{{other date|unknown}}
Unknown date
Unknown date
{{other date|?||BC}} Unknown date BC
year unknown {{other date|year unknown}} year unknown {{other date|year unknown||BC}} year unknown BC


Last modified on 25 February 2013, at 08:28
http://commons.m.wikimedia.org/wiki/Template:Other_date
commons.m.wikimedia.org
crawl=CC-MAIN-2013-48
37834
application/http; msgtype=response
sha1:OYCCGJADM4XKNXOCFX5BYQ7K6OLZA22R
<urn:uuid:8ecace3d-6a9a-41c9-bb6a-0eb4dd08a884>
2013-12-08T21:18:12Z
208.80.154.236
sha1:6KJU4O7XZWDPTZNBKAGFT343TGC5MFZN
<urn:uuid:cfd37087-1fe5-4731-9bcc-069c69131767>
http://commons.m.wikimedia.org/wiki/Template:Other_date
response
<urn:uuid:eedd1f0a-1e65-4a4f-9d29-2ad5001c7186>
robots: classic
hostname: ip-10-33-133-15.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-48
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Winter 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf