Template:Days since/doc

From blackwiki
< Template:Days since
Revision as of 21:09, 2 May 2020 by imported>Mdaniels5757 (create doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Days since}} shows the years/days (or months/days) since a specific date.

Usage

{{Days since|2025|09|5}} produces: 0 days ago

{{Days since|2025|09|5}} produces: 0d

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Days since

Shows the years/days (or months/days) since the entered date.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Year

Numberrequired
22

Month

Numberrequired
33

Day

Numberrequired
Shortshort

Uses "d" or "m" instead of "months" or "days" if set to "yes"

Stringoptional


See also