Open main menu

Template:Is future month

Revision as of 14:45, 27 June 2015 by en>Izkala (Moving TD to doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

Usage

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

  • {{Is future month|year=2024|month=November}}
  • {{Is future month|year=2024|month=December}} → 1

TemplateData

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

TemplateData for 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