Jump to content

Template:Start date

From RetroTechCollection
Revision as of 12:02, 27 April 2025 by Josh (talk | contribs)


Usage

{{Start date|YYYY|MM|DD}}
  • YYYY โ€“ 4-digit year (required)
  • MM โ€“ 1- or 2-digit month (optional; defaults to 1)
  • DD โ€“ 1- or 2-digit day (optional; defaults to 1)

The template renders an **inline** date like โ€œApril 21, 1994โ€ while the `title` attribute supplies an ISO-8601 machine-readable form (`1994-04-21`) for Microformats (h-event โ†’ ).

Examples

Specific day
{{Start date|1991|11|21}} โ†’

November&11b00p;21, 1991

Month & year only
{{Start date|1988|10}} โ†’

October&10b00p;1, 1988

Year only
{{Start date|1978}} โ†’

January&1b00p;1, 1978