Difference between revisions of "Template:Date"

From LGPedia
Jump to: navigation, search
(fix categorization issue)
(warning...)
Line 33: Line 33:
 
==Usage==
 
==Usage==
 
<pre>{{date|YEAR|MONTH|DAY|cat=CATEGORY}}</pre>
 
<pre>{{date|YEAR|MONTH|DAY|cat=CATEGORY}}</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. The "cat" field is optional, but if provided, the page will be categorized in '''Category:CATEGORY''' and sorted by the date.  
+
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. The "cat" field is optional, but if provided, the page will be categorized in '''Category:CATEGORY''' and sorted by the 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 06:41, 26 February 2008

April 25th, 2024

Usage

{{date|YEAR|MONTH|DAY|cat=CATEGORY}}

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. The "cat" field is optional, but if provided, the page will be categorized in Category:CATEGORY and sorted by the 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.