Template:Is future month/doc: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Buidhe (cfd closed as merge) |
||
Line 32: | Line 32: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category: | [[Category:If-then-else templates]] | ||
[[Category:Date-computing templates based on current time]] | [[Category:Date-computing templates based on current time]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 22:13, 30 January 2022
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=2024|month=May}}
→{{Is future month|year=2024|month=June}}
→ 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 |