Template:Infobox historical event

From Wikibooks, open books for an open world
Jump to: navigation, search
Template documentation[edit] [history] [purge]

Usage[edit]

This template is used as a summary of relevant factual data about a historical event, defined as lasting under one year. It is intended for use in history related pages as the primary infobox and is not intended for use as a summary of a section.

{{infobox historical event
  |event          = (Event_Name)
  |image          = (Image_Name)
  |size           = (Image size in pixels - default is 220px)
  |alt            = (Alt text for image)
  |caption        = (Image_Caption)
  |time           = (Video thumbnail frame - see below)
  |aka            = (Also known as)
  |participants   = (Participants)
  |location       = (Location)
  |date           = (Date) - use {{Start date|YYYY|MM|DD}} where applicable.
  |result         = (Result)
  |url            = (Website)
}}

The alt text is for users who cannot see the image.

For dates, use {{start date}} where applicable, but see that template's documentation for caveats if before 1583.

Thumb_Time supports a parameter for video files if a video is used as the infobox image. Entering a value of |time = 200 for example will choose the frame at 200 seconds (3 minutes 20 seconds) of video play time as the initial still image displayed, playing the video will start from the beginning regardless of the frame chosen.

Microformat[edit]

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikimedia projects, please see the microformat project.

Sub-templates[edit]

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[edit]

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent


Please do not rename or remove these classes; nor collapse nested elements which use them.