Template:Month/doc

From comp.tf
Jump to navigation Jump to search

This template converts numbers/abbreviations/full names of months into numbers or month names.

You type You get
{{month|1}} January
{{month|02}} February
{{month|mar}} March
{{month|april}} April

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