Usage

Creates an event item for use in lists; emitting an hCalendar microformat.

  • |date=: enter as {{Start date|YYYY|MM|DD}}—see {{Start date}} for documentation and caveats. Required
  • |end_date=: enter as {{End date|YYYY|MM|DD}}—see {{End date}} for documentation and caveats. Optional
  • |event=: text summary of the event. Can include wikilinks. Optional if |location= entered
  • |location=: location of the event, if not included in the summary. Can include wikilinks. Optional if |event= entered

Place references outside the template where possible.

Category

The template places pages in the hidden Category:Pages with timeline metadata.

Blank

Delete unwanted parameters.

Format MMM DD, YYYY:

<syntaxhighlight lang="wikitext">*  Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD) –  Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD): </syntaxhighlight>

or format DD MMM YYYY:

<syntaxhighlight lang="wikitext">* Expression error: Unrecognized word "dd".  YYYY (YYYY-MM-DD) – Expression error: Unrecognized word "dd".  YYYY (YYYY-MM-DD): </syntaxhighlight>

Examples

Month first

Markup Renders as
<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21}} |event= Something happened}}</syntaxhighlight>

April 21, 2012 (2012-04-21): Something happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= Another thing happened}}</syntaxhighlight>

April 21, 2012 (2012-04-21) – November 18, 2012 (2012-11-18): Another thing happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event|date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= In Washington, D.C., another thing happened}}</syntaxhighlight>

April 21, 2012 (2012-04-21) – November 18, 2012 (2012-11-18): In Washington, D.C., another thing happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= Another thing happened|location=Washington, D.C.}}</syntaxhighlight>

April 21, 2012 (2012-04-21) – November 18, 2012 (2012-11-18): Another thing happened, Washington, D.C.

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event|date={{Start date|2012|04|21}} |location=Washington, D.C.}}</syntaxhighlight>

April 21, 2012 (2012-04-21): Washington, D.C.

Date first

Markup Renders as
<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21|df=y}} |event= A lot happened}}</syntaxhighlight>

21 April 2012 (2012-04-21): A lot happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event|date={{Start date|2012|04|21|df=y}} |end_date={{End date|2012|11|18|df=y}} |event= Even more happened}}</syntaxhighlight>

21 April 2012 (2012-04-21) – 18 November 2012 (2012-11-18): Even more happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event|date={{Start date|2012|04|21|df=y}} |end_date={{End date|2012|11|18|df=y}} |event= In London, even more happened}}</syntaxhighlight>

21 April 2012 (2012-04-21) – 18 November 2012 (2012-11-18): In London, even more happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21|df=y}} |end_date={{End date|2012|11|18|df=y}} |event= Even more happened | location= London}}</syntaxhighlight>

21 April 2012 (2012-04-21) – 18 November 2012 (2012-11-18): Even more happened, London

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04|21|df=y}} |location= London}}</syntaxhighlight>

21 April 2012 (2012-04-21): London

Less precise dates

All of the above can be used with less precise dates:

Markup Renders as
<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012|04}} |event= Something else happened}}</syntaxhighlight>

April 2012 (2012-04): Something else happened

<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Timeline-event |date={{Start date|2012}} |event= Something different happened}}</syntaxhighlight>

2012 (2012): Something different happened

Example articles

years (start dates)
Colin Pillinger#Awards and honours
years (start & end dates)
Walsall Borough Police#Chief officers
full dates
Ritz Ballroom, Kings Heath#Notable performances

See also