Template:Date/doc

{{TemplateBox Also Partitive (ptv), Inessive (ine), Elative (ela) and Illative (ill) cases are supported for Finnish language, in addition to Nominative and Genitive (gen).
 * 1=1
 * 1d=number of the year
 * 2=2
 * 2d=number of month in the year
 * 3=3
 * 3d=number of day in the month
 * 4=4
 * 4d=language code (overrides user's preferences)
 * 4def=language code of the user language
 * 5=form
 * 5d=allows to specify grammatical case for the month in YYYY-MM dates, for languages that use them. Possible cases:
 * leave blank for nominative case
 * "form=gen" for genitive case
 * "form=loc" for locative case (supported for pl, cs & sl languages)
 * "form=ins" for instrumental case (supported for pl, cs & sl languages)
 * 6=class
 * 6d=allows to set the html class of the time node where the date is included. This is useful for microformats. The default value is, for legacy reasons, "dtstart" (used by hCalendar). See the microformats project.
 * 6def=dtstart
 * name=Date
 * desc=This template is used to show a date in the language set in the preferences.

You can leave out parts of the data. Examples:
 * namespace=Template
 * usergroup=all
 * usage-notes=
 * {{xpdoc|date|2009|1|9}}
 * {{xpdoc|date|2009|1|9|pl}}
 * {{xpdoc|date|2009|1|9|pl|n1=form|v1=}} - alternative way to get nominative case
 * {{xpdoc|date|2009|1|9|pl|n1=form|v1=gen}}
 * {{xpdoc|date|2009|1|9|pl|n1=form|v1=ins}}
 * {{xpdoc|date|2009|1||pl}}
 * {{xpdoc|date|2009|1||pl|n1=form|v1=gen}}
 * {{xpdoc|date|2009|1||pl|n1=form|v1=ins}}

Does not check existence, except for the month number:
 * {{xpdoc|date|2009|12|33}}
 * {{xpdoc|date|2009|17|33}}

Microformat
The template returns the date, embed in a element with attribute datetime that contain the date in the ISO 8601 format needed by the hCalendar   microformat. See the microformats project. }}
 * type=marker
 * example=
 * i18n-method=switch
 * i18n-desc=
 * seealso=ISOdate – Template used to parse the date in information other date - Allows to specify a range of non-trivial date notations in a format that is localizable
 * setscats=
 * lines=one
 * shorthand=
 * relieson=I18n month, formatnum