Template:Infobox event/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

{{Infobox event}} should be used to specify one-off events, usually at the top of an article.

Usage

Infobox event/doc
Native name {{{native_name}}}
English name{{{english_name}}}
Time{{{time}}} ({{{timezone}}})
Duration{{{duration}}}
Venue{{{venue}}}
Coordinates{{{coordinates}}}
Also known as{{{also_known_as}}}
Theme{{{theme}}}
Cause{{{cause}}}
Perpetrator{{{perpetrator}}}
First reporter{{{first_reporter}}}
Budget{{{budget}}}
Patron(s){{{patron}}}
Organised by{{{organisers}}}
Filmed by{{{filmed_by}}}
Participants{{{participants}}}
Outcome{{{outcome}}}
Casualties
{{{casualties1}}}
{{{casualties2}}}
{{{casualties3}}}
Non-fatal injuries{{{reported injuries}}}
Missing{{{reported missing}}}
Property damage{{{reported property damage}}}
Burial{{{burial}}}
Displaced{{{displaced}}}
Inquiries{{{inquiries}}}
Inquest{{{inquest}}}
Coroner{{{coroner}}}
Arrests{{{arrests}}}
Suspects{{{suspects}}}
Accused{{{accused}}}
Convicted{{{convicted}}}
Charges{{{charges}}}
Trial{{{trial}}}
Verdict{{{verdict}}}
Convictions{{{convictions}}}
Sentence{{{sentence}}}
Publication bans{{{publication_bans}}}
Litigation{{{litigation}}}
Awards{{{awards}}}
Footage{{{url}}}
Website{{{website}}}
{{{notes}}}
{{Infobox event
| title                    = <!-- Title to display, if other than page name -->
| image                    = 
| image_upright            = 
| image_alt                = 
| caption                  = 
| native_name              = 
| native_name_lang         = 
| english_name             = 
| time                     = 
| timezone                 = 
| duration                 = <!-- {{duration|h=x|m=x|s=x}} or {{time interval|date1|date2|options}} -->
| date                     = <!-- {{start date|YYYY|MM|DD}} or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} -->
| venue                    = 
| location                 = 
| coordinates              = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
| also_known_as            = 
| type                     = 
| theme                    = 
| cause                    = 
| motive                   = 
| target                   = 
| perpetrator              =
| first_reporter           = 
| budget                   = 
| patron                   = <!-- or |patrons= -->
| organisers               = <!-- or |organizers= -->
| filmed_by                = 
| participants             = 
| outcome                  = 
| casualties1              = 
| casualties2              = 
| casualties3              = 
| reported deaths          = 
| reported injuries        = 
| reported missing         = 
| reported property damage = 
| burial                   = 
| displaced                = 
| inquiries                = 
| inquest                  = 
| coroner                  = 
| arrests                  = 
| suspects                 = 
| accused                  = 
| convicted                = 
| charges                  = 
| trial                    = 
| verdict                  = 
| convictions              = 
| sentence                 = 
| publication_bans         = 
| litigation               = 
| awards                   = 
| url                      = 
| blank_label              = <!-- or |blank_data= -->
| blank1_label             = <!-- or |blank1_data= -->
| blank2_label             = <!-- or |blank2_data= -->
| website                  = <!-- {{URL|example.com}} -->
| notes                    = 
}}

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox event in articles based on its TemplateData.

TemplateData for Infobox event

<templatedata> { "params": { "nongregorian": {}, "partof": { "label": "Part of" }, "child": { "label": "Child infobox", "description": "Set to \"yes\" if you are embedding this infobox in another one", "type": "string" }, "title": { "aliases": [ "event", "name", "Event_Name" ], "label": "Title", "description": "Name of the event, if omitted, the page name will be used", "type": "line" }, "logo": { "label": "Logo", "description": "Logo filename", "type": "wiki-file-name" }, "logo_size": { "label": "Logo size" }, "logo_upright": { "label": "Logo upright (scale factor)" }, "logo_alt": { "label": "Logo alt text", "description": "A description of the logo intended for the blind; say what you see. No formatting.", "example": "Black text reading \"example\" on white circle.", "type": "string" }, "logo_caption": { "label": "Logo caption", "description": "Caption to display under the logo.", "type": "line" }, "image": { "aliases": [ "image_name", "Image_Name" ], "label": "Image", "description": "Name of the image of the event", "type": "wiki-file-name", "suggested": true }, "image_size": { "aliases": [ "Imagesize" ], "label": "Image size", "description": "Image size in pixels", "deprecated": "Use image_upright instead." }, "image_upright": { "label": "Image upright (scale factor)", "description": "Image scaling factor; defaults to 1 if left empty – see WP:IMGSIZE" }, "thumbtime": { "aliases": [ "Thumb_Time" ], "label": "Thumbnail time", "description": "If the image parameter is a video, this timestamp is the section of the video that will be used as a thumbnail." }, "image_alt": { "aliases": [ "alt", "Image_Alt" ], "label": "Image alt text", "description": "A description of the logo intended for the blind; say what you see. No formatting.", "type": "string" }, "caption": { "aliases": [ "Image_Caption" ], "label": "Image caption", "description": "Optional caption of the image", "type": "line" }, "map": {}, "map_size": {}, "map_alt": {}, "map_caption": {}, "native_name": { "label": "Native name", "description": "The native name of the event, if different" }, "native_name_lang": { "label": "Language of native name", "description": "ISO 639-2 code for the native name e.g. 'fr' for French", "type": "string" }, "English_name": {}, "date": { "description": " Expression error: Unrecognized word "dd"., YYYY (YYYY-MM-DD) for the date of a single-day event or Error: Invalid time.Error: Invalid time. (Error: Invalid time. – Error: Invalid time.) for multi-day events" }, "duration": { "label": "Duration of the event" }, "venue": { "label": "Venue", "description": "name of the particular venue (alternative to location)" }, "Location": { "aliases": [ "location", "place" ], "label": "Location", "description": "The location of the event", "type": "line" }, "coordinates": { "label": "Coordinates", "description": "Use , with display=inline,title", "example": "Expression error: Unexpected < operator.°Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unrecognized word "lat". Expression error: Unexpected < operator.°Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unrecognized word "lon". / Expression error: Unrecognized word "lat". Expression error: Unrecognized word "lon". / LAT; LONExpression error: Unrecognized word "lat".Expression error: Unrecognized word "lat".Expression error: Unrecognized word "lon".Expression error: Unrecognized word "lon"." }, "also known as": { "aliases": [ "also_known_as", "AKA", "aka" ], "label": "Also known as", "type": "line" }, "type": {}, "theme": {}, "cause": {}, "motive": {}, "perpetrator": { "label": "Perpetrator", "type": "line", "description": "The perpetrator of the event, if it was a crime" }, "reporter": { "aliases": [ "first reporter" ], "label": "Reporter", "type": "line", "description": "First or key reporter(s)" }, "budget": { "label": "Budget", "description": "The larger of budgeted income or expense", "type": "line" }, "patron": { "aliases": [ "patrons" ], "label": "Patrons", "type": "line" }, "organizers": { "aliases": [ "organisers" ], "label": "Organizers" }, "filmed by": {}, "participants": { "label": "Participants", "description": "The typical number of participants", "type": "line" }, "outcome": { "aliases": [ "result" ], "label": "Outcome", "type": "line" }, "casualties1": { "label": "First group of or total casualties", "description": "Use to indicate the first casualties of an event, or for the total casualties if there is only one group of casualties. Include a short explanation of that group if it is the first casualties. ", "example": "150 (initial collapse of mine)" }, "casualties2": { "label": "Second group of casualties", "description": "Use to indicate the second group of casualties of an event. Include a short explanation of the group. ", "example": "8 (death from injuries while awaiting rescue)", "type": "string" }, "casualties3": { "label": "Third group of casualties", "description": "Use to indicate the third group of casualties of an event. Include a short explanation of the group. ", "example": "2 (in hospital following rescue)", "type": "string" }, "reported deaths": { "aliases": [ "reported death(s)", "Deaths", "fatalities" ] }, "reported injuries": { "aliases": [ "injuries" ], "label": "Injuries", "type": "line" }, "missing": { "aliases": [ "reported missing" ], "label": "Missing", "description": "The number of people missing", "type": "string" }, "property damage": { "aliases": [ "reported property damage" ], "label": "Property damage", "type": "line" }, "burial": {}, "displaced": { "label": "Displaced", "description": "People forced to leave home", "type": "line" }, "inquiries": {}, "inquest": {}, "coroner": {}, "arrests": {}, "suspects": { "aliases": [ "susperps" ] }, "accused": {}, "convicted": {}, "charges": {}, "trial": {}, "verdict": {}, "convictions": {}, "sentence": {}, "publication bans": { "aliases": [ "publication_bans" ], "label": "Publication bans", "type": "line" }, "litigation": {}, "awards": {}, "footage": { "aliases": [ "url" ], "label": "Footage of the event", "description": "The name and/or url of footage of the event." }, "blank_label": { "label": "First blank label", "description": "Use with First blank data parameter" }, "blank_data": { "label": "First blank data", "description": "Use with First blank label parameter" }, "blank1_label": { "label": "Second blank label", "description": "Use with Second blank data parameter" }, "blank1_data": { "label": "Second blank data", "description": "Use with Second blank label parameter" }, "blank2_label": { "label": "Third blank label", "description": "Use with Third blank data parameter" }, "blank2_data": { "label": "Third blank data", "description": "Use with Third blank label parameter" }, "website": { "aliases": [ "URL" ], "label": "Website", "description": "Use {{URL|example.com|optional display text}}", "example": "example.com" }, "module": { "label": "Module", "description": "For embedding another infobox as a child", "example": "", "type": "string" }, "notes": { "label": "Notes", "description": "Free-form notes for the bottom of the infobox", "type": "content" }, "Target": { "label": "Target of the event", "type": "string" }, "timezone": { "label": "Timezone", "description": "If Time is specified, the timezone of the event. Brackets/parentheses will be added automatically. ", "example": "AWST", "type": "string", "aliases": [ "Timezone" ] }, "time": { "label": "Time of the event", "description": "Time that the event occurred, in the relevant timezone. Use the Timezone parameter to display the timezone.", "aliases": [ "Time" ] } },

"description": "

Infobox event/doc

should be used to specify one-off events, usually at the top of an article.",

"paramOrder": [ "title", "image", "image_size", "nongregorian", "partof", "logo", "logo_size", "logo_upright", "logo_alt", "logo_caption", "image_upright", "thumbtime", "image_alt", "caption", "map", "map_size", "map_alt", "map_caption", "native_name", "native_name_lang", "English_name", "date", "time", "timezone", "duration", "venue", "Location", "coordinates", "also known as", "type", "theme", "cause", "motive", "Target", "perpetrator", "reporter", "budget", "patron", "organizers", "filmed by", "participants", "outcome", "casualties1", "casualties2", "casualties3", "reported deaths", "reported injuries", "missing", "property damage", "burial", "displaced", "inquiries", "inquest", "coroner", "arrests", "suspects", "accused", "convicted", "charges", "trial", "verdict", "convictions", "sentence", "publication bans", "litigation", "awards", "footage", "blank_label", "blank_data", "blank1_label", "blank1_data", "blank2_label", "blank2_data", "website", "child", "module", "notes" ], "format": "block" } </templatedata>

Example

Bombay explosion
Bombay-Docks-aftermath1.png
Smoke billowing out of the harbour
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
Coordinates18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com
{{Infobox event
| title       = Bombay explosion
| image       = Bombay-Docks-aftermath1.png
| caption     = Smoke billowing out of the harbour
| date        = 14 April 1944
| time        = 16:15 IST (10:45 UTC)
| place       = Victoria Dock, Bombay, [[British Raj|British India]]
| coordinates = {{coord|18.9527772|N|72.8449774|E|type:event_region:IN|display=inline,title}}
| cause       = ship fire
| url         = {{URL|example.com}}
| casualties1 = 800+ dead
| casualties2 = 3,000 injured
| website     = {{URL|example.com}}
}}

Microformat

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases.

Classes used

The HTML classes of this microformat include:

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

Tracking categories

See also