Template:Date: Difference between revisions
From LGPedia
Jump to navigationJump to search
testing... |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#switch: {{{2}}} | {{#switch: {{{2}}} | ||
| 1 = January | | 1 | Jan | January = January | ||
| 2 = February | | 2 | Feb | February = February | ||
| 3 = March | | 3 | Mar | March = March | ||
| 4 = April | | 4 | Apr | April = April | ||
| 5 = May | | 5 | May = May | ||
| 6 = June | | 6 | Jun | June = June | ||
| 7 = July | | 7 | Jul | July = July | ||
| 8 = August | | 8 | Aug | August = August | ||
| 9 = September | | 9 | Sep | September = September | ||
| 10 = October | | 10 | Oct | October = October | ||
| 11 = November | | 11 | Nov | November = November | ||
| 12 = December | | 12 | Dec | December = December | ||
}} | }} {{{3}}}{{#switch: {{{3}}} | ||
{{{3}}}{{#switch: {{{3}}} | |||
| 1 | 21 | 31 = st | | 1 | 21 | 31 = st | ||
| 2 | 22 = nd | | 2 | 22 = nd | ||
| Line 22: | Line 21: | ||
==Usage== | ==Usage== | ||
<pre>{{date|YEAR|MONTH|DAY}}</pre> | <pre>{{date|YEAR|MONTH|DAY}}</pre> | ||
where YEAR | where YEAR, and DAY are all numerical values and MONTH is either the name of the month, the first three letters of the name, or a numerical value corresponding to the month. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 06:18, 26 February 2008
{{{3}}}th,
{{{1}}}
Usage
{{date|YEAR|MONTH|DAY}}
where YEAR, and DAY are all numerical values and MONTH is either the name of the month, the first three letters of the name, or a numerical value corresponding to the month.