Template:Days since/doc

From blackwiki
Jump to navigation Jump to search

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

Usage

{{Days since|2025|01|01}} produces: 8 months ago

{{Days since|2025|01|01|short=yes}} produces: 8m

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