Jump to content
Main menu
Main menu
move to sidebar
hide
Eya ho
Leqephe la pele
Potjho e kopano
Liphetoho tsa morao-rao
Mpontshe leqephe le leng le le leng
Thusa
Maqephe a khethehileng
Fuputsa
Batla
Appearance
Dimpho
Etsa akhaonto
Ho kena
Lisebelisoa tsa botho
Dimpho
Etsa akhaonto
Ho kena
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Complex date/doc
Add languages
Module
Moqoqo
Sesotho
Read
Fetola mohloli
Sheba histori
Lisebelisoa
Tools
move to sidebar
hide
Actions
Read
Fetola mohloli
Sheba histori
General
What links here
Liphetoho tse amanang
Kenya faele
Boitsebiso ba Leqephe
Get shortened URL
Download QR code
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Module rating|protected}} {{high use}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == 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 :<code><nowiki>{{#invoke:Complex_date|complex_date|adj1=|date1=|era1=|precision1=|conj=-|adj2=|date2=|era2=|precision2=|lang=}}</nowiki></code> or :<code><nowiki>{{#invoke:Complex_date|complex_date|1=|2=|3=|era=|lang=}}</nowiki></code> ====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 or whatever {{tl|ISOdate}} takes. ;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 <code>era</code> 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: * [[Module:Calendar]] (lazy loading with no dependencies) * [[Module:ISOdate]] ** [[Module:DateI18n]] (no dependencies) *** [[Module:No globals]] (from en.wikipedia) * [[Module:i18n/complex date]] ** [[Module:Ordinal-cd]] (lazy loading) *** [[Module:I18n/ordinal]] (no dependencies) *** [[Module:Yesno]] (from en.wikipedia) (no dependencies) *** [[Module:Formatnum]] (no dependencies) ** [[Module:Roman-cd]] (lazy loading with no dependencies) ** [[Module:Linguistic]] (lazy loading with no dependencies) *** [[Module:No globals]] (from en.wikipedia) 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 [https://commons.wikimedia.org/ 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]] : [[en:Module:No globals]] <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:High use
(
fetola
)
Template:Module rating
(
fetola
)
Template:Tl
(
fetola
)
Fuputsa
Batla
Editing
Module:Complex date/doc
Add languages
Add topic