• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Is future month

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
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=2026|month=February}} →
  • {{Is future month|year=2026|month=March}} → 1

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

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
The above documentation is transcluded from Template:Is future month/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Is_future_month&oldid=20683"
Categories:
  • Templates using TemplateData
  • If-then-else templates
  • Date-computing templates based on current time
Last edited on 27 June 2015, at 08:45

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 27 June 2015, at 08:45.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop