Template:Is future month/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Is future month. It contains usage information, categories and other content that is not part of the original template page. |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | year | no description
| Number | required |
Month | month | no description
| String | required |