Module:Complex date/doc

Usage

This module is intended for processing of date strings. It is used by Module:WikidataIB

Complex date

This function is the engine behind c:template:Complex date. Please see that template for full documentation

Usage:

should not be used directly but only through c:Template:Other date and other templates
{{#invoke:Complex_date|complex_date|adj1=|date1=|era1=|precision1=|conj=-|adj2=|date2=|era2=|precision2=|lang=}}

or

{{#invoke:Complex_date|complex_date|1=|2=|3=|era=|lang=}}

Parameters (simple syntax):

1
option. See c:Template:Other date
2
date #1
3
date #2

Parameters (advanced syntax):

conj
in case the link between the two dates: "-" (from-until), between, or, and (see c:template:Complex date)
adj1, adj2
adjectives and prepositions used to describe single date. Possible values: early, mid, late, spring, summer, fall, winter, 1st half, 2nd half, 1st quarter, 2nd quarter, 3rd quarter, 4th quarter, etc. used for describing which part of date1 and date2 are involved (see c:template:Complex date)
date1, date2
the dates involved. Format: Number.
precision1, precision1
usually year or more precise (default), but can also be decade, century or millennium, then the dates involved are centuries or millennia rather than specific dates
era1, era2
the eras that those dates are from (see c:template:Complex date) If parameter era is present, it overrides these two parameters.

The internationalization of the date formats can be found at Module:I18n/complex date

Dependencies

Module:Complex_date relies on the following modules:

Several of the lazy-loaded dependencies do not exist locally since none of the code that calls them ever ends up used on the English Wikipedia.

Unless otherwise noted, the authoritative version of each module can be found on Commons.

Commons
c:Module:Complex_date
c:Module:Calendar
c:Module:ISOdate
c:Module:DateI18n
c:Module:i18n/complex date
c:Module:Ordinal
c:Module:I18n/ordinal
c:Module:Formatnum
c:Module:Roman
c:Module:Linguistic
English Wikipedia
en:Module:Yesno

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.