Template:Infobox civilian attack

From Wikipedia, the free encyclopedia

{{{title}}}

{{{caption}}}
Location {{{location}}}
Coordinates {{{coordinates}}}
Date {{{date}}}
Attack type {{{type}}}
Weapon(s) {{{weapons}}}
Deaths {{{fatalities}}}
Injured {{{injuries}}}
Perpetrator(s) {{{perps}}}
Suspected perpetrator(s) {{{susperps}}}
[edit] Template documentation

Contents

[edit] Usage

{{Infobox civilian attack
| title      = 
| image      = 
| caption    = 
| location   = 
| coordinates = 
| date       = 
| time       = 
| timezone   = 
| type       = 
| fatalities = 
| injuries   = 
| perps      = 
| perp       = 
| susperps   = 
| susperp    = 
| weapons    = 
}}

[edit] Example

World Trade Center bombing
World Trade Center bombing
The aftermath of the bombing
Location World Trade Center, New York City, New York
Coordinates 40°42′42″N 74°00′45″W / 40.71167, -74.0125Coordinates: 40°42′42″N 74°00′45″W / 40.71167, -74.0125
Date February 26, 1993 (1993-02-26)
12:17pm (UTC-5)
Attack type car bombing; attempted release of sodium cyanide
Deaths 6
Injured at least 1,000
Perpetrator(s) Islamist terrorists, notably Ramzi Yousef
{{Infobox civilian attack
| title       = World Trade Center bombing
| image       = WTC_1993_ATF_Commons.jpg
| caption     = The aftermath of the bombing
| location    = [[World Trade Center]], [[New York City]], [[New York]]
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:landmark||display=inline,title}}
| date        = {{Start date|1993|02|26}}
| time        = 12:17pm
| timezone    = [[UTC]]-5
| type        = [[car bomb]]ing; attempted release of [[sodium cyanide]]
| fatalities  = 6
| injuries    = at least 1,000
| perps       = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
}}

For all fields, no wikilinks are automatically incorporated into the infobox. Therefore, if you want anything to be linked to something else, they must be added when including the template.

[edit] Required fields

  • title - A title for the attack; most likely this will match the article title, but you can change it to something slightly different if the title is a little over-descriptive
  • location - The physical place, perhaps a specific airplane or building (multiple targets are allowed, of course), including the city, where the attack occurred; including the country is preferred for cities; including the province or state is discouraged unless necessary or well-known:
  • date - The date of the attack; use {{Start date}} to allow for users' date preferences to go into effect and include the date in the hCalendar microformat (see below; end-date and time parameters will be added to the microformat, later).

[edit] Optional fields

  • image - An image associated with the event; do not precede the image name with Image:
  • caption - A caption for the image
  • coordinates - geographical coordinates. Use {{coord}} with |display=inline,title
  • time - The time of the attack(s), if all targets occurred at the same time (do not use this along with time-begin and time-end)
  • time-begin and time-end - The start and end times, respectively, if the series of attacks (do not use this along with time)
  • timezone - The timezone of the location of the attack(s); UTC+X, UTC-X, or UTC (i.e. offset from UTC) preferred
  • type - The type of attack (i.e. Suicide bombings, Bioterrorism, etc)
  • weapons - Weapons used in attacks (this field should not be over-used)
  • fatalities - Number of people killed during attack(s); optionally, you can split this into different types of people (i.e. 121 passengers, 21 crew or 3 soldiers, 1 civilian)
  • injuries - Number of people injured (excludes those killed) during attack(s)
  • perps - Those responsible for the attack
  • perp - Alternative for perps, in case of a single person, only shown if "perps" is not used
  • susperps - Those who are currently believed to have committed the attack(s)
  • susperp - Alternative for susperps, in case of a single person, only shown if "susperps" is not used

[edit] Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

[edit] Microformats

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 article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary applciation. Within the hCalendar is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates).

hCalendar uses HTML classes including:

  • "dtend"
  • "dtstart"
  • "location"
  • "summary"
  • "vevent"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.