Difference between revisions of "Template:Infobox event"
(Obsolete "Caused by") |
(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|{{{ | + | | caption = {{{caption|{{{image_caption|}}} }}} |
− | | imagestyle = {{#if:{{{caption|{{{ | + | | imagestyle = {{#if:{{{caption|{{{image_caption|}}} }}}|border-bottom:#aaa solid 1px}} |
| datastyle = text-align: left; | | datastyle = text-align: left; |
Revision as of 18:30, 4 July 2015
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
Smoke billowing out of Harbour | |
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. |
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
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. |