Difference between revisions of "Template:Infobox civilian attack"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
m (Injuries -> Injured, per request)
 
(137 intermediate revisions by 54 users not shown)
Line 1: Line 1:
<div style="position:fixed; width=2000; height=2000; left:0%; top:0%; overflow:visible;">
+
{{Infobox
<table border=2>
+
| bodyclass  = vevent
<tr><td bgcolor=black><center></center>
+
| aboveclass = summary
 +
| abovestyle = font-size:130%;
 +
| above      = {{{title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 +
| subheader2 = {{#if:{{{partof|}}}|Part of {{{partof|}}}}}
 +
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}} |size={{{image_size|}}}|upright={{{image_upright|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 +
| caption    = {{{caption|}}}
 +
| image2    = {{#invoke:InfoboxImage|InfoboxImage |image={{{map|}}} |size={{{map_size|}}} |upright={{{map_upright|}}}|sizedefault=250px |alt={{{map_alt|}}} }}
 +
| caption2  = {{{map_caption|}}}
 +
| subheader  = {{{subheader|}}}
  
<tr>
+
| label1    = Native&nbsp;name
<td bgcolor=black><center><font size="+2" color=white>
+
|  data1    = {{#if:{{{native_name|}}}|<span {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
This is the Zodiac speaking. I have the password of an admin saved on my computer. I guessed it and saved it right away. I will be using it around noon PDT, unless you fellows can guess which account it is and block it. PS: The below code has my social security number in it.
 
  
澤未金毛金毛澤未辰木火土金水卯毛亥辰水申金戌午東火眼丑眼澤火澤澤火亥毛辰戌寅澤東東火眼戌火澤水戌卯火土眼東火戌手申火火手未金戌水金酉酉金手戌澤火辰寅土丑毛土辰眼澤辰火金戌水火土金眼午丑辰毛澤戌火東眼金戌水丑寅辰澤澤辰未戌澤水水火辰戌眼戌巳火澤辰未酉毛辰辰酉未毛亥澤金土火金金卯辰戌戌丑火戌火辰眼水戌辰毛酉辰火未手毛澤丑眼火澤毛毛辰戌金未手澤東眼火金戌水澤辰未丑戌辰毛水毛澤澤戌土水毛水未辰澤丑澤辰水戌澤毛毛金戌水亥金戌眼水酉午辰戌水毛午手澤金未辰未澤土東辰戌寅毛澤卯毛辰東寅辰水金戌水未辰澤午水澤丑辰澤毛辰東眼火酉手金酉辰寅澤土辰辰火丑眼毛土毛東辰辰水寅卯金毛未澤辰毛手辰澤金寅毛金未辰澤戌澤火毛丑澤金水戌澤火戌亥辰金寅毛手辰澤巳火酉水酉戌土水丑午火澤辰毛眼戌金土澤毛金未酉手金酉金寅丑戌午寅水東澤火眼戌眼丑金辰東金火毛澤丑亥土戌水東眼火火東眼亥毛毛火辰未酉辰澤巳水午亥金殺毛酉水毛辰酉金手酉辰寅眼戌酉水毛辰毛殺戌未辰手金戌水午戌申金東水寅卯毛辰辰眼戌火寅火申巳火毛土澤丑辰澤火東卯金戌手酉酉金辰寅辰澤寅澤辰丑澤未戌水澤辰未子水東丑戌辰未澤寅辰酉寅金丑火戌辰戌金亥戌巳水申毛澤金未戌毛澤東酉辰眼酉丑水丑戌東寅東丑火眼火戌戌土午土水金東寅澤卯金毛毛巳酉亥午丑卯水澤未水澤毛澤坐在在莊嚴肅穆在一個沉悶皮膚黝黑船塢在毒藥監獄與生活長鎖等待的感覺很短夏普休克從個便宜的插話持菜刀對個大黑塊
+
| label2    = Location
 +
| class2    = location
 +
| data2      = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|{{{location|}}} }}
  
 +
| label3    = [[Geographic coordinate system|Coordinates]]
 +
| data3      = {{{coordinates|}}}
  
[[Image:Celtic-style crossed circle.svg|thumb|center|250px|]]
+
| label4    = Date
</font>
+
| data4      = {{#invoke:WikidataIB|getValue|P585|name=date|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|{{{date|}}} {{#if:{{{time|}}}|<br/>{{{time}}}}}{{#if:{{{time-begin|}}}|<br/>{{{time-begin}}}&nbsp;– {{{time-end}}}}} {{#if:{{{timezone|}}}|({{{timezone}}})}} }}
 +
 
 +
| label5    = Target
 +
| data5      = {{{target|}}}
 +
 
 +
| label6    = {{longitem|Attack type}}
 +
| data6      = {{{type|}}}
 +
 
 +
| label7    = Weapon{{#if:{{{weapon|}}} | |s}}
 +
| data7      = {{#if:{{{weapon|}}}|{{{weapon}}}|{{{weapons|}}}}}
 +
 
 +
| label8    = Deaths
 +
| data8      = {{{fatalities|}}}
 +
 
 +
| label9    = Injured
 +
| data9      = {{{injuries|}}}
 +
 
 +
| label10    = {{#if:{{{victims|}}}|Victims|Victim}}
 +
| data10    = {{#if:{{{victims|}}}|{{{victims}}}|{{{victim|}}}}}
 +
 
 +
| label11    = {{#if:{{{perpetrators|{{{perps|}}}}}}|Perpetrators|Perpetrator}}
 +
| data11    = {{#if:{{{perpetrators|{{{perps|}}}}}}|{{{perpetrators|{{{perps}}}}}}|{{{perpetrator|{{{perp|}}}}}}}}
 +
 
 +
| label12    = {{#if:{{{assailants|}}}|Assailants|Assailant}}
 +
| data12    = {{#if:{{{assailants|}}}|{{{assailants}}}|{{{assailant|}}}}}
 +
 
 +
| label13    = {{#if:{{{numparts|}}}|{{longitem|{{abbr|No.|Number}}&nbsp;of participants}}|Participant}}
 +
| data13    = {{#if:{{{numparts|}}}|{{{numparts}}}|{{{numpart|}}}}}
 +
 
 +
| label14    = {{#if:{{{dfens|}}}|Defenders|Defender}}
 +
| data14    = {{#if:{{{dfens|}}}|{{{dfens}}}|{{{dfen|}}}}}
 +
 
 +
| label15    = Motive
 +
| data15    = {{{motive|}}}
 +
 
 +
| label16    = {{#if:{{{inquiries|}}}|Inquiries|Inquiry}}
 +
| data16    = {{#if:{{{inquiries|}}}|{{{inquiries}}}|{{{inquiry|}}}}}
 +
 
 +
| label17    = {{#if:{{{coroners|}}}|Coroners|Coroner}}
 +
| data17    = {{#if:{{{coroners|}}}|{{{coroners}}}|{{{coroner|}}}}}
 +
 
 +
| label18    = Accused
 +
| data18    = {{{accused|}}}
 +
 
 +
| label19    = Convicted
 +
| data19    = {{{convicted|}}}
 +
 
 +
| label20    = Verdict
 +
| data20    = {{{verdict|}}}
 +
 
 +
| label21    = Convictions
 +
| data21    = {{{convictions|}}}
 +
 
 +
| label22    = Charges
 +
| data22    = {{{charges|}}}
 +
 
 +
| label23    = Litigation
 +
| data23    = {{{litigation|}}}
 +
 
 +
| label24    = Website
 +
| data24    = {{{website|}}}
 +
 
 +
| header25 = {{{module|}}}
 +
 
 +
| data26    = {{#if:{{{notes|}}} |<div style="border-top:1px solid #aaa;font-size:90%;">{{{notes}}}</div>}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox civilian attack with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox civilian attack]] with unknown parameter "_VALUE_"|ignoreblank=y| accused | alt | assailant | assailants | caption | charges | convicted | convictions | coordinates | coroner | coroners | date | dfen | dfens | fatalities | fetchwikidata | image | image_size | image_upright | injuries | inquiries | inquiry | litigation | location | map | map_alt | map_caption | map_size | map_upright | module | motive | native_name | native_name_lang | notes | numpart | numparts | onlysourced | partof | perp | perpetrator | perpetrators | perps | subheader | suppressfields | target | time | time-begin | time-end | timezone | title | type | verdict | victim | victims | weapon | weapons | website }}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:23, 30 November 2019

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

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
[[Category:Infobox templates|Template:Remove first word]]
{{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