Template:Month

From comp.tf
Revision as of 23:51, 15 April 2020 by Garlic (talk | contribs) (Created page with "<includeonly>{{#if:{{{2|}}}|{{#switch:{{lc:{{{2|}}}}}| |num |number={{#switch:{{lc:{{{1|}}}}}| |1|01|jan|january=01 |2|02|feb|february=02 |3|03|mar|march=03...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

(view - edit) Documentation

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

You type You get
{{month|1}} January
{{month|02}} January
{{month|mar}} January
{{month|april}} 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