Misplaced Pages

Template:Infobox event: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 20:27, 26 November 2014 view sourceFrietjes (talk | contribs)Autopatrolled, Extended confirmed users, Template editors1,000,827 edits number← Previous edit Revision as of 18:16, 6 December 2014 view source Pigsonthewing (talk | contribs)Autopatrolled, Event coordinators, Extended confirmed users, Page movers, File movers, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors266,061 editsm 2`Next edit →
(2 intermediate revisions by the same user not shown)
Line 25: Line 25:
| data1 = {{#if:{{{native_name|}}}| {{#if:{{{native_name_lang|}}}|<span lang="{{{native_name_lang}}}">}} {{{native_name}}}{{#if:{{{native_name_lang|}}}|</span>}} }} | data1 = {{#if:{{{native_name|}}}| {{#if:{{{native_name_lang|}}}|<span lang="{{{native_name_lang}}}">}} {{{native_name}}}{{#if:{{{native_name_lang|}}}|</span>}} }}


| label2 = Time | label2 = English name
| data2 = {{{time|}}} | data2 = {{{english_name|}}}


| label3 = Date | label3 = Time
| data3 = {{{date|{{{Date|}}} }}} | data3 = {{{time|}}}


| label4 = Venue | label4 = Date
| data4 = {{{venue|}}} | data4 = {{{date|{{{Date|}}} }}}


| label5 = Location | label5 = Venue
| class5 = location | data5 = {{{venue|}}}
| data5 = {{{place|{{{Location|{{{location|}}} }}} }}}


| label6 = Location
| label6 = ]
| class6 = location
| data6 = {{{coordinates|}}}
| data6 = {{{place|{{{Location|{{{location|}}} }}} }}}


| label7 = Also known as | label7 = ]
| data7 = {{{also known as|{{{AKA|}}} }}} | data7 = {{{coordinates|}}}


| label8 = Cause | label8 = Also known as
| data8 = {{{cause|}}} | data8 = {{{also known as|{{{AKA|}}} }}}


| label9 = First reporter | label9 = Cause
| data9 = {{{first reporter|}}} | data9 = {{{cause|}}}


| label10 = Budget | label10 = First reporter
| data10 = {{{budget|}}} | data10 = {{{first reporter|}}}


| label11 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | label11 = Budget
| data11 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | data11 = {{{budget|}}}


| label12 = {{#if:{{{organisers|}}}|Organised|Organized}} by | label12 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}}
| data12 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | data12 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}}


| label13 = Filmed by | label13 = {{#if:{{{organisers|}}}|Organised|Organized}} by
| data13 = {{{filmed by|}}} | data13 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}}


| label14 = Participants | label14 = Filmed by
| data14 = {{{participants|{{{Participants|}}} }}} | data14 = {{{filmed by|}}}
| class14 = attendee


| label15 = Outcome | label15 = Participants
| data15 = {{{outcome|{{{Result|}}} }}} | data15 = {{{participants|{{{Participants|}}} }}}
| class15 = description | class15 = attendee


| label16 = Outcome
| header16 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}}
| data16 = {{{outcome|{{{Result|}}} }}}
| class16 = navbox-abovebelow
| class16 = description
| data17 = {{{casualties1|}}}
| data18 = {{{casualties2|}}}
| data19 = {{{casualties3|}}}


| header17 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}}
| label20 = Deaths
| class17 = navbox-abovebelow
| data20 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}}
| data18 = {{{casualties1|}}}
| data19 = {{{casualties2|}}}
| data20 = {{{casualties3|}}}


| label21 = Injuries | label21 = Deaths
| data21 = {{{reported injuries|{{{injuries|}}} }}} | data21 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}}


| label22 = Missing | label22 = Injuries
| data22 = {{{reported missing|}}} | data22 = {{{reported injuries|{{{injuries|}}} }}}


| label23 = Property damage | label23 = Missing
| data23 = {{{reported property damage|}}} | data23 = {{{reported missing|}}}


| label24 = Burial | label24 = Property damage
| data24 = {{{burial|}}} | data24 = {{{reported property damage|}}}


| label25 = Inquiries | label25 = Burial
| data25 = {{{inquiries|}}} | data25 = {{{burial|}}}


| label26 = Inquest | label26 = Inquiries
| data26 = {{{inquest|}}} | data26 = {{{inquiries|}}}


| label27 = Coroner | label27 = Inquest
| data27 = {{{coroner|}}} | data27 = {{{inquest|}}}


| label28 = Arrest(s) | label28 = Coroner
| data28 = {{{arrests|}}} | data28 = {{{coroner|}}}


| label29 = Suspect(s) | label29 = Arrest(s)
| data29 = {{{suspects|{{{susperps|}}} }}} | data29 = {{{arrests|}}}


| label30 = Accused | label30 = Suspect(s)
| data30 = {{{accused|}}} | data30 = {{{suspects|{{{susperps|}}} }}}


| label31 = Convicted | label31 = Accused
| data31 = {{{convicted|}}} | data31 = {{{accused|}}}


| label32 = Charges | label32 = Convicted
| data32 = {{{charges|}}} | data32 = {{{convicted|}}}


| label33 = Verdict | label33 = Charges
| data33 = {{{verdict|}}} | data33 = {{{charges|}}}


| label34 = Convictions | label34 = Verdict
| data34 = {{{convictions|}}} | data34 = {{{verdict|}}}


| label35 = Publication bans | label35 = Convictions
| data35 = {{{publication bans|}}} | data35 = {{{convictions|}}}


| label36 = Litigation | label36 = Publication bans
| data36 = {{{litigation|}}} | data36 = {{{publication bans|}}}


| label37 = Awards | label37 = Litigation
| data37 = {{{awards|}}} | data37 = {{{litigation|}}}


| label38 = Footage | label38 = Awards
| data38 = {{{url|}}} | data38 = {{{awards|}}}


| label39 = {{{blank_label}}} | label39 = Footage
| data39 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | data39 = {{{url|}}}


| label40 = {{{blank1_label}}} | label40 = Audio
| data40 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | data40 = {{{audio_url|}}}


| label41 = {{{blank2_label}}} | label41 = Transcript
| data41 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | data41 = {{{transcript_url|}}}
| class41 = url


| label42 = Website | label42 = {{{blank_label}}}
| data42 = {{{website|{{{URL|}}} }}} | data42 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}}

| label43 = {{{blank1_label}}}
| data43 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}}

| label44 = {{{blank2_label}}}
| data44 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}}

| label45 = Website
| data45 = {{{website|{{{URL|}}} }}}


| belowstyle = border-top: #aaa 1px solid; | belowstyle = border-top: #aaa 1px solid;

Revision as of 18:16, 6 December 2014

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 6,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:

{{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: Misplaced Pages:List of infoboxes

Usage

{{{title}}}
Part of {{{partof}}}
]{{{caption}}}
Native name {{{native_name}}}
English name{{{english_name}}}
Time{{{time}}}
Date{{{date}}}
Venue{{{venue}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Cause{{{cause}}}
Budget{{{budget}}}
Patron(s){{{patron}}}
Organised by{{{organisers}}}
Participants{{{participants}}}
Outcome{{{outcome}}}
Casualties
{{{casualties1}}}
{{{casualties2}}}
{{{casualties3}}}
Deaths{{{reported deaths}}}
Injuries{{{reported injuries}}}
Missing{{{reported missing}}}
Property damage{{{reported property damage}}}
Burial{{{burial}}}
Inquiries{{{inquiries}}}
Inquest{{{inquest}}}
Coroner{{{coroner}}}
Arrest(s){{{arrests}}}
Suspect(s){{{suspects}}}
Accused{{{accused}}}
Convicted{{{convicted}}}
Charges{{{charges}}}
Verdict{{{verdict}}}
Convictions{{{convictions}}}
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

{{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: ]

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 ]

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
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
]
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
Smoke billowing out of the harbour
Time16:15 IST (10:45 UTC)
Date14 April 1944
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, ]
| 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. For more information about the use of microformats on Misplaced Pages, 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

The above documentation is transcluded from Template:Infobox event/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: