Jump to content

ទំព័រគំរូ:Infobox historical event/doc

ពីវិគីភីឌា

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 articles as the primary infobox and is not intended for use as a summary of an article section.

{{Infobox historical event
  |Event_Name     = (Event_Name)
  |Image_Name     = (Image_Name)
  |Imagesize      = (Image size in pixels - default is 220px)
  |Image_Alt      = (Alt text for image)
  |Image_Caption  = (Image_Caption)
  |Thumb_Time     = (Video thumbnail frame - see below)
  |AKA            = (Also known as)
  |Participants   = (Participants)
  |Location       = (Location)
  |Date           = (Date) - use {{Start date|YYYY|MM|DD}} where applicable.
  |nongregorian   = Set if date is not in Gregorian calendar; may be any text value, but suggestions are: "yes", a calendar name (e.g. "Julian"), or "prehistoric".
  |Deaths        = (Deaths)
  |Result         = (Result)
  |URL            = (Website)
}}

The alt text is for users who cannot see the image; see WP:ALT.

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 |Thumb_time = 200 for example will chose 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. See also Wikipedia:Creation and usage of media files#Video usage.

Microformat

[កែប្រែ]

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 Wikipedia, please see the microformat project.

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

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.