Template:Is future month
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=April}}
→{{Is future month|year=2024|month=May}}
→ 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
year | year | no description
| Number | required |
month | month | no description
| String | required |