Difference between revisions of "Template:Infobox civilian attack/doc"

From blackwiki
Jump to navigation Jump to search
imported>IceWelder
(→‎Usage: assailants param, clearing spacing, adding {{ to URL template)
imported>IceWelder
(→‎Example: Spacing, assailants param)
Line 39: Line 39:
 
== Example ==
 
== Example ==
 
{{Infobox civilian attack
 
{{Infobox civilian attack
| title       = World Trade Center bombing
+
| title = World Trade Center bombing
| image       = WTC 1993 ATF Commons.jpg
+
| image = WTC 1993 ATF Commons.jpg
| alt         = Pit of devastation with steel columns rising from the bottom
+
| alt = Pit of devastation with steel columns rising from the bottom
| caption     = The aftermath of the bombing
+
| caption = The aftermath of the bombing
| location   = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[New York (state)|New York]]
+
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[New York (state)|New York]]
 
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:event|display=inline}}
 
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:event|display=inline}}
| date       = {{start date|1993|02|26}}
+
| date = {{start date|1993|02|26}}
| time       = 12:17 pm
+
| time = 12:17 pm
| timezone   = [[UTC]]-5
+
| timezone = [[UTC]]-5
| type       = [[car bomb]]ing; attempted release of [[sodium cyanide]]
+
| type = [[car bomb]]ing; attempted release of [[sodium cyanide]]
| fatalities = 6
+
| fatalities = 6
| injuries   = at least 1,000
+
| injuries = at least 1,000
| perps      = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
+
| assailants = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
| motive     = U.S. support of Israel
+
| motive = U.S. support of Israel
 
}}
 
}}
 
<pre style="overflow:auto;">
 
<pre style="overflow:auto;">
 
{{Infobox civilian attack
 
{{Infobox civilian attack
| title       = World Trade Center bombing
+
| title = World Trade Center bombing
| image       = WTC 1993 ATF Commons.jpg
+
| image = WTC 1993 ATF Commons.jpg
| alt         = Pit of devastation with steel columns rising from the bottom
+
| alt = Pit of devastation with steel columns rising from the bottom
| caption     = The aftermath of the bombing
+
| caption = The aftermath of the bombing
| location   = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[New York (state)|New York]]
+
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[New York (state)|New York]]
 
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:event|display=inline,title}}
 
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:event|display=inline,title}}
| date       = {{start date|1993|02|26}}
+
| date = {{start date|1993|02|26}}
| time       = 12:17 pm
+
| time = 12:17 pm
| timezone   = [[UTC]]-5
+
| timezone = [[UTC]]-5
| type       = [[car bomb]]ing; attempted release of [[sodium cyanide]]
+
| type = [[car bomb]]ing; attempted release of [[sodium cyanide]]
| fatalities = 6
+
| fatalities = 6
| injuries   = at least 1,000
+
| injuries = at least 1,000
| perps      = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
+
| assailants = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
| motive     = U.S. support of Israel
+
| motive = U.S. support of Israel
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 14:36, 15 July 2016

Usage

Template:Parameter names example

{{Infobox civilian attack
| title = 
| partof = 
| image = 
| image_size = 
| alt = 
| caption = 
| map = 
| map_size = 
| map_alt = 
| map_caption = 
| location = 
| target = 
| coordinates = 
| date = <!-- {{start date|YYYY|MM|DD}}-<br />{{end date|YYYY|MM|DD}} -->
| time = 
| timezone = 
| type = 
| fatalities = 
| injuries = 
| victims = <!-- or | victim = -->
| perpetrators = <!-- or | perpetrator = --> <!-- alias: | perps = or | perp = -->
| assailants = <!-- or | assailant = -->
| susperps = <!-- or | susperp = -->
| weapons = 
| numparts = <!-- or | numpart = -->
| dfens = <!-- or | dfen = -->
| motive = 
| website = <!-- {{URL|example.com}} -->
}}

Example

World Trade Center bombing
Pit of devastation with steel columns rising from the bottom
The aftermath of the bombing
LocationWorld Trade Center, New York City, New York
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
DateFebruary 26, 1993 (1993-02-26)
12:17 pm (UTC-5)
Attack type
car bombing; attempted release of sodium cyanide
Deaths6
Injuredat least 1,000
AssailantsIslamist terrorists, notably Ramzi Yousef
MotiveU.S. support of Israel
{{Infobox civilian attack
| title = World Trade Center bombing
| image = WTC 1993 ATF Commons.jpg
| alt = Pit of devastation with steel columns rising from the bottom
| caption = The aftermath of the bombing
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[New York (state)|New York]]
| coordinates = {{coord|40|42|42|N|74|00|45|W|region:US-NY_type:event|display=inline,title}}
| date = {{start date|1993|02|26}}
| time = 12:17 pm
| timezone = [[UTC]]-5
| type = [[car bomb]]ing; attempted release of [[sodium cyanide]]
| fatalities = 6
| injuries = at least 1,000
| assailants = [[Islamism|Islamist]] [[terrorism|terrorists]], notably [[Ramzi Yousef]]
| motive = U.S. support of Israel
}}

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.

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; use {{end date}} for multi-day events).

Optional fields

  • partof – a terror campaign containing the civilian attack event described in the article.
  • image – An image associated with the event; do not precede the image name with Image: or File:
  • image_size – Size of main image in pixels (Do not include "px"). Default 250. Example format — image_size = 150
  • alt – Alt text for the image, for visually impaired readers. See WP:ALT. This should be specified if image is specified.
  • caption – A caption for the image
  • map – A {{location map}} or map image
  • map_caption – A caption for the map
  • target – The target and/or purpose of the attack
  • coordinates – geographical coordinates. Use {{coord}} with |display=inline,title
  • time – The time of the attack, or of multiple attacks if they all 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 a 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 (e.g. 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 (e.g. 121 passengers, 21 crew or 3 soldiers, 1 civilian)
  • injuries – Number of people injured (excludes those killed) during attack(s)
  • victims or victim – e.g. hostages, etc. (use victim for one person)
  • perpetrators or perpetrator – Those responsible for the criminal attack (use perpetrator, in case of a single person). Aliases: perp and perps
  • susperps or susperp – Those who are currently believed to have committed the attack(s) (use susperp, in case of a single person)
  • numparts or numpart – Number of participants in the attack on the part of the perps (use numpart, in case of a single person)
  • dfens or dfen – Those who defended or repelled the attack, or were responsible for the immediate aftermath (use defen, in case of a single person)
  • motive – The motive, the reason why the attack was carried out
  • website - Official websites (e.g. inquests/ inquiries, trials, commemoration or memorials) only. Use {{URL}}

Coordinates

Template:UF-coord

Microformats

Template:UF-hcal-geo