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

From blackwiki
Jump to navigation Jump to search
imported>IceWelder
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(32 intermediate revisions by 19 users not shown)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
{{High-use|3228}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:WikidataIB|Module:Check for unknown parameters}}
  
 
== Usage ==
 
== Usage ==
{{Parameter names example|title|partof|image|image_size|alt|caption|map|map_size|map_alt|map_caption|location|coordinates|date|time|time-begin|time-end|timezone|target|type|weapon|weapons|fatalities|injuries|victims|victim|perps|perp|perpetrators|perpetrator|susperps|susperp|numparts|numpart|dfens|dfen|motive|website|notes}}
+
{{Parameter names example|title|native_name|partof|image|image_size|image_upright|alt|caption|map|map_size|map_alt|map_caption|location|coordinates|date|time|time-begin|time-end|timezone|target|type|weapon|weapons|fatalities|injuries|victims|victim|perps|perp|perpetrators|perpetrator|numparts|numpart|dfens|dfen|motive|website|notes}}
 
<pre>
 
<pre>
 
{{Infobox civilian attack
 
{{Infobox civilian attack
| title =  
+
| title         =  
| partof =  
+
| partof       =  
| image =  
+
| image         =  
| image_size =  
+
| image_size   =
| alt =  
+
| image_upright =
| caption =  
+
| alt           =  
| map =  
+
| caption       =  
| map_size =  
+
| map           =  
| map_alt =  
+
| map_size     =  
| map_caption =  
+
| map_alt       =  
| location =  
+
| map_caption   =  
| target =  
+
| location     =  
| coordinates =  
+
| target       =  
| date = <!-- {{start date|YYYY|MM|DD}}-<br />{{end date|YYYY|MM|DD}} -->
+
| coordinates   =  
| time =  
+
| date         = <!-- {{start date|YYYY|MM|DD}}-<br />{{end date|YYYY|MM|DD}} -->
| timezone =  
+
| time         =  
| type =  
+
| timezone     =  
| fatalities =  
+
| type         =  
| injuries =  
+
| fatalities   =  
| victims = <!-- or | victim = -->
+
| injuries     =  
| perpetrators = <!-- or | perpetrator = --> <!-- alias: | perps = or | perp = -->
+
| victims       = <!-- or | victim = -->
| assailants = <!-- or | assailant = -->
+
| perpetrators = <!-- or | perpetrator = --> <!-- alias: | perps = or | perp = -->
| susperps = <!-- or | susperp = -->
+
| assailants   = <!-- or | assailant = -->
| weapons =  
+
| weapons       =  
| numparts = <!-- or | numpart = -->
+
| numparts     = <!-- or | numpart = -->
| dfens = <!-- or | dfen = -->
+
| dfens         = <!-- or | dfen = -->
| motive =  
+
| motive       =
| website = <!-- {{URL|example.com}} -->
+
| inquiry      =
| module =
+
| coroner      =
 +
| accused      =
 +
| convicted    =
 +
| verdict      =
 +
| convictions  =
 +
| charges      =
 +
| litigation    =  
 +
| website       = <!-- {{URL|example.com}} -->
 +
| module       =
 
}}
 
}}
 
</pre>
 
</pre>
Line 43: Line 53:
 
| image = WTC 1993 ATF Commons.jpg
 
| image = WTC 1993 ATF Commons.jpg
 
| caption = Underground damage after the bombing
 
| caption = Underground damage after the bombing
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[United States]]
+
| 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}}
 
| 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]]
+
| target = [[World Trade Center (1973–2001)|World Trade Center]]
 
| date = February 26, 1993
 
| date = February 26, 1993
 
| time = 12:17:37 p.m.
 
| time = 12:17:37 p.m.
| timezone = [[UTC-05:00]]
+
| timezone = [[UTC−05:00]]
 
| type = [[Car bomb|Truck bombing]], [[mass murder]]
 
| type = [[Car bomb|Truck bombing]], [[mass murder]]
 
| fatalities = 6
 
| fatalities = 6
Line 61: Line 71:
 
| image = WTC 1993 ATF Commons.jpg
 
| image = WTC 1993 ATF Commons.jpg
 
| caption = Underground damage after the bombing
 
| caption = Underground damage after the bombing
| location = [[World Trade Center (1973-2001)|World Trade Center]], [[New York City]], [[United States]]
+
| 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}}
 
| 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]]
+
| target = [[World Trade Center (1973–2001)|World Trade Center]]
 
| date = February 26, 1993
 
| date = February 26, 1993
 
| time = 12:17:37 p.m.
 
| time = 12:17:37 p.m.
| timezone = [[UTC-05:00]]
+
| timezone = [[UTC−05:00]]
 
| type = [[Car bomb|Truck bombing]], [[mass murder]]
 
| type = [[Car bomb|Truck bombing]], [[mass murder]]
 
| fatalities = 6
 
| fatalities = 6
Line 81: Line 91:
 
* '''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
 
* '''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:
 
* '''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, 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)
+
:* '''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 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, Oregon|Portland]] is not good; [[Portland, Oregon|Portland]], [[United States|USA]] is not good either; [[Portland, Oregon|Portland]], [[Oregon]] (well-known state) or [[Portland, Oregon|Portland]], [[Oregon]], [[United States|USA]] is preferred
+
:* '''Cities with common names:''' [[Portland, Oregon|Portland]] is not good; [[Portland, Oregon|Portland]], U.S. is not good either. [[Portland, Oregon]] (well-known state) or [[Portland, Oregon]], U.S. is preferred; these two forms cannot be mistaken for [[Portland, Maine]] or any other city sharing the name Portland
* '''date''' – The date of the attack; use {{tl|start date}} to allow for users' date preferences to go into effect and include the date in the hCalendar microformat (see below; use {{tl|end date}} for multi-day events).
+
:  Will be fetched from Wikidata ({{Wikidata entity link|P276}}, if available) if not locally set
 +
* '''date''' – The date of the attack; use {{tl|start date}} to allow for users' date preferences to go into effect and include the date in the hCalendar microformat (see below; use {{tl|end date}} for multi-day events). Will be fetched from Wikidata ({{Wikidata entity link|P585}}, if available) if not locally set
  
 
== Optional fields ==
 
== Optional fields ==
* '''partof''' – a terror campaign containing the civilian attack event described in the article.
+
* '''native_name''' – the native name of the event, if different
* '''image''' – An image associated with the event; do not precede the image name with ''Image:'' or ''File:''
+
* '''native_name_lang''' – [[ISO 639-2]] code for the native name e.g. 'fr' for French.  For an event with more than one native name, use {{tlx|lang|XX|...}} for each name with {{tl|plainlist}} or {{tl|unbulleted list}} separating the names.
* '''image_size''' – Size of main image in pixels ('''Do not include "px"'''). Default 250. Example format — image_size = 150
+
* '''partof''' – a violent 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:''. Will be fetched from Wikidata ({{Wikidata entity link|P18}}, if available) if not locally set
 +
* '''image_size''' – Size of main image in pixels ('''Do not include "px"'''). Default 250. Example format — image_size = 150. For most cases, '''image_upright''' should be used instead, per [[WP:IMGSIZE]].
 +
* '''image_upright''' – Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
 
* '''alt''' – Alt text for the image, for visually impaired readers. See [[WP:ALT]]. This should be specified if '''image''' is specified.
 
* '''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
+
* '''caption''' – A caption for the image. Will be fetched from Wikidata ({{Wikidata entity link|P2096}}, if available) if not locally set
* '''map''' – A {{tl|location map}} or map image
+
* '''map''' – A {{tlg|location map}} or map image
 
* '''map_caption''' – A caption for the map
 
* '''map_caption''' – A caption for the map
 
* '''target''' – The target and/or purpose of the attack
 
* '''target''' – The target and/or purpose of the attack
* '''coordinates''' – geographical coordinates. Use {{tl|coord}} with ''|display=inline,title''
+
* '''coordinates''' – geographical coordinates. Use {{tlg|coord}} with ''|display=inline,title''.  Will be fetched from Wikidata ({{Wikidata entity link|P625}}, if available) if not locally set
* '''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''' – 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'')
+
* '''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
+
* '''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.)
 
* '''type''' – The type of attack (e.g. [[suicide bombing]], [[mass shooting]], etc.)
 
* '''weapons''' – Weapons used in attacks (this field should not be over-used)
 
* '''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'')
 
* '''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)
 
* '''injuries''' – Number of people injured (excludes those killed) during attack(s)
* '''victims''' or '''victim''' – e.g. hostages, etc. (use '''victim''' for one person)
+
* '''victims''' – i.e. hostages, etc. (use '''victim''' in case of a single person)
* '''perpetrators''' or '''perpetrator''' – The groups responsible for the criminal attack (use '''perpetrator''', in case of a single group). Aliases: '''perp''' and '''perps'''
+
* '''perpetrators''' – The group that brings about or carries out a harmful, illegal, or immoral act (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).
+
* '''assailants''' – Those responsible for physically attacking others. (use '''assailant''' 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''' – Number of participants in the attack on the part of the perps (use '''numpart''' 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''' – Those who defended or repelled the attack, or were responsible for the immediate aftermath (use '''defen''' 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
 
* '''motive''' – The motive, the reason why the attack was carried out
 
* '''website''' – Official websites (e.g. inquests/ inquiries, trials, commemoration or memorials) only. Use {{tl|URL}}
 
* '''website''' – Official websites (e.g. inquests/ inquiries, trials, commemoration or memorials) only. Use {{tl|URL}}
 
* '''module''' – See [[#Embedding other templates|Embedding other templates]]
 
* '''module''' – See [[#Embedding other templates|Embedding other templates]]
 +
* '''inquiry''' - May be an [[inquest]] or other official inquiry
 +
* '''coroner''' - Where coronial, the coroner appointed
 +
* '''accused'''
 +
* '''convicted'''
 +
* '''verdict'''
 +
* '''convictions'''
 +
* '''charges'''
 +
* '''litigation'''
  
 
== Coordinates ==
 
== Coordinates ==
Line 129: Line 150:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
== TemplateData ==
 +
{{Collapse top|[[Wikipedia:TemplateData|TemplateData]]}}
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "Infobox for an attack on civilians",
 +
"format": "{{_\n| ________________ = _\n}}\n",
 +
"params": {
 +
"title": {
 +
"label": "Title",
 +
"description": "The title of the attack. Most likely the same as article title, but can be different if necessary.",
 +
"type": "line",
 +
"required": true
 +
},
 +
"partof": {
 +
"label": "Part of",
 +
"description": "A violent campaign containing the civilian attack event described in the article",
 +
"type": "string"
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "An image associated with the event; do not precede the image name with Image: or File:. Will be fetched from Wikidata (image (P18), if available) if not locally set.",
 +
"type": "wiki-file-name"
 +
},
 +
"image_size": {
 +
"label": "Image size",
 +
"description": "Size of main image in pixels (do not include \\\"px\\\"). For most cases, image_upright should be used instead, per WP:IMGSIZE.",
 +
"example": "150",
 +
"type": "number",
 +
"default": "250"
 +
},
 +
"image_upright": {
 +
"label": "Image upright",
 +
"description": "Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).",
 +
"type": "number"
 +
},
 +
"alt": {
 +
"label": "Alt",
 +
"description": "Alt text for the image, for visually impaired readers. See WP:ALT. This should be specified if image is specified.",
 +
"type": "string"
 +
},
 +
"caption": {
 +
"label": "Caption",
 +
"description": "A caption for the image. Will be fetched from Wikidata (media legend (P2096), if available) if not locally set.",
 +
"type": "string"
 +
},
 +
"map": {
 +
"label": "Map",
 +
"description": "A {{location map}} or map image",
 +
"type": "string"
 +
},
 +
"map_size": {
 +
"description": "Size of map in pixels (do not include \\\"px\\\"). For most cases, map_upright should be used instead, per WP:IMGSIZE.",
 +
"example": "150",
 +
"type": "number",
 +
"default": "250",
 +
"autovalue": "",
 +
"label": "Map size"
 +
},
 +
"map_upright": {
 +
"label": "Map upright",
 +
"description": "Scales the map thumbnail from its default size by the given factor. Values less than 1 scale the map down (0.9 = 90%) and values greater than 1 scale the map up (1.15 = 115%).",
 +
"type": "number"
 +
},
 +
"map_alt": {
 +
"label": "Map alt",
 +
"description": "Alt text for the map, for visually impaired readers. See WP:ALT. This should be specified if map is specified.",
 +
"type": "string"
 +
},
 +
"map_caption": {
 +
"label": "Map caption",
 +
"description": "A caption for the map",
 +
"type": "string"
 +
},
 +
"subheader": {
 +
"label": "Subheader",
 +
"description": "Additional title field that fits below {{{title}}} but before images",
 +
"type": "string"
 +
},
 +
"native_name": {
 +
"label": "Native name",
 +
"description": "The native name of the event, if different",
 +
"type": "string"
 +
},
 +
"native_name_lang": {
 +
"label": "Native name language",
 +
"description": "ISO 639-2 code for the native name, e.g. 'fr' for French. For an event with more than one native name, use {{lang|XX|...}} for each name, with {{plainlist}} or {{unbulleted list}} separating the names.",
 +
"type": "string"
 +
},
 +
"suppressfields": {
 +
"label": "Suppress fields",
 +
"description": "Suppress fields",
 +
"type": "string"
 +
},
 +
"fetchwikidata": {
 +
"label": "Fetch wiki data",
 +
"description": "Fetch wiki data",
 +
"type": "string"
 +
},
 +
"onlysourced": {
 +
"label": "Only sourced",
 +
"description": "Only sourced",
 +
"type": "string"
 +
},
 +
"location": {
 +
"label": "Location",
 +
"description": "The physical place, perhaps a specific aircraft 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.",
 +
"type": "string",
 +
"required": true
 +
},
 +
"coordinates": {
 +
"label": "Coordinates",
 +
"description": "Geographical coordinates. Use {{coord}} with |display=inline,title. Will be fetched from Wikidata (coordinate location (P625), if available) if not locally set.",
 +
"type": "string"
 +
},
 +
"date": {
 +
"label": "Date",
 +
"description": "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). Will be fetched from Wikidata (point in time (P585), if available) if not locally set.",
 +
"type": "line",
 +
"required": true
 +
},
 +
"time": {
 +
"label": "Time",
 +
"description": "The time of the attack or multiple attacks if they all occurred at the same time (do not use this along with time-begin and time-end).",
 +
"type": "string"
 +
},
 +
"time-begin": {
 +
"label": "Time begin",
 +
"description": "The start time, if a series of attacks (do not use this along with time).",
 +
"type": "string"
 +
},
 +
"time-end": {
 +
"label": "Time end",
 +
"description": "The end time, if a series of attacks (do not use this along with time).",
 +
"type": "string"
 +
},
 +
"timezone": {
 +
"label": "Timezone",
 +
"description": "The timezone of the location of the attack(s); UTC+X, UTC−X or UTC (i.e., offset from UTC) preferred.",
 +
"type": "string"
 +
},
 +
"target": {
 +
"label": "Target",
 +
"description": "The target and/or purpose of the attack",
 +
"type": "string"
 +
},
 +
"type": {
 +
"label": "Type of attack",
 +
"description": "The type of attack (e.g., suicide bombing, mass shooting, etc.)",
 +
"type": "string"
 +
},
 +
"weapon": {
 +
"label": "Weapon",
 +
"description": "Weapon used in the attack(s) if singular (this field should not be overused). Use \\\"weapons\\\" for multiple.",
 +
"type": "string"
 +
},
 +
"weapons": {
 +
"label": "Weapons",
 +
"description": "Weapons used in the attack(s) if multiple (this field should not be overused). Use \\\"weapon\\\" for singular.",
 +
"type": "string"
 +
},
 +
"fatalities": {
 +
"label": "Fatalities",
 +
"description": "Number of people killed during the attack(s); optionally, you can split this into different types of people (e.g., 121 passengers, 21 crew or 3 soldiers, 1 civilian)",
 +
"type": "string"
 +
},
 +
"injuries": {
 +
"label": "Injuries",
 +
"description": "Number of people injured (excludes those killed) during the attack(s)",
 +
"type": "string"
 +
},
 +
"victims": {
 +
"label": "Victims",
 +
"description": "I.e. hostages, etc. (use victim in case of a single person)",
 +
"type": "string"
 +
},
 +
"victim": {
 +
"label": "Victim",
 +
"description": "I.e. hostage, etc. (use victims in case of multiple people)",
 +
"type": "string"
 +
},
 +
"perpetrators": {
 +
"aliases": [
 +
"perps"
 +
],
 +
"label": "Perpetrators",
 +
"description": "The group that brought about the attack (use perpetrator in case of a single group).",
 +
"type": "string"
 +
},
 +
"perpetrator": {
 +
"aliases": [
 +
"perp"
 +
],
 +
"label": "Perpetrator",
 +
"description": "The person that brought about the attack (use perpetrators in case of multiple people).",
 +
"type": "string"
 +
},
 +
"assailants": {
 +
"label": "Assailants",
 +
"description": "Those responsible for physically attacking others (use assailant in case of a single person).",
 +
"type": "string"
 +
},
 +
"assailant": {
 +
"label": "Assailant",
 +
"description": "The person responsible for physically attacking others (use assailants in case of multiple people).",
 +
"type": "string"
 +
},
 +
"numparts": {
 +
"label": "Number of participants",
 +
"description": "Number of participants in the attack on the part of the perps (use numpart in case of a single person).",
 +
"type": "string"
 +
},
 +
"numpart": {
 +
"label": "Number of participants (singular)",
 +
"description": "Number of participants in the attack on the part of the perps (use numparts in case of multiple people).",
 +
"type": "string"
 +
},
 +
"dfens": {
 +
"label": "Defenders",
 +
"description": "Those who defended or repelled the attack or were responsible for the immediate aftermath (use defen in case of a single person).",
 +
"type": "string"
 +
},
 +
"dfen": {
 +
"label": "Defender",
 +
"description": "Someone who defended or repelled the attack or was responsible for the immediate aftermath (use dfens in case of multiple people)",
 +
"type": "string"
 +
},
 +
"motive": {
 +
"label": "Motive",
 +
"description": "The motive; the reason why the attack was carried out",
 +
"type": "string"
 +
},
 +
"inquiries": {
 +
"label": "Inquiries",
 +
"description": "May be an inquest or other official inquiry (use \\\"inquiry\\\" for singular inquiry)",
 +
"type": "string"
 +
},
 +
"inquiry": {
 +
"label": "Inquiry",
 +
"description": "May be an inquest or other official inquiry (use \\\"inquiries\\\" for multiple inquiries)",
 +
"type": "string"
 +
},
 +
"coroners": {
 +
"label": "Coroners",
 +
"description": "Where coronial, the coroners appointed (use \\\"coroner\\\" for a singular person)",
 +
"type": "string"
 +
},
 +
"coroner": {
 +
"label": "Coroners",
 +
"description": "Where coronial, the coroner appointed (use \\\"coroners\\\" for multiple people)",
 +
"type": "string"
 +
},
 +
"accused": {},
 +
"convicted": {},
 +
"verdict": {},
 +
"convictions": {},
 +
"charges": {},
 +
"litigation": {},
 +
"website": {},
 +
"module": {},
 +
"notes": {}
 +
},
 +
"paramOrder": [
 +
"title",
 +
"location",
 +
"date",
 +
"partof",
 +
"image",
 +
"image_size",
 +
"image_upright",
 +
"alt",
 +
"caption",
 +
"map",
 +
"map_size",
 +
"map_upright",
 +
"map_alt",
 +
"map_caption",
 +
"subheader",
 +
"native_name",
 +
"native_name_lang",
 +
"suppressfields",
 +
"fetchwikidata",
 +
"onlysourced",
 +
"coordinates",
 +
"time",
 +
"time-begin",
 +
"time-end",
 +
"timezone",
 +
"target",
 +
"type",
 +
"weapon",
 +
"weapons",
 +
"fatalities",
 +
"injuries",
 +
"victims",
 +
"victim",
 +
"perpetrators",
 +
"perpetrator",
 +
"assailants",
 +
"assailant",
 +
"numparts",
 +
"numpart",
 +
"dfens",
 +
"dfen",
 +
"motive",
 +
"inquiries",
 +
"inquiry",
 +
"coroners",
 +
"coroner",
 +
"accused",
 +
"convicted",
 +
"verdict",
 +
"convictions",
 +
"charges",
 +
"litigation",
 +
"website",
 +
"module",
 +
"notes"
 +
]
 +
}</templatedata>
 +
{{Collapse bottom}}
  
 
== Microformats ==
 
== Microformats ==
 
{{UF-hcal-geo}}
 
{{UF-hcal-geo}}
  
{{intricate}}
+
== Tracking category ==
 +
* {{clc|Pages using infobox civilian attack with unknown parameters}}
  
<includeonly>
+
== See also ==
 +
* {{tl|Infobox event}}
 +
* {{tl|Infobox civil conflict}}
 +
* {{tl|Infobox military conflict}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!--Categories-->
 
 
[[Category:Law infobox templates|Civilian attack]]
 
[[Category:Law infobox templates|Civilian attack]]
[[Category:Attacks|z]]
 
 
[[Category:Events infobox templates|Civilian attack]]
 
[[Category:Events infobox templates|Civilian attack]]
 
+
[[Category:Infobox templates with module parameter|Civilian attack]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
[[Category:Templates that add a tracking category]]
</includeonly>
+
}}</includeonly>

Latest revision as of 18:17, 25 April 2020

Usage

Template:Parameter names example

{{Infobox civilian attack
| title         = 
| partof        = 
| image         = 
| image_size    = 
| image_upright =
| 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 = -->
| weapons       = 
| numparts      = <!-- or | numpart = -->
| dfens         = <!-- or | dfen = -->
| motive        = 
| inquiry       = 
| coroner       = 
| accused       = 
| convicted     = 
| verdict       = 
| convictions   = 
| charges       = 
| litigation    = 
| website       = <!-- {{URL|example.com}} -->
| module        =
}}

Example

1993 World Trade Center bombing
WTC 1993 ATF Commons.jpg
Underground damage after the bombing
LocationWorld Trade Center, New York City, United States
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
DateFebruary 26, 1993
12:17:37 p.m. (UTC−05:00)
TargetWorld Trade Center
Attack type
Truck bombing, mass murder
Deaths6
Injured1,042
Perpetratoral-Qaeda
AssailantsRamzi Yousef, Eyad Ismoil, and co-conspirators
MotiveIslamic 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:
Will be fetched from Wikidata (Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276), if available) if not locally set

Optional fields

  • native_name – the native name of the event, if different
  • native_name_langISO 639-2 code for the native name e.g. 'fr' for French. For an event with more than one native name, use {{lang|XX|...}} for each name with {{plainlist}} or {{unbulleted list}} separating the names.
  • partof – a violent 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:. Will be fetched from Wikidata (Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P18), if available) if not locally set
  • image_size – Size of main image in pixels (Do not include "px"). Default 250. Example format — image_size = 150. For most cases, image_upright should be used instead, per WP:IMGSIZE.
  • image_upright – Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
  • 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. Will be fetched from Wikidata (Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P2096), if available) if not locally set
  • 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. Will be fetched from Wikidata (Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P625), if available) if not locally set
  • 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 – i.e. hostages, etc. (use victim in case of a single person)
  • perpetrators – The group that brings about or carries out a harmful, illegal, or immoral act (use perpetrator in case of a single group). Aliases: perp and perps
  • assailants – Those responsible for physically attacking others. (use assailant in case of a single person)
  • numparts – Number of participants in the attack on the part of the perps (use numpart in case of a single person)
  • dfens – 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
  • inquiry - May be an inquest or other official inquiry
  • coroner - Where coronial, the coroner appointed
  • accused
  • convicted
  • verdict
  • convictions
  • charges
  • litigation

Coordinates

Template:UF-coord

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' -->
 ...
 }}
}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox civilian attack

Infobox for an attack on civilians

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Titletitle

The title of the attack. Most likely the same as article title, but can be different if necessary.

Linerequired
Locationlocation

The physical place, perhaps a specific aircraft 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.

Stringrequired
Datedate

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). Will be fetched from Wikidata (point in time (P585), if available) if not locally set.

Linerequired
Part ofpartof

A violent campaign containing the civilian attack event described in the article

Stringoptional
Imageimage

An image associated with the event; do not precede the image name with Image: or File:. Will be fetched from Wikidata (image (P18), if available) if not locally set.

Fileoptional
Image sizeimage_size

Size of main image in pixels (do not include \"px\"). For most cases, image_upright should be used instead, per WP:IMGSIZE.

Default
250
Example
150
Numberoptional
Image uprightimage_upright

Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).

Numberoptional
Altalt

Alt text for the image, for visually impaired readers. See WP:ALT. This should be specified if image is specified.

Stringoptional
Captioncaption

A caption for the image. Will be fetched from Wikidata (media legend (P2096), if available) if not locally set.

Stringoptional
Mapmap

A {{location map}} or map image

Stringoptional
Map sizemap_size

Size of map in pixels (do not include \"px\"). For most cases, map_upright should be used instead, per WP:IMGSIZE.

Default
250
Example
150
Auto value
Numberoptional
Map uprightmap_upright

Scales the map thumbnail from its default size by the given factor. Values less than 1 scale the map down (0.9 = 90%) and values greater than 1 scale the map up (1.15 = 115%).

Numberoptional
Map altmap_alt

Alt text for the map, for visually impaired readers. See WP:ALT. This should be specified if map is specified.

Stringoptional
Map captionmap_caption

A caption for the map

Stringoptional
Subheadersubheader

Additional title field that fits below {{{title}}} but before images

Stringoptional
Native namenative_name

The native name of the event, if different

Stringoptional
Native name languagenative_name_lang

ISO 639-2 code for the native name, e.g. 'fr' for French. For an event with more than one native name, use {{lang|XX|...}} for each name, with {{plainlist}} or {{unbulleted list}} separating the names.

Stringoptional
Suppress fieldssuppressfields

Suppress fields

Stringoptional
Fetch wiki datafetchwikidata

Fetch wiki data

Stringoptional
Only sourcedonlysourced

Only sourced

Stringoptional
Coordinatescoordinates

Geographical coordinates. Use {{coord}} with |display=inline,title. Will be fetched from Wikidata (coordinate location (P625), if available) if not locally set.

Stringoptional
Timetime

The time of the attack or multiple attacks if they all occurred at the same time (do not use this along with time-begin and time-end).

Stringoptional
Time begintime-begin

The start time, if a series of attacks (do not use this along with time).

Stringoptional
Time endtime-end

The end time, if a series of attacks (do not use this along with time).

Stringoptional
Timezonetimezone

The timezone of the location of the attack(s); UTC+X, UTC−X or UTC (i.e., offset from UTC) preferred.

Stringoptional
Targettarget

The target and/or purpose of the attack

Stringoptional
Type of attacktype

The type of attack (e.g., suicide bombing, mass shooting, etc.)

Stringoptional
Weaponweapon

Weapon used in the attack(s) if singular (this field should not be overused). Use \"weapons\" for multiple.

Stringoptional
Weaponsweapons

Weapons used in the attack(s) if multiple (this field should not be overused). Use \"weapon\" for singular.

Stringoptional
Fatalitiesfatalities

Number of people killed during the attack(s); optionally, you can split this into different types of people (e.g., 121 passengers, 21 crew or 3 soldiers, 1 civilian)

Stringoptional
Injuriesinjuries

Number of people injured (excludes those killed) during the attack(s)

Stringoptional
Victimsvictims

I.e. hostages, etc. (use victim in case of a single person)

Stringoptional
Victimvictim

I.e. hostage, etc. (use victims in case of multiple people)

Stringoptional
Perpetratorsperpetrators perps

The group that brought about the attack (use perpetrator in case of a single group).

Stringoptional
Perpetratorperpetrator perp

The person that brought about the attack (use perpetrators in case of multiple people).

Stringoptional
Assailantsassailants

Those responsible for physically attacking others (use assailant in case of a single person).

Stringoptional
Assailantassailant

The person responsible for physically attacking others (use assailants in case of multiple people).

Stringoptional
Number of participantsnumparts

Number of participants in the attack on the part of the perps (use numpart in case of a single person).

Stringoptional
Number of participants (singular)numpart

Number of participants in the attack on the part of the perps (use numparts in case of multiple people).

Stringoptional
Defendersdfens

Those who defended or repelled the attack or were responsible for the immediate aftermath (use defen in case of a single person).

Stringoptional
Defenderdfen

Someone who defended or repelled the attack or was responsible for the immediate aftermath (use dfens in case of multiple people)

Stringoptional
Motivemotive

The motive; the reason why the attack was carried out

Stringoptional
Inquiriesinquiries

May be an inquest or other official inquiry (use \"inquiry\" for singular inquiry)

Stringoptional
Inquiryinquiry

May be an inquest or other official inquiry (use \"inquiries\" for multiple inquiries)

Stringoptional
Coronerscoroners

Where coronial, the coroners appointed (use \"coroner\" for a singular person)

Stringoptional
Coronerscoroner

Where coronial, the coroner appointed (use \"coroners\" for multiple people)

Stringoptional
Accusedaccused

no description

Unknownoptional
Convictedconvicted

no description

Unknownoptional
Verdictverdict

no description

Unknownoptional
Convictionsconvictions

no description

Unknownoptional
Chargescharges

no description

Unknownoptional
Litigationlitigation

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Modulemodule

no description

Unknownoptional
Notesnotes

no description

Unknownoptional

Microformats

Template:UF-hcal-geo

Tracking category

See also