Template:Is future month/doc

From Safer nicotine wiki

Usage

Given a month and year, returns nothing if it is present or past, 1 if it is future

  • {{Is future month|year=2022|month=June}}
  • {{Is future month|year=2022|month=July}} → 1

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Is future month

Returns "1" if the month and year given are in the future, blank otherwise.

Template parameters

ParameterDescriptionTypeStatus
yearyear

no description

Example
2010
Numberrequired
monthmonth

no description

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