Difference between revisions of "Template:Month"
Jump to navigation
Jump to search
(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...") |
|||
Line 27: | Line 27: | ||
|11|nov|november=November | |11|nov|november=November | ||
|11|dec|december=December | |11|dec|december=December | ||
− | }}}} | + | }}}}</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
− | </includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Revision as of 00:10, 16 April 2020
(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 |