Difference between revisions of "Template:Infobox event"

From Wikispooks
Jump to navigation Jump to search
(class icon)
(fix |image_caption)
Line 111: Line 111:
 
| 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|}}}}}}}}}}}
  
| caption  = {{{caption|{{{image_caption|}}} }}}
+
| caption  = {{{image_caption|}}}
 
| imagestyle = {{#if:{{{caption|{{{image_caption|}}} }}}|border-bottom:#aaa solid 1px}}
 
| imagestyle = {{#if:{{{caption|{{{image_caption|}}} }}}|border-bottom:#aaa solid 1px}}
  

Revision as of 16:31, 4 September 2015

Template.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
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.


Casualties
800+ dead
3,000 injured
{{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