Template:Timeline-event/doc

Jump to navigation Jump to search

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:

* {{Timeline-event |date={{Start date|YYYY|MM|DD}} |end_date={{End date|YYYY|MM|DD}} |event= |location= }}

or format DD MMM YYYY:

* {{Timeline-event |date={{Start date|YYYY|MM|DD|df=y}} |end_date={{End date|YYYY|MM|DD|df=y}}|event= |location= }}

Examples

Month first

Markup Renders as
{{Timeline-event |date={{Start date|2012|04|21}} |event= Something happened}}

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

{{Timeline-event |date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= Another thing happened}}

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

{{Timeline-event|date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= In Washington DC, another thing happened}}

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

{{Timeline-event |date={{Start date|2012|04|21}} |end_date={{End date|2012|11|18}} |event= Another thing happened|location=Washington DC}}

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

{{Timeline-event|date={{Start date|2012|04|21}} |location=Washington DC}}

April 21, 2012 (2012-04-21): Washington DC

Date first

Markup Renders as
{{Timeline-event |date={{Start date|2012|04|21|df=y}} |event= A lot happened}}

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

{{Timeline-event|date={{Start date|2012|04|21|df=y}} |end_date={{End date|2012|11|18|df=y}} |event= Even more happened}}

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

{{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}}

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

{{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}}

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

{{Timeline-event |date={{Start date|2012|04|21|df=y}} |location= London}}

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

Less precise dates

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

Markup Renders as
{{Timeline-event |date={{Start date|2012|04}} |event= Something else happened}}

April 2012 (2012-04): Something else happened

{{Timeline-event |date={{Start date|2012}} |event= Something different happened}}

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