Difference between revisions of "Template:Infobox event"

From Wikispooks
Jump to navigation Jump to search
(Interest of)
(campfire)
 
(22 intermediate revisions by the same user not shown)
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 = Perpetrators
 
| data5  = {{{perpetrators|}}}
 
  
| label6 = Blamed&nbsp;on
+
| label5 = Planners
| data6 = {{{ON_perpetrators|}}}
+
| data5 = {{{planners|}}}
  
| label7 = Lead&nbsp;to
+
| label6 = Supposed participants
| data7 = {{{effects|}}}
+
| data6 = {{{ON_participants|}}}
  
| label8 = Supposedly lead&nbsp;to
+
| label7 = Participants
| data8 = {{{ON_effects|}}}
+
| data7 = {{{participants|}}}
  
<!-- Obsoleted 2015-02-12
+
| label8 = Perpetrators
| label10 = Caused&nbsp;by
+
| data8 = {{{perpetrators|}}}
| data10  = {{{causes|}}} -->
 
  
| header11 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}}
+
| label9 = Blamed&nbsp;on
| class11 = navbox-abovebelow
+
| data9 = {{{ON_perpetrators|}}}
| data12 = {{{casualties1|}}}
 
| data13 = {{{casualties2|}}}
 
  
| label81    = Interest&nbsp;of
+
| label11 = Witnessed&nbsp;by
| data81    = {{{interest_of|}}}
+
| data11 = {{{witnesses|}}}
 
 
| label14 = Supposedly caused by
 
| data14 = {{{ON_causes|}}}
 
  
| label99 = Also known as
+
| label13 = Supposedly witnessed&nbsp;by
| data99 = {{{also known as|{{{AKA|}}} }}}
+
| data13 = {{{ON_witnesses|}}}
  
| label87 = First reporter
 
| data87  = {{{first reporter|}}}
 
  
| label88 = Filmed by
+
| label14 = Sponsors
| data88 = {{{filmed by|}}}
+
| data14 = {{{sponsors|}}}
<!-- Was "Attack type"-->
 
| label39    = Type
 
| data39    = {{{type|}}}
 
  
<!-- Below are from "Infobox_Aircraft_occurrence" -->
+
| label15 = Supposed sponsors
| label43    = Survivors
+
| data15  = {{{ON_sponsors|}}}
| data43    = {{{survivors|}}}{{#if: {{{survivors_details|}}}| ({{{survivors_details|}}})}}
 
  
<!-- Below are from "Infobox_civilian_attack" -->
+
| label195 = Facilitates
| image2    = {{{image2|}}}
+
| data195  = {{{facilitates|}}}
| caption2  = {{{caption2|}}}
 
  
 
| label38    = Target
 
| label38    = Target
 
| data38    = {{{target|}}}
 
| data38    = {{{target|}}}
  
| label40    = Weapon(s)
+
| label39    = Type
 +
| data39    = {{{type|}}}
 +
 
 +
| label40    = Weapon{{MaybePlural|{{{weapons|}}}}}
 
| data40    = {{{weapons|}}}
 
| data40    = {{{weapons|}}}
  
 
| label41    = Deaths
 
| label41    = Deaths
| data41    = {{{fatalities|}}}{{#if: {{{fatalities_details|}}}| ({{{fatalities_details|}}})}}
+
| data41    = {{{fatalities|}}} {{#if: {{{fatalities_details|}}}| ({{{fatalities_details|}}})}}
  
 
| label42    = Injured (non-fatal)
 
| label42    = Injured (non-fatal)
| data42      = {{{injuries|}}}{{#if: {{{fatalities_details|}}}| ({{{injuries_details|}}})}}
+
| data42      = {{{injuries|}}} {{#if: {{{injuries_details|}}}| ({{{injuries_details|}}})}}
 +
 
 +
 
 +
| label43    = Survivors
 +
| data43    = {{{survivors|}}} {{#if: {{{survivors_details|}}}| ({{{survivors_details|}}})}}
 +
 
  
 
| label44    = Motive
 
| label44    = Motive
 
| data44    = {{{motive|}}}
 
| data44    = {{{motive|}}}
  
| label69    = Video
 
| data69    = {{{video|}}}
 
  
| label57 = [[Wikipedia]]&nbsp;page
+
| image2    = {{{image2|}}}
| data57  = {{WikipediaLink|{{{wikipedia|}}}|{{{wikipedia_protection|}}}}}
+
| caption2  = {{{caption2|}}}
  
| label58 = [[Spartacus]]&nbsp;page
 
| data58  = {{{spartacus|}}}
 
  
| label59 = [[History Commons]]&nbsp;page
+
| image3    = {{{image3|}}}
| data59  = {{{historycommons|}}}
+
| caption3  = {{{caption3|}}}
 +
 
  
 
| label62 = Court
 
| label62 = Court
Line 89: Line 90:
 
| data66  = {{{defendants|}}}
 
| data66  = {{{defendants|}}}
  
| label68 = Exposed&nbsp;by
+
| label68 = Exposed
| data68 = {{{exposed by|}}}
+
| data68  = {{{exposed|}}}
 +
 
 +
| label69 = Exposed&nbsp;by
 +
| data69 = {{{exposed by|}}}
 +
 
 +
 
 +
| label75    = Video
 +
| data75    = {{{video|}}}
 +
 
 +
 
 +
| label81  = Interest&nbsp;of
 +
| data81  = {{{interest_of|}}}
 +
 
 +
 
 +
| label82 = Interests
 +
| data82  = {{{interests|}}}
 +
 
 +
| label83 = Inspired
 +
| data83  = {{{inspired|}}}
  
| label71 = Witnessed&nbsp;by
+
| label90 = Abbreviation
| data71 = {{{witnesses|}}}
+
| data90 = {{{abbreviation|}}}
  
| label72 = Supposedly witnessed&nbsp;by
+
| label99 = Also known as
| data72 = {{{ON_witnesses|}}}
+
| data99 = {{{also known as|{{{AKA|}}} }}}
  
| label123    = Subpage(s)
+
| label87 = First reporter
| data123    = {{SubpageList}}
+
| data87  = {{{first reporter|}}}
  
 +
| label88 = Filmed by
 +
| data88  = {{{filmed by|}}}
 +
 +
 +
 +
 +
| label123  = Subpage{{MaybePlural|{{{SubpageList|}}}}}
 +
| data123    = {{SubpageList}}
 +
 +
| label126  = Description
 +
| data126    = {{{description|}}}
 
<!-------------------- end  CUSTOM WS PARAMETERS ----------------------->
 
<!-------------------- end  CUSTOM WS PARAMETERS ----------------------->
  
 +
<!-- Obsoleted 2015-02-12
 +
| label10 = Caused&nbsp;by
 +
| data10  = {{{causes|}}}
 +
 +
Obsoleted 2018-02-17
 +
 +
| label7 = Lead&nbsp;to
 +
| data7  = {{{effects|}}}
 +
 +
| label8 = Supposedly lead&nbsp;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 117: Line 167:
 
     }}
 
     }}
 
   }}
 
   }}
 
+
{{External icons
 +
|alchetron = {{{alchetron|}}}
 +
|campfire = {{{cavdef|}}}
 +
|cavdef = {{{cavdef|}}}
 +
|facebook = {{{facebook|}}}
 +
|historycommons = {{{historycommons|}}}
 +
|imdb = {{{imdb|}}}
 +
|isgp = {{{isgp|}}}
 +
|linkedin = {{{linkedin|}}}
 +
|namebase = {{{namebase|}}}
 +
|nndb = {{{nndb|}}}
 +
|powerbase = {{{powerbase|}}}
 +
|sourcewatch = {{{sourcewatch|}}}
 +
|spartacus = {{{spartacus|}}}
 +
|twitter =  {{{twitter|}}}
 +
|youtube = {{{youtube|}}}
 +
}}
 +
| above ={{MaybePrev}}{{DisplayAverageRating}}{{MaybeNext}}
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_width|{{{Imagesize|}}}}}}|sizedefault=frameless|upright=1.1|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}}
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_width|{{{Imagesize|}}}}}}|sizedefault=frameless|upright=1.1|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}}
  
Line 125: Line 192:
 
| datastyle = text-align: left;
 
| datastyle = text-align: left;
  
| label1 = Date
 
| data1  = {{{date|{{{Date|}}} }}}
 
 
| label2 = Time
 
| data2  = {{{time|}}}
 
 
| label3 = Location
 
| class3 = location
 
| data3  = {{{place|{{{Location|{{{location|}}} }}} }}}
 
 
| label9 = Participants
 
| data9  = {{{participants|{{{Participants|}}} }}}
 
| class9 = attendee
 
  
| label15 = Deaths
+
| label55 = Deaths
| data15 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}}
+
| data55 = {{{reported deaths|{{{reported death(s)|{{{Deaths|{{{fatalities|}}} }}} }}} }}}
  
 
| label16 = Injuries
 
| label16 = Injuries
Line 163: Line 217:
 
| data22  = {{{coroner|}}}
 
| data22  = {{{coroner|}}}
  
| label23 = Suspect(s)
+
| label23 = Suspect{{MaybePlural|{{{suspects|}}}}}
 
| data23  = {{{suspects|{{{susperps|}}} }}}
 
| data23  = {{{suspects|{{{susperps|}}} }}}
  

Latest revision as of 15:21, 1 June 2023

Template.png  Rdf-entity.pngRdf-icon.png
Template documentation[view] [edit] [history] [purge]

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

Template.png Bombay Explosion Rdf-entity.pngRdf-icon.png
Bombay-Docks-aftermath1.png
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.8449774Coordinates: 18°57′10″N 72°50′42″E / 18.9527772°N 72.8449774°E / 18.9527772; 72.8449774
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