Template:Start date
Formats a date for use in infoboxes, particularly the release date or start date field. Outputs a clean date string in YYYY-MM-DD format.
Usage
{{Start date|YYYY|MM|DD}}
Parameters
| Parameter |
Description |
Required
|
{{{1}}} |
Year (four digits) |
Yes
|
{{{2}}} |
Month (one or two digits) |
No
|
{{{3}}} |
Day (one or two digits) |
No
|
Examples
| Input |
Output
|
{{Start date|2021|11|26}} |
2021-11-26
|
{{Start date|2021|11}} |
2021-11
|
{{Start date|2021}} |
2021
|
Notes
- Used in
{{Infobox software}} for the released field.
- On large wikis like Wikipedia this template also embeds hidden microformat markup; this version outputs plain text only, which is suitable for most private or small wikis.