Module:Complex date/doc: Difference between revisions

Content deleted Content added
Add {{high use}}
 
(6 intermediate revisions by 5 users not shown)
Line 1:
{{Module rating|protected}}
{{high use}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
 
== Usage ==
 
Line 29 ⟶ 30:
: 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
Line 39 ⟶ 40:
==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)
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.
** [[Module:Linguistic]] (lazy loading with no dependencies)
*** [[Module:No globals]] (from en.wikipedia)
 
Unless otherwise noted, the authoritative version of each module can be found on [https://commons.wikimedia.org/ Commons].
Line 66 ⟶ 64:
; English Wikipedia
: [[en:Module:Yesno]]
: [[en:Module:No globals]]
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
}}</includeonly>
<noinclude>
[[Category:Module documentation pages]]
</noinclude>