Template:Days since/doc

From Safer nicotine wiki

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

Usage

{{Days since|2021|01|01}} produces: 9 months ago

{{Days since|2021|01|01|short=yes}} produces: 9m

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

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

Cookies help us deliver our services. By using our services, you agree to our use of cookies.