Difference between revisions of "Template:Date"
From LGPedia
(warning...) |
(disabling "cat" parameter) |
||
Line 17: | Line 17: | ||
| 3 | 23 = rd | | 3 | 23 = rd | ||
| #default = th | | #default = th | ||
− | }}, {{{1|{{CURRENTYEAR}}}}} | + | }}, {{{1|{{CURRENTYEAR}}}}}<includeonly>[[Category:Videos by date|{{{1|{{CURRENTYEAR}}}}} {{#switch: {{{2|{{CURRENTMONTH}}}}} |
| 1 | Jan | January = 01 | | 1 | Jan | January = 01 | ||
| 2 | Feb | February = 02 | | 2 | Feb | February = 02 | ||
Line 30: | Line 30: | ||
| 11 | Nov | November = 11 | | 11 | Nov | November = 11 | ||
| 12 | Dec | December = 12 | | 12 | Dec | December = 12 | ||
− | }} {{{3|{{CURRENTDAY}}}}}]]</includeonly> | + | }} {{{3|{{CURRENTDAY}}}}}]]</includeonly><noinclude> |
==Usage== | ==Usage== | ||
− | <pre>{{date|YEAR|MONTH|DAY | + | <pre>{{date|YEAR|MONTH|DAY}}</pre> |
− | where YEAR, and DAY are both numerical values and MONTH is either the name of the month, the first three letters of the name of the month, or a numerical value corresponding to the month. If a parameter is left out, the current year/month/day will be used instead | + | where YEAR, and DAY are both numerical values and MONTH is either the name of the month, the first three letters of the name of the month, or a numerical value corresponding to the month. If a parameter is left out, the current year/month/day will be used instead. |
'''Warning:''' Do NOT use this template without any parameters unless you want the date to update every day. Instead, manually insert the correct date. | '''Warning:''' Do NOT use this template without any parameters unless you want the date to update every day. Instead, manually insert the correct date. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 22:33, 3 March 2008
June 15th, 2024
Usage
{{date|YEAR|MONTH|DAY}}
where YEAR, and DAY are both numerical values and MONTH is either the name of the month, the first three letters of the name of the month, or a numerical value corresponding to the month. If a parameter is left out, the current year/month/day will be used instead.
Warning: Do NOT use this template without any parameters unless you want the date to update every day. Instead, manually insert the correct date.