Difference between revisions of "Template:Infobox event"
(Tidy params, add Planners , Sponsors - and comment out some deprecated stuff) |
|||
Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
+ | |||
+ | | label1 = Date | ||
+ | | data1 = {{{date|{{{Date|}}} }}} | ||
+ | |||
+ | | label2 = Time | ||
+ | | data2 = {{{time|}}} | ||
+ | |||
+ | | label3 = Location | ||
+ | | class3 = location | ||
+ | | data3 = {{{place|{{{Location|{{{location|}}} }}} }}} | ||
+ | |||
<!-------------------- begin CUSTOM WS PARAMETERS -----------------------> | <!-------------------- begin CUSTOM WS PARAMETERS -----------------------> | ||
Line 6: | Line 17: | ||
| data4 = {{{coordinates|}}} | | data4 = {{{coordinates|}}} | ||
− | |||
− | |||
− | | | + | | label5 = Planners |
− | | | + | | data5 = {{{planners|}}} |
− | | | + | | label6 = Supposed participants |
− | | | + | | data6 = {{{ON_participants|}}} |
− | | | + | | label7 = Participants |
− | | | + | | data7 = {{{participants|}}} |
− | + | | label9 = Blamed on | |
− | | | + | | data9 = {{{ON_perpetrators|}}} |
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | | | + | | label11 = Witnessed by |
− | | | + | | data11 = {{{witnesses|}}} |
− | | | + | | label13 = Supposedly witnessed by |
− | | | + | | data13 = {{{ON_witnesses|}}} |
− | |||
− | |||
− | | | + | | label14 = Sponsors |
− | | | + | | data14 = {{{sponsors|}}} |
− | | | + | | label14 = Supposed sponsors |
− | | | + | | data14 = {{{ON_sponsors|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| label38 = Target | | label38 = Target | ||
| data38 = {{{target|}}} | | data38 = {{{target|}}} | ||
+ | |||
+ | | label39 = Type | ||
+ | | data39 = {{{type|}}} | ||
| label40 = Weapon{{MaybePlural|{{{weapons|}}}}} | | label40 = Weapon{{MaybePlural|{{{weapons|}}}}} | ||
Line 64: | Line 59: | ||
| label42 = Injured (non-fatal) | | label42 = Injured (non-fatal) | ||
| data42 = {{{injuries|}}}{{#if: {{{fatalities_details|}}}| ({{{injuries_details|}}})}} | | data42 = {{{injuries|}}}{{#if: {{{fatalities_details|}}}| ({{{injuries_details|}}})}} | ||
+ | |||
+ | |||
+ | | label43 = Survivors | ||
+ | | data43 = {{{survivors|}}}{{#if: {{{survivors_details|}}}| ({{{survivors_details|}}})}} | ||
+ | |||
| label44 = Motive | | label44 = Motive | ||
| data44 = {{{motive|}}} | | data44 = {{{motive|}}} | ||
− | | | + | |
− | | | + | | image2 = {{{image2|}}} |
+ | | caption2 = {{{caption2|}}} | ||
Line 84: | Line 85: | ||
| data68 = {{{exposed by|}}} | | data68 = {{{exposed by|}}} | ||
− | |||
− | |||
− | | | + | | label75 = Video |
− | | | + | | data75 = {{{video|}}} |
+ | |||
− | | | + | | label81 = Interest of |
− | | | + | | data81 = {{{interest_of|}}} |
− | |||
− | |||
| label82 = Interests | | label82 = Interests | ||
Line 101: | Line 99: | ||
| label83 = Inspired | | label83 = Inspired | ||
| data83 = {{{inspired|}}} | | data83 = {{{inspired|}}} | ||
+ | |||
+ | |||
+ | |||
+ | | label99 = Also known as | ||
+ | | data99 = {{{also known as|{{{AKA|}}} }}} | ||
+ | |||
+ | | label87 = First reporter | ||
+ | | data87 = {{{first reporter|}}} | ||
+ | |||
+ | | label88 = Filmed by | ||
+ | | data88 = {{{filmed by|}}} | ||
+ | |||
+ | |||
+ | |||
| label123 = Subpage{{MaybePlural|{{{SubpageList|}}}}} | | label123 = Subpage{{MaybePlural|{{{SubpageList|}}}}} | ||
Line 109: | Line 121: | ||
<!-------------------- end CUSTOM WS PARAMETERS -----------------------> | <!-------------------- end CUSTOM WS PARAMETERS -----------------------> | ||
+ | <!-- Obsoleted 2015-02-12 | ||
+ | | label10 = Caused by | ||
+ | | data10 = {{{causes|}}} | ||
+ | |||
+ | Obsoleted 2018-02-17 | ||
+ | |||
+ | | label7 = Lead to | ||
+ | | data7 = {{{effects|}}} | ||
+ | |||
+ | | label8 = Supposedly lead to | ||
+ | | data8 = {{{ON_effects|}}} | ||
+ | |||
+ | | label14 = Supposedly caused by | ||
+ | | data14 = {{{ON_causes|}}} | ||
+ | |||
+ | | header11 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | ||
+ | | class11 = navbox-abovebelow | ||
+ | | data12 = {{{casualties1|}}} | ||
+ | | data13 = {{{casualties2|}}} | ||
+ | --> | ||
| bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | | bodystyle = {{#if:{{{WidthInEms|}}}|width: {{{WidthInEms}}}em}} | ||
| bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | | bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | ||
Line 144: | Line 176: | ||
| datastyle = text-align: left; | | datastyle = text-align: left; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| label15 = Deaths | | label15 = Deaths |
Revision as of 12:39, 17 February 2018
Blank
{{Infobox event | title = <!-- Title to display, if other than page name --> | image = | image_width = | caption = | date = <!-- {{start date|YYYY|MM|DD}} --> | time = | place = | coordinates = <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} --> | also known as = | cause = | first reporter = | filmed by = | participants = | outcome = | reported deaths = | reported injuries = | reported missing = | reported property damage = | burial = | inquiries = | inquest = | coroner = | suspects = | accused = | convicted = | charges = | verdict = | convictions = | publication bans = | litigation = | awards = | url = | blank_label = | blank_data = | blank1_label = | blank1_data = | blank2_label = | blank2_data = | website = <!-- {{URL|example.com}} --> | notes = }}
Example
Date | 14 April 1944 |
---|---|
Time | 16:15 IST (10:45 UTC) |
Location | Victoria Dock, Bombay, British India |
Coordinates | 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°ECoordinates: 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E Fatal error: The format of the coordinate could not be determined. Parsing failed. |
{{Infobox event |title=Bombay Explosion |image=Bombay-Docks-aftermath1.png |caption=Smoke billowing out of 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 |casualties1=800+ dead |casualties2=3,000 injured }}
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.
Sub-templates
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}}.
Please do not remove instances of these sub-templates.
Classes
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.
See also
The above documentation is transcluded from Template:Infobox event/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |