Template:Infobox historical event/doc
This is a documentation subpage for Template:Infobox historical event It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]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 source]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 source]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 source]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.