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 = |
| label2 = English name | ||
| data2 = {{{ |
| data2 = {{{english_name|}}} | ||
| label3 = |
| label3 = Time | ||
| data3 = {{{ |
| data3 = {{{time|}}} | ||
| label4 = |
| label4 = Date | ||
| data4 = {{{ |
| data4 = {{{date|{{{Date|}}} }}} | ||
| label5 = |
| label5 = Venue | ||
| |
| data5 = {{{venue|}}} | ||
⚫ | | |
||
| label6 = Location | |||
| label6 = ] | |||
| class6 = location | |||
⚫ | | |
||
⚫ | | data6 = {{{place|{{{Location|{{{location|}}} }}} }}} | ||
| label7 = |
| label7 = ] | ||
| data7 = {{{ |
| data7 = {{{coordinates|}}} | ||
| label8 = |
| label8 = Also known as | ||
| data8 = {{{ |
| data8 = {{{also known as|{{{AKA|}}} }}} | ||
| label9 = |
| label9 = Cause | ||
| data9 = {{{ |
| data9 = {{{cause|}}} | ||
| label10 = |
| label10 = First reporter | ||
| data10 = {{{ |
| data10 = {{{first reporter|}}} | ||
| label11 = |
| label11 = Budget | ||
| data11 = {{ |
| data11 = {{{budget|}}} | ||
| label12 = {{#if:{{{ |
| label12 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | ||
| data12 = {{#if:{{{ |
| data12 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | ||
| label13 = |
| label13 = {{#if:{{{organisers|}}}|Organised|Organized}} by | ||
| data13 = {{{ |
| data13 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | ||
| label14 = |
| label14 = Filmed by | ||
| data14 = {{{ |
| data14 = {{{filmed by|}}} | ||
| class14 = attendee | |||
| label15 = |
| label15 = Participants | ||
| data15 = {{{ |
| data15 = {{{participants|{{{Participants|}}} }}} | ||
| class15 = |
| class15 = attendee | ||
| label16 = Outcome | |||
⚫ | | |
||
| data16 = {{{outcome|{{{Result|}}} }}} | |||
⚫ | | |
||
| class16 = description | |||
⚫ | | |
||
⚫ | | |
||
| 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 = |
| label21 = Deaths | ||
| data21 = {{{reported |
| data21 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}} | ||
| label22 = |
| label22 = Injuries | ||
| data22 = {{{reported |
| data22 = {{{reported injuries|{{{injuries|}}} }}} | ||
| label23 = |
| label23 = Missing | ||
| data23 = {{{reported |
| data23 = {{{reported missing|}}} | ||
| label24 = |
| label24 = Property damage | ||
| data24 = {{{ |
| data24 = {{{reported property damage|}}} | ||
| label25 = |
| label25 = Burial | ||
| data25 = {{{ |
| data25 = {{{burial|}}} | ||
| label26 = |
| label26 = Inquiries | ||
| data26 = {{{ |
| data26 = {{{inquiries|}}} | ||
| label27 = |
| label27 = Inquest | ||
| data27 = {{{ |
| data27 = {{{inquest|}}} | ||
| label28 = |
| label28 = Coroner | ||
| data28 = {{{ |
| data28 = {{{coroner|}}} | ||
| label29 = |
| label29 = Arrest(s) | ||
| data29 = {{{ |
| data29 = {{{arrests|}}} | ||
| label30 = |
| label30 = Suspect(s) | ||
| data30 = {{{ |
| data30 = {{{suspects|{{{susperps|}}} }}} | ||
| label31 = |
| label31 = Accused | ||
| data31 = {{{ |
| data31 = {{{accused|}}} | ||
| label32 = |
| label32 = Convicted | ||
| data32 = {{{ |
| data32 = {{{convicted|}}} | ||
| label33 = |
| label33 = Charges | ||
| data33 = {{{ |
| data33 = {{{charges|}}} | ||
| label34 = |
| label34 = Verdict | ||
| data34 = {{{ |
| data34 = {{{verdict|}}} | ||
| label35 = |
| label35 = Convictions | ||
| data35 = {{{ |
| data35 = {{{convictions|}}} | ||
| label36 = |
| label36 = Publication bans | ||
| data36 = {{{ |
| data36 = {{{publication bans|}}} | ||
| label37 = |
| label37 = Litigation | ||
| data37 = {{{ |
| data37 = {{{litigation|}}} | ||
| label38 = |
| label38 = Awards | ||
| data38 = {{{ |
| data38 = {{{awards|}}} | ||
| label39 = |
| label39 = Footage | ||
| data39 = {{ |
| data39 = {{{url|}}} | ||
| label40 = |
| label40 = Audio | ||
| data40 = {{ |
| data40 = {{{audio_url|}}} | ||
| label41 = |
| label41 = Transcript | ||
| data41 = {{ |
| data41 = {{{transcript_url|}}} | ||
| class41 = url | |||
| label42 = |
| label42 = {{{blank_label}}} | ||
| data42 = {{{ |
| 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]This 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
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: ]
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title event name Event_Name | Name of the event, if omitted, the page name will be used | Line | optional |
Part of | partof | no description | Unknown | optional |
Logo | logo | Logo filename | File | optional |
Logo size | logo_size | no description | Unknown | optional |
Logo upright (scale factor) | logo_upright | no description | Unknown | optional |
Logo alt text | logo_alt | A description of the logo intended for the blind; say what you see. No formatting.
| String | optional |
Logo caption | logo_caption | Caption to display under the logo. | Line | optional |
Image | image image_name Image_Name | Name of the image of the event | File | suggested |
Image size | image_size Imagesize | Image size in pixels | Unknown | deprecated |
Image upright (scale factor) | image_upright | Image scaling factor; defaults to 1 if left empty – see ] | Unknown | optional |
Image alt text | image_alt alt Image_Alt | A description of the logo intended for the blind; say what you see. No formatting. | String | optional |
Image caption | caption Image_Caption | Optional caption of the image | Line | optional |
Thumbnail time | thumbtime Thumb_Time | If the image parameter is a video, this timestamp is the section of the video that will be used as a thumbnail. | Unknown | optional |
Native name | native_name | The native name of the event, if different | Unknown | optional |
English_name | English_name | no description | Unknown | optional |
nongregorian | nongregorian | no description | Unknown | optional |
map | map | no description | Unknown | optional |
map_size | map_size | no description | Unknown | optional |
map_alt | map_alt | no description | Unknown | optional |
map_caption | map_caption | no description | Unknown | optional |
Language of native name | native_name_lang | ISO 639-2 code for the native name e.g. 'fr' for French | String | optional |
date | date | {{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 | Unknown | optional |
Time of the event | time Time | Time that the event occurred, in the relevant timezone. Use the Timezone parameter to display the timezone. | Unknown | optional |
Timezone | timezone Timezone | If Time is specified, the timezone of the event. Brackets/parentheses will be added automatically.
| String | optional |
Duration of the event | duration | no description | Unknown | optional |
Venue | venue | name of the particular venue (alternative to location) | Unknown | optional |
Location | Location location place | The location of the event | Line | optional |
Coordinates | coordinates | Use {{Coord}}, with display=inline,title
| Unknown | optional |
Also known as | also known as also_known_as AKA aka | no description | Line | optional |
type | type | no description | Unknown | optional |
theme | theme | no description | Unknown | optional |
cause | cause | no description | Unknown | optional |
motive | motive | no description | Unknown | optional |
Target of the event | Target | no description | String | optional |
Perpetrator | perpetrator | The perpetrator of the event, if it was a crime | Line | optional |
Reporter | reporter first reporter | First or key reporter(s) | Line | optional |
Budget | budget | The larger of budgeted income or expense | Line | optional |
Patrons | patron patrons | no description | Line | optional |
Organizers | organizers organisers | no description | Unknown | optional |
filmed by | filmed by | no description | Unknown | optional |
Participants | participants | The typical number of participants | Line | optional |
Outcome | outcome result | no description | Line | optional |
First group of or total casualties | casualties1 | 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.
| Unknown | optional |
Second group of casualties | casualties2 | Use to indicate the second group of casualties of an event. Include a short explanation of the group.
| String | optional |
Third group of casualties | casualties3 | Use to indicate the third group of casualties of an event. Include a short explanation of the group.
| String | optional |
reported deaths | reported deaths reported death(s) Deaths fatalities | no description | Unknown | optional |
Injuries | reported injuries injuries | no description | Line | optional |
Missing | missing reported missing | The number of people missing | String | optional |
Property damage | property damage reported property damage | no description | Line | optional |
burial | burial | no description | Unknown | optional |
Displaced | displaced | People forced to leave home | Line | optional |
inquiries | inquiries | no description | Unknown | optional |
inquest | inquest | no description | Unknown | optional |
coroner | coroner | no description | Unknown | optional |
arrests | arrests | no description | Unknown | optional |
suspects | suspects susperps | no description | Unknown | optional |
accused | accused | no description | Unknown | optional |
convicted | convicted | no description | Unknown | optional |
charges | charges | no description | Unknown | optional |
trial | trial | no description | Unknown | optional |
verdict | verdict | no description | Unknown | optional |
convictions | convictions | no description | Unknown | optional |
sentence | sentence | no description | Unknown | optional |
Publication bans | publication bans publication_bans | no description | Line | optional |
litigation | litigation | no description | Unknown | optional |
awards | awards | no description | Unknown | optional |
Footage of the event | footage url | The name and/or url of footage of the event. | Unknown | optional |
First blank label | blank_label | Use with First blank data parameter | Unknown | optional |
First blank data | blank_data | Use with First blank label parameter | Unknown | optional |
Second blank label | blank1_label | Use with Second blank data parameter | Unknown | optional |
Second blank data | blank1_data | Use with Second blank label parameter | Unknown | optional |
Third blank label | blank2_label | Use with Third blank data parameter | Unknown | optional |
Third blank data | blank2_data | Use with Third blank label parameter | Unknown | optional |
Website | website URL | Use {{URL}}
| Unknown | optional |
Child infobox | child | Set to "yes" if you are embedding this infobox in another one | String | optional |
Module | module | For embedding another infobox as a child
| String | optional |
Notes | notes | Free-form notes for the bottom of the infobox | Content | optional |
Example
Smoke billowing out of the harbour | |
Time | 16:15 IST (10:45 UTC) |
---|---|
Date | 14 April 1944 |
Location | Victoria Dock, Bombay, British India |
Coordinates | 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774 |
Cause | ship fire |
Casualties | |
800+ dead | |
3,000 injured | |
Footage | example |
Website | example |
{{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
nor collapse nested elements which use them.
Tracking categories
- Category:Pages using infobox event with unknown parameters (15)
- Category:Pages using infobox event with blank parameters (457)
See also
- {{Infobox civilian attack}}
- {{Infobox civil conflict}}
- {{Infobox military conflict}}
- {{Infobox military operation}}
- Category:Events infobox templates
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: