Template:Days in month

From mtgpq wiki
Revision as of 02:39, 4 March 2019 by Volrak (talk | contribs) (Created page with "<noinclude> ==Usage== Returns the number of days in the given month. The first parameter is the month name. The second parameter is the year. ==Example== The following sho...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Returns the number of days in the given month.

The first parameter is the month name.

The second parameter is the year.

Example

The following shorthand:

{{Days in month|January|2019}}
{{Days in month|February|2019}}
{{Days in month|March|2019}}
{{Days in month|April|2019}}
{{Days in month|May|2019}}
{{Days in month|June|2019}}
{{Days in month|July|2019}}
{{Days in month|August|2019}}
{{Days in month|September|2019}}
{{Days in month|October|2019}}
{{Days in month|November|2019}}
{{Days in month|December|2019}}

{{Days in month|February|2020}}
{{Days in month|February|2100}}
{{Days in month|February|2400}}

Produces:

31 28 31 30 31 30 31 31 30 31 30 31

29 28 29