Template:Complex date/doc

Uit Test Wiki
Naar navigatie springen Naar zoeken springen

__EXPECTED_UNCONNECTED_PAGE__

This template allows translation (localization) of many non-trivial phrases related to date description. This template is capable of creating much more complicated phrases than {{Other date}} template removing the need for nested {{Other date}} templates.

The template automatically sets the following categories: Category:Pages using Complex date template with incorrect parameter (when errors are detected)

Usage

{{Complex date |conj= |date1= |adj1= |precision1= |era1= |date2= |adj2= |precision2= |era2= }}

⧼templatedata-doc-params⧽

ParameterDescriptionDefaultStatus
conj
1
conjunctionConjunction or the link between the two dates. In general complex dates are created from two phrases describing date #1 and date #2 combined by a conjunction. Possible values:
  1. Main use: "-" (same as "from-until"), "between", "or", "and".
  2. This parameter also takes names of calendar phrases, like "Julian" or "Islamic"
  3. For compatibility with syntax of {{Other date}} template, which handles simple phrases, conj can take inputs which are described in parameters: adj1, precision1 and era1
  4. Others, like "unknown" and "year unknown"
emptyoptional
date1
2
date
date #1First date in ISO 8601 format or as a number. Format depends on precision:
  • day - for dates with precision up to a day use "YYYY-MM-DD"
  • month - for dates with precision up to a month use "YYYY-MM" format
  • year - for dates with precision up to a year use "YYYY" format (or shorter)
  • decade - for dates with precision up to a decade use "YYY0" format and set precision1=decade
  • century - for dates with precision up to a century use century number or date in "YY00" format and set precision1=century
  • millennium - for dates with precision up to a millennium use millennium number or date in "Y000" format and set precision1=millennium
  • this template was not tested for dates with higher or lower precision.
emptyoptional
adj1
adj
adjective #1Adjectives and prepositions used to describe first date. Possible values:
  • Adjectives: "early", "mid", "late"
  • Fractions: "1st half", "2nd half", "1st quarter", "2nd quarter", "3rd quarter", "4th quarter",
  • Seasons: "spring", "summer", "fall", "winter",
  • Prepositions: "before", "after", "from", "until", "by", "circa", etc.
  • emptyoptional
    precision1
    units1
    precision #1Precision of the date #1. Can be provided as:
  • string: "decade", "century", "millennium". Precisions more accurate than decade do not have to be explicitly stated, since format of the date1 parameter will be used to pick the value.
  • integer following wikibase date format: 6 - millenia, 7 - century, 8 - decade, 9 - year, 10 - month, 11 - day
  • emptyoptional
    era1era #1Era of date #1
  • for dates before birth of Christ use BC (Before Christ) or BCE (Before Common Era)
  • for dates after birth of Christ use CE (Common Era) or AD (Anno Domini) (if you would like era to be specified)
  • use BP for Before Present years
  • use AH for dates in Islamic calendar
  • emptyoptional
    date2
    3
    date #2Second date in the same format as date #1.emptyoptional
    adj2adjective #2Adjectives and prepositions used to describe second date. See description of adj1 for details.emptyoptional
    precision2
    units2
    precision #2Precision of the date #2. See description of precision1 for details.emptyoptional
    era2era #2Era of date #2. See description of era1 for details.emptyoptional
    precision
    units
    precisionPrecision of the date #1 and #2. See description of precision1 for details.emptyoptional
    eraeraEra of date #1 and #2. See description of era1 for details.emptyoptional
    certaintycertaintycertainty of the statement. Supported values: possibly, probably, presumably and circa. ("circa" can be also used as adjective). This parameter was added to allow compatibility with Wikidata's Lua error in Module:Wikidata_label at line 274: attempt to index field 'wikibase' (a nil value). (P1480) qualifier when used to describe a date.emptyoptional
    langlanguagelanguage code (only needs to be provided if the language shall be fixed and independent of the user's preferences)language code of the user languageoptional

    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:
    module:Complex date

    ⧼Seealso⧽

    == Localization ==

    Translations at module:i18n/complex date

    Examples


    date notations with two dates

    {{{1}}} parameter Example Code Output
    -
    from-until
    {{complex date|-|1999|2000}}
    {{complex date|-|1999-01|2000-02}}
    {{complex date|-|1999-01-01|2000-02-01}}

    1999 tot 2000
    januari 1999 tot februari 2000
    1 januari 1999 tot 1 februari 2000

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

    tussen 1999 en 2000
    tussen februari 1999 en maart 2000
    tussen 1 februari 1999 en 1 maart 2000

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

    ca. 1999 tot 2000
    ca. mei 1999 tot juni 2000
    ca. 1 mei 1999 tot 1 juni 2000

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

    1999 of 2000
    juni 1999 of juli 2000
    1 juni 1999 of 1 juli 2000

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

    1999 en 2000
    juni 1999 en juli 2000
    1 juni 1999 en 1 juli 2000

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

    19 januari 1865 (7 januari 1865 volgens de Juliaanse kalender)

    Islamic {{complex date|islamic|1486|892}}
    {{complex date|islamic|1486}}
    1486 n.Chr. (892 AH)
    1486 n.Chr. (891 AH)
    era parameter {{complex date|or|985|986|era=BC}}

    985 of 986 v.Chr.

    certainty parameter {{complex date|between|1907|adj2=early|1908|certainty=circa}}

    ca. tussen 1907 en begin 1908

    two adjectives {{complex date|-|adj1=mid|1907|adj2=early|1908}}
    {{complex date|between|adj1=circa|date1=1907|adj2=early|date2=1908}}
    midden 1907 tot begin 1908
    ca. 1907 tot 1908
    date QS:P,+1907-00-00T00:00:00Z/8,P1319,+1907-00-00T00:00:00Z/9,P1326,+1908-00-00T00:00:00Z/9,P1480,Q5727902

    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
    {{complex date|<|2000}}
    {{complex date|b|2000-03}}
    {{complex date|before|2000-03-01}}
    voor 2000
    date QS:P,+2000-00-00T00:00:00Z/7,P1326,+2000-00-00T00:00:00Z/9

    voor maart 2000
    date QS:P,+2000-03-00T00:00:00Z/7,P1326,+2000-03-00T00:00:00Z/10

    voor 1 maart 2000
    date QS:P,+2000-03-01T00:00:00Z/7,P1326,+2000-03-01T00:00:00Z/11
    {{complex date|<|99|era=BC}} voor 99 v.Chr.
    >
    a
    after
    {{complex date|>|1999}}
    {{complex date|a|1999-04}}
    {{complex date|after|1999-04-01}}
    na 1999
    date QS:P,+1999-00-00T00:00:00Z/7,P1319,+1999-00-00T00:00:00Z/9

    na april 1999
    date QS:P,+1999-04-00T00:00:00Z/7,P1319,+1999-04-00T00:00:00Z/10

    na 1 april 1999
    date QS:P,+1999-04-01T00:00:00Z/7,P1319,+1999-04-01T00:00:00Z/11
    {{complex date|>|99|era=BC}} na 99 v.Chr.
    by {{complex date|by|1999}}
    {{complex date|by|1999-04}}
    {{complex date|by|1999-04-01}}
    tegen 1999
    date QS:P,+1999-00-00T00:00:00Z/7,P1326,+1999-00-00T00:00:00Z/9

    tegen april 1999
    date QS:P,+1999-04-00T00:00:00Z/7,P1326,+1999-04-00T00:00:00Z/10

    tegen 1 april 1999
    date QS:P,+1999-04-01T00:00:00Z/7,P1326,+1999-04-01T00:00:00Z/11
    {{complex date|by|99|era=BC}} tegen 99 v.Chr.
    from {{complex date|from|1999}}
    {{complex date|from|1999-04}}
    {{complex date|from|1999-04-01}}
    vanaf 1999
    date QS:P,+1999-00-00T00:00:00Z/7,P580,+1999-00-00T00:00:00Z/9

    vanaf april 1999
    date QS:P,+1999-04-00T00:00:00Z/7,P580,+1999-04-00T00:00:00Z/10

    vanaf 1 april 1999
    date QS:P,+1999-04-01T00:00:00Z/7,P580,+1999-04-01T00:00:00Z/11
    {{complex date|from|99|era=BC}} vanaf 99 v.Chr.
    until {{complex date|until|1999}}
    {{complex date|until|1999-04}}
    {{complex date|until|1999-04-01}}
    tot 1999
    date QS:P,+1999-00-00T00:00:00Z/7,P582,+1999-00-00T00:00:00Z/9

    tot april 1999
    date QS:P,+1999-04-00T00:00:00Z/7,P582,+1999-04-00T00:00:00Z/10

    tot 1 april 1999
    date QS:P,+1999-04-01T00:00:00Z/7,P582,+1999-04-01T00:00:00Z/11
    {{complex date|until|99|era=BC}} tot 99 v.Chr.
    ~
    ca
    circa
    {{complex date|~|1999}}
    {{complex date|ca|1999-05}}
    {{complex date|circa|1999-05-01}}
    ca. 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P1480,Q5727902

    ca. mei 1999
    date QS:P,+1999-05-00T00:00:00Z/10,P1480,Q5727902

    ca. 1 mei 1999
    date QS:P,+1999-05-01T00:00:00Z/11,P1480,Q5727902
    {{complex date|~|99|era=BC}} ca. 99 v.Chr.
    after, before, until and ~/ca/circa {{complex date|after|1819|adj1=ca}}
    {{complex date|before|1819|adj1=ca}}
    {{complex date|until|1819|adj1=~}}
    na ca. 1819
    voor ca. 1819
    tot ca. 1819
    {{complex date|after|109|adj1=ca|era=BC}}
    {{complex date|before|109|adj1=ca|era=BC}}
    {{complex date|until|109|adj1=ca|era=BC}}
    na ca. 109 v.Chr.
    voor ca. 109 v.Chr.
    tot ca. 109 v.Chr.
    s
    decade
    {{complex date|s|1960}}
    {{complex date|decade|1800}}
    jaren 1960
    date QS:P,+1960-00-00T00:00:00Z/8

    jaren 1800
    date QS:P,+1800-00-00T00:00:00Z/8
    {{complex date|s|960|era=BCE}} jaren 960 v.Chr.
    date QS:P,-960-00-00T00:00:00Z/8
    century {{complex date|century|1}}
    {{complex date|century|20}}
    1e eeuw
    date QS:P,+050-00-00T00:00:00Z/7

    20e eeuw
    date QS:P,+1950-00-00T00:00:00Z/7
    {{complex date|century|1|era=BC}} 1e eeuw v.Chr.
    date QS:P,-050-00-00T00:00:00Z/7
    millennium {{complex date|millennium|1}} 1e millennium
    date QS:P,+0500-00-00T00:00:00Z/6
    {{complex date|millennium|2|era=BC}} 2e millennium v.Chr.
    date QS:P,-1500-00-00T00:00:00Z/6
    turn of the decade {{complex date|turn of the decade|1920}}
    {{complex date|turn of the decade|1800}}
    eind 1910e/begin 1920e decennium
    eind 1790e/begin 1800e decennium
    {{complex date|turn of the decade|920|era=BC}} eind 920e/begin 910e decennium v.Chr.
    turn of the century {{complex date|turn of the century|2}}
    {{complex date|turn of the century|20}}
    eind 1e/begin 2e eeuw
    eind 19e/begin 20e eeuw
    {{complex date|turn of the century|2|era=BC}} eind 2e/begin 1e eeuw v.Chr.
    turn of the year {{complex date|turn of the year|1992}} eind 1991 en begin 1992 {{complex date|turn of the year|922|era=BC}} eind 922 en begin 921 v.Chr.
    spring {{complex date|spring|1999}} voorjaar 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720559
    {{complex date|spring|99|era=AD}} voorjaar 99 n.Chr.
    summer {{complex date|summer|1999}} zomer 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720564
    {{complex date|summer|99|era=BC}} zomer 99 v.Chr.
    fall
    autumn
    {{complex date|fall|1999}}
    {{complex date|autumn|1999}}
    herfst 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568

    herfst 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568
    {{complex date|fall|99|era=AD}} herfst 99 n.Chr.
    winter {{complex date|winter|1999}} winter 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720553
    {{complex date|winter|99|era=BC}} winter 99 v.Chr.
    beginning
    early
    {{complex date|early|1999-08}}
    {{complex date|beginning|1999}}
    begin augustus 1999
    date QS:P,+1999-08-00T00:00:00Z/10,P4241,Q40719727

    begin 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719727
    {{complex date|early|99|era=BC}} begin 99 v.Chr.
    mid
    middle
    {{complex date|mid|1999-10}}
    {{complex date|middle|1999}}
    midden oktober 1999
    date QS:P,+1999-10-00T00:00:00Z/10,P4241,Q40719748

    midden 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719748
    {{complex date|mid|99|era=BC}} midden 99 v.Chr.
    end
    late
    {{complex date|end|1999-11}}
    {{complex date|late|1999}}
    eind november 1999
    date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719766

    eind 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719766
    {{complex date|end|99|era=BCE}} eind 99 v.Chr.
    firsthalf
    1half
    1sthalf
    first half
    1st half
    {{complex date|firsthalf|1999-11}}
    {{complex date|1half|1999}}
    eerste helft november 1999
    date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719687

    eerste helft 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719687
    {{complex date|firsthalf|99|era=BC}} eerste helft 99 v.Chr.
    secondhalf
    2half
    2ndhalf
    second half
    2nd half
    {{complex date|secondhalf|1999-11}}
    {{complex date|2half|1999}}
    tweede helft november 1999
    date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719707

    tweede helft 1999
    date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719707
    {{complex date|secondhalf|99|era=BCE}} tweede helft 99 v.Chr.
    1quarter
    quarter1
    1stquarter
    1st quarter
    {{complex date|1quarter|1815-09}}
    {{complex date|1quarter|1815}}
    {{complex date|1quarter|18|units=century}}
    {{complex date|1quarter|18|units=millennium}}
    eerste kwart september 1815
    date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40690303

    eerste kwart 1815
    date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40690303

    eerste kwart 18e eeuw
    date QS:P,+1750-00-00T00:00:00Z/7,P4241,Q40690303

    eerste kwart 18e millennium
    date QS:P,+17500-00-00T00:00:00Z/6,P4241,Q40690303
    {{complex date|1quarter|99|era=BC}} eerste kwart 99 v.Chr.
    2quarter
    quarter2
    2ndquarter
    2nd quarter
    {{complex date|2quarter|1815-09}}
    {{complex date|2quarter|1815}}
    {{complex date|2quarter|18|units=century}}
    {{complex date|2quarter|18|units=millennium}}
    tweede kwart september 1815
    date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719649

    tweede kwart 1815
    date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719649

    tweede kwart 18e eeuw
    date QS:P,+1750-00-00T00:00:00Z/7,P4241,Q40719649

    tweede kwart 18e millennium
    date QS:P,+17500-00-00T00:00:00Z/6,P4241,Q40719649
    {{complex date|2quarter|99|era=BC}} tweede kwart 99 v.Chr.
    3quarter
    quarter3
    3rdquarter
    3rd quarter
    {{complex date|3quarter|1815-09}}
    {{complex date|3quarter|1815}}
    {{complex date|3quarter|18|units=century}}
    {{complex date|3quarter|18|units=millennium}}
    derde kwart september 1815
    date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719662

    derde kwart 1815
    date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719662

    derde kwart 18e eeuw
    date QS:P,+1750-00-00T00:00:00Z/7,P4241,Q40719662

    derde kwart 18e millennium
    date QS:P,+17500-00-00T00:00:00Z/6,P4241,Q40719662
    {{complex date|3quarter|99|era=BC}} derde kwart 99 v.Chr.
    4quarter
    quarter4
    4thquarter
    4th quarter
    {{complex date|4quarter|1815-09}}
    {{complex date|4quarter|1815}}
    {{complex date|4quarter|18|units=century}}
    {{complex date|4quarter|18|units=millennium}}
    vierde kwart september 1815
    date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719674

    vierde kwart 1815
    date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719674

    vierde kwart 18e eeuw
    date QS:P,+1750-00-00T00:00:00Z/7,P4241,Q40719674

    vierde kwart 18e millennium
    date QS:P,+17500-00-00T00:00:00Z/6,P4241,Q40719674
    {{complex date|4quarter|99|era=BC}} vierde kwart 99 v.Chr.
    possibly {{complex date|possibly|1815-09}}
    {{complex date|possibly|1815}}
    mogelijk september 1815
    mogelijk 1815
    {{complex date|possibly|99|era=BC}} mogelijk 99 v.Chr.
    probably {{complex date|probably|1815-09}}
    {{complex date|probably|1815}}
    waarschijnlijk september 1815
    waarschijnlijk 1815
    {{complex date|probably|99|era=BC}} waarschijnlijk 99 v.Chr.
    presumably {{complex date|presumably|1815-09}}
    {{complex date|presumably|1815}}
    presumably september 1815
    presumably 1815
    {{complex date|presumably|99|era=BC}} presumably 99 v.Chr.
    BC
    BCE
    {{complex date|BC|44-03-15}}
    {{complex date|BCE|44}}
    15 maart 44 v.Chr.
    44 v.Chr.
    AD
    CE
    {{complex date|AD|944-03}}
    {{complex date|CE|944}}
    maart 944 n.Chr.
    944 n.Chr.
    ?
    unknown
    {{complex date|?}}
    {{complex date|unknown}}
    Datum onbekend
    Datum onbekend
    {{complex date|?||era=BC}} Datum onbekend v.Chr.
    year unknown {{complex date|year unknown}} zonder jaar {{complex date|year unknown|era=BC}} zonder jaar v.Chr.