Coordinates: 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774

Template:Infobox event/doc

From Arden Wiki
Revision as of 07:24, 20 September 2025 by imported>Joy (document mapframe implementation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error in Module:Lua_banner at line 122: variable 'cats' is not declared.

{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}. For other type of events, check: Wikipedia:List of infoboxes

Usage

{{{title}}}
Part of {{{partof}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|upright={{{logo_upright}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
[[File:{{{map}}}|250px]]
Native name {{{native_name}}}
English name{{{english_name}}}
Date{{{date}}}
Time{{{time}}} ({{{timezone}}})
Duration{{{duration}}}
Venue{{{venue}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Also known as{{{also_known_as}}}
Type{{{type}}}
Theme{{{theme}}}
Cause{{{cause}}}
Motive{{{motive}}}
Target{{{target}}}
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}}}
Deaths{{{reported deaths}}}
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}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox event/doc

</syntaxhighlight>

Mapframe maps

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
      • Internal onByDefault parameter: yes, unless any of these are set: |map=, |pushpin_map=
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force display of line by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
      • Can also be set to <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
    • mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
    • mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified


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

{{Infobox event}} should be used to specify one-off events, usually at the top of an article. For recurring events, use {{Infobox recurring event}}. For other type of events, check: [[Wikipedia:List of infoboxes]]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle event name Event_Name

Name of the event, if omitted, the page name will be used

Lineoptional
Part ofpartof

no description

Unknownoptional
Logologo

Logo filename

Fileoptional
Logo sizelogo_size

no description

Unknownoptional
Logo upright (scale factor)logo_upright

no description

Unknownoptional
Logo alt textlogo_alt

A description of the logo intended for the blind; say what you see. No formatting.

Example
Black text reading "example" on white circle.
Stringoptional
Logo captionlogo_caption

Caption to display under the logo.

Lineoptional
Imageimage image_name Image_Name

Name of the image of the event

Filesuggested
Image sizeimage_size Imagesize

Image size in pixels

Unknowndeprecated
Image upright (scale factor)image_upright

Image scaling factor; defaults to 1 if left empty – see [[WP:IMGSIZE]]

Unknownoptional
Image alt textimage_alt alt Image_Alt

A description of the logo intended for the blind; say what you see. No formatting.

Stringoptional
Image captioncaption Image_Caption

Optional caption of the image

Lineoptional
Thumbnail timethumbtime Thumb_Time

If the image parameter is a video, this timestamp is the section of the video that will be used as a thumbnail.

Unknownoptional
Native namenative_name

The native name of the event, if different

Unknownoptional
English_nameEnglish_name

no description

Unknownoptional
nongregoriannongregorian

no description

Unknownoptional
mapmap

no description

Unknownoptional
map_sizemap_size

no description

Unknownoptional
map_altmap_alt

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
Show mapframe mapmapframe

Specify yes or no to show or hide the map, overriding the default

Default
no
Example
yes
Stringsuggested
Mapframe captionmapframe-caption

Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>"

Stringoptional
Custom mapframemapframe-custom

Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.

Templateoptional
Mapframe Wikidata itemmapframe-id id qid

Id (Q-number) of Wikidata item to use.

Default
(item for current page)
Stringoptional
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates coord

Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.

Default
(coordinates from Wikidata)
Example
{{Coord|12.34|N|56.78|E}}
Templateoptional
Mapframe shapes from Wikidatamapframe-wikidata

et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter

Example
yes
Stringoptional
Mapframe point featuremapframe-point

Override display of mapframe point feature. Turn off display of point feature by setting to "none". Force point marker to be displayed by setting to "on"

Stringoptional
Mapframe shape featuremapframe-shape

Override display of mapframe shape feature. Turn off by setting to "none". Use an inverse shape (geomask) instead of a regular shape by setting to "inverse"

Stringoptional
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

Default
270
Numberoptional
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

Default
200
Numberoptional
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

Default
#606060
Stringoptional
Mapframe shape fill opacitymapframe-shape-fill-opacity

Opacity level of shape fill, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

Default
#ff0000
Stringoptional
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

Default
5
Numberoptional
Mapframe markermapframe-marker

Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options

Example
museum
Stringoptional
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

Default
#5E74F3
Stringoptional
Mapframe geomaskmapframe-geomask

Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)

Example
Q100
Page nameoptional
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

Default
#555555
Stringoptional
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

Default
2
Numberoptional
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

Default
#606060
Stringoptional
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

Opacity level of fill outside geomask features, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe zoommapframe-zoom

Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area

Default
10
Example
12
Numberoptional
Mapframe length (km)mapframe-length_km

Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe length (mi)mapframe-length_mi

Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (km^2)mapframe-area_km2

Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (mi^2)mapframe-area_mi2

Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}

Example
{{Coord|12.35|N|56.71|E}}
Templateoptional
Mapframe switchermapframe-switcher

Set to "auto" or "geomasks" or "zooms" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, and "zoomed midway" is the average.

Stringoptional
mapframe-linemapframe-line

no description

Unknownoptional
Mapframe typemapframe-type

Type of the object rendered in the mapframe, like with {{coord}}.

Stringoptional
Language of native namenative_name_lang

ISO 639-2 code for the native name e.g. 'fr' for French

Stringoptional
datedate

{{start date|YYYY|MM|DD}} for the date of a single-day event or {{start and end dates|YYYY|MM|DD|YYYY|MM|DD}} for multi-day events

Unknownoptional
Time of the eventtime Time

Time that the event occurred, in the relevant timezone. Use the Timezone parameter to display the timezone.

Unknownoptional
Timezonetimezone Timezone

If Time is specified, the timezone of the event. Brackets/parentheses will be added automatically.

Example
[[AWST]]
Stringoptional
Duration of the eventduration

no description

Unknownoptional
Venuevenue

name of the particular venue (alternative to location)

Unknownoptional
LocationLocation location place

The location of the event

Lineoptional
Coordinatescoordinates

Use {{Coord}}, with display=inline,title

Example
{{coord|LAT|LON|region:XXXX_type:event|display=inline,title}}
Unknownoptional
Also known asalso known as also_known_as AKA aka

no description

Lineoptional
typetype

no description

Unknownoptional
themetheme

no description

Unknownoptional
causecause

no description

Unknownoptional
motivemotive

no description

Unknownoptional
Target of the eventTarget

no description

Stringoptional
Perpetratorperpetrator

The perpetrator of the event, if it was a crime

Lineoptional
Reporterreporter first reporter

First or key reporter(s)

Lineoptional
Budgetbudget

The larger of budgeted income or expense

Lineoptional
Patronspatron patrons

no description

Lineoptional
Organizersorganizers organisers

no description

Unknownoptional
filmed byfilmed by

no description

Unknownoptional
Participantsparticipants

The typical number of participants

Lineoptional
Outcomeoutcome result

no description

Lineoptional
First group of or total casualtiescasualties1

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)
Unknownoptional
Second group of casualtiescasualties2

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)
Stringoptional
Third group of casualtiescasualties3

Use to indicate the third group of casualties of an event. Include a short explanation of the group.

Example
2 (in hospital following rescue)
Stringoptional
reported deathsreported deaths reported death(s) Deaths fatalities

no description

Unknownoptional
Injuriesreported injuries injuries

no description

Lineoptional
Missingmissing reported missing

The number of people missing

Stringoptional
Property damageproperty damage reported property damage

no description

Lineoptional
burialburial

no description

Unknownoptional
Displaceddisplaced

People forced to leave home

Lineoptional
inquiriesinquiries

no description

Unknownoptional
inquestinquest

no description

Unknownoptional
coronercoroner

no description

Unknownoptional
arrestsarrests

no description

Unknownoptional
suspectssuspects susperps

no description

Unknownoptional
accusedaccused

no description

Unknownoptional
convictedconvicted

no description

Unknownoptional
chargescharges

no description

Unknownoptional
trialtrial

no description

Unknownoptional
verdictverdict

no description

Unknownoptional
convictionsconvictions

no description

Unknownoptional
sentencesentence

no description

Unknownoptional
Publication banspublication bans publication_bans

no description

Lineoptional
litigationlitigation

no description

Unknownoptional
awardsawards

no description

Unknownoptional
Footage of the eventfootage url

The name and/or url of footage of the event.

Unknownoptional
First blank labelblank_label

Use with First blank data parameter

Unknownoptional
First blank datablank_data

Use with First blank label parameter

Unknownoptional
Second blank labelblank1_label

Use with Second blank data parameter

Unknownoptional
Second blank datablank1_data

Use with Second blank label parameter

Unknownoptional
Third blank labelblank2_label

Use with Third blank data parameter

Unknownoptional
Third blank datablank2_data

Use with Third blank label parameter

Unknownoptional
Websitewebsite URL

Use {{URL}}

Example
{{URL|example.com}}
Unknownoptional
Child infoboxchild

Set to "yes" if you are embedding this infobox in another one

Stringoptional
Modulemodule

For embedding another infobox as a child

Example
{{infobox person|child=yes}}
Stringoptional
Notesnotes

Free-form notes for the bottom of the infobox

Contentoptional

Example

Bombay explosion
File:Bombay-Docks-aftermath1.png
Smoke billowing out of the harbour
Lua error in Module:Mapframe at line 382: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-65e193e9">Lua error in Module:Coordinates at line 489: attempt to index field &#039;wikibase&#039; (a nil value).</span></strong>'..
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Bombay explosion
File:Bombay-Docks-aftermath1.png
Smoke billowing out of the harbour
Lua error in Module:Mapframe at line 382: Unable to get latitude from input '<strong class="error"><span class="scribunto-error mw-scribunto-error-65e193e9">Lua error in Module:Coordinates at line 489: attempt to index field &#039;wikibase&#039; (a nil value).</span></strong>'..
Date14 April 1944
Time16:15 IST (10:45 UTC)
LocationVictoria Dock, Bombay, British India
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Causeship fire
Casualties
800+ dead
3,000 injured
Footageexample.com
Websiteexample.com

</syntaxhighlight>

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. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

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