Template:Is future month/doc: Difference between revisions
Jump to navigation
Jump to search
m →TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
Richardpruen (talk | contribs) m 1 revision imported |
||
(No difference)
| |||
Revision as of 04:21, 29 August 2021
| This is a documentation subpage for Template:Is future month. It may contain 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=2025|month=December}}→{{Is future month|year=2026|month=January}}→ 1
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Is future month in articles based on its TemplateData.
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 |