Template:Timeline-event

From Wikipedia, the free encyclopedia
Jump to: navigation, search

{{{date}}} –

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[edit]

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. Otional
  • |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[edit]

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

Blank[edit]

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[edit]

Month first[edit]

{{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[edit]

{{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[edit]

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

{{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[edit]

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

See also[edit]