Template:Month/doc

From comp.tf
< Template:Month
Revision as of 23:54, 15 April 2020 by Garlic (talk | contribs) (Created page with "Converts numbers/abbreviations/full names of months into numbers or month names {| class="wikitable" !You type !You get |- |<code><nowiki>{{month|1}}</nowiki></code> |{{month|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Converts numbers/abbreviations/full names of months into numbers or month names

You type You get
{{month|1}} January
{{month|01}} January
{{month|jan}} January
{{month|january}} January

A second parameter may also be added. If set to num or number, the template will instead return the numberical value of the month

You type You get
{{month|jan|num}} 01