Difference between revisions of "Template:Infobox civilian attack/doc"
Jump to navigation
Jump to search
imported>IceWelder m (→Usage) |
(non-correct category) |
||
| Line 139: | Line 139: | ||
<!--Categories--> | <!--Categories--> | ||
[[Category:Law infobox templates|Civilian attack]] | [[Category:Law infobox templates|Civilian attack]] | ||
| − | |||
[[Category:Events infobox templates|Civilian attack]] | [[Category:Events infobox templates|Civilian attack]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
</includeonly> | </includeonly> | ||
Revision as of 19:56, 25 July 2016
| This is a documentation subpage for Template:Infobox civilian attack. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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}} -->
| module =
}}
Example
| 1993 World Trade Center bombing | |
|---|---|
![]() Underground damage after the bombing | |
| Location | World Trade Center, New York City, United States |
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
| Date | February 26, 1993 12:17:37 p.m. (UTC-05:00) |
| Target | World Trade Center |
Attack type | Truck bombing, mass murder |
| Deaths | 6 |
| Injured | 1,042 |
| Perpetrator | al-Qaeda |
| Assailants | Ramzi Yousef, Eyad Ismoil, and co-conspirators |
| Motive | Islamic fundamentalism, American foreign policy, U.S. support for Israel |
{{Infobox civilian attack
| title = 1993 World Trade Center bombing
| image = WTC 1993 ATF Commons.jpg
| caption = Underground damage after the bombing
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[United States]]
| coordinates = {{coord|40.711452|N|74.011919|W|region:US-NY_type:event|display=title,inline}}
| target = [[World Trade Center (1973-2001)|World Trade Center]]
| date = February 26, 1993
| time = 12:17:37 p.m.
| timezone = [[UTC-05:00]]
| type = [[Car bomb|Truck bombing]], [[mass murder]]
| fatalities = 6
| injuries = 1,042
| perp = [[al-Qaeda]]
| assailants = [[Ramzi Yousef]], [[Eyad Ismoil]], and co-conspirators
| motive = [[Islamic fundamentalism]], [[American foreign policy]], [[Israel–United States military relations#Military aid and procurement|U.S. support for 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:
- Major, international cities: Tokyo is okay, but Tokyo, Japan is preferred unless it compromises stylistic appearance
- Major cities in well-known provinces: Toronto, Ontario, Canada is unnecessarily specific; Toronto, Ontario or Toronto, Canada is preferred (although Toronto is okay)
- Cities with relative international anonymity: Beslan is not good due to the city's relative anonymity; Beslan, Russia is preferred; Beslan, North Ossetia–Alania is discouraged; Beslan, North Ossetia–Alania, Russia is unnecessarily specific
- Cities with common names: Portland is not good; Portland, USA is not good either; Portland, Oregon (well-known state) or Portland, Oregon, USA is preferred
- 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 bombing, mass shooting, 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 – The groups responsible for the criminal attack (use perpetrator, in case of a single group). Aliases: perp and perps
- assailants or assailant – Those responsible for the criminal attack (use perpetrator, in case of a single person).
- 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}}
- module – See Embedding other templates
Coordinates
Embedding other templates
The module= parameter can be used for embedding other templates into this infobox (see Wikipedia:Infobox modules):
{{Infobox civilian attack
| name =
...
| module = {{Infobox ABC
| embed = yes <!-- or 'child=yes' or 'subbox=yes' -->
...
}}
}}
Microformats
| 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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
