Description
This template displays the date based on user preferences.
Sample output
{{date|2010-08-19}}
→ 2010 August 19
{{date|2010|August|19}}
→ 2010 August 19
{{date|2010|August}}
→ August 2010
{{date|August 19}}
→ August 19
{{date|2010}}
→ 2010
TemplateData
Displays the date based on user preferences.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Full date or year | 1 year | Outputs the full date if the second to third parameters are not specified, otherwise the year of the date.
| String | required |
| Month | 2 month | The month of the date.
| String | optional |
| Day | 3 day | The day of the date. | Number | optional |
| Date format | 4 format | The format of the date specified.
| String | optional |
| The above documentation is transcluded from Template:Date/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |