الگو:Infobox civilian attack

از ویکی‌پدیا، دانشنامهٔ آزاد
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage[ویرایش]

{{{title}}}
بخشی‌ از {{{partof}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
[[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]]
{{{map_caption}}}
نام محلی{{{native_name}}}
موقعیت{{{location}}}
مختصات{{{coordinates}}}
تاریخ{{{date}}}
{{{time}}}
{{{time-begin}}} – {{{time-end}}} ({{{timezone}}})
هدف{{{target}}}
نوع هدف
{{{type}}}
اسلحه{{{weapon}}}
درگذشته‌ها{{{fatalities}}}
مجروحان{{{injuries}}}
قربانی‌ها{{{victims}}}
مرتکب‌ها{{{perpetrators}}}
تعداد مرتکب‌ها
{{{numparts}}}
مدافع‌ها{{{dfens}}}
انگیزه{{{motive}}}
وبگاه{{{website}}}
{{{notes}}}
{{Infobox civilian attack
| title         = 
| partof        = 
| image         = 
| image_size    = 
| image_upright =
| alt           = 
| caption       = 
| map           = 
| map_size      = 
| map_alt       = 
| map_caption   = 
| location      = 
| target        = 
| coordinates   = 
| date          = <!-- {{تاریخ آغاز|YYYY|MM|DD}}-<br />{{تاریخ پایان|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       = <!-- {{نشانی وب|example.com}} -->
| module        =
}}

Example[ویرایش]

1993 World Trade Center bombing
WTC 1993 ATF Commons.jpg
Underground damage after the bombing
موقعیتمرکز تجارت جهانی (۱۹۷۳–۲۰۰۱), New York City, United States
مختصات۴۰°۴۲′۴۱″شمالی ۷۴°۰۰′۴۳″غربی / ۴۰٫۷۱۱۴۵۲°شمالی ۷۴٫۰۱۱۹۱۹°غربی / 40.711452; -74.011919
تاریخFebruary 26, 1993
12:17:37 p.m. (یوتی‌سی ۵:۰۰-)
هدفمرکز تجارت جهانی (۱۹۷۳–۲۰۰۱)
نوع هدف
خودرو انفجاری, کشتار جمعی
درگذشته‌ها6
مجروحان1,042
مرتکبالقاعده
همدست‌هارمزی یوسف, Eyad Ismoil, and co-conspirators
انگیزهبنیادگرایی اسلامی, سیاست خارجی ایالات متحده آمریکا, 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 = [[مرکز تجارت جهانی (۱۹۷۳–۲۰۰۱)]], New York City, United States
| coordinates = {{Coord|40.711452|N|74.011919|W|region:US-NY_type:event|display=title,inline}}
| target = [[مرکز تجارت جهانی (۱۹۷۳–۲۰۰۱)]]
| date = February 26, 1993
| time = 12:17:37 p.m.
| timezone = [[یوتی‌سی ۵:۰۰-]]
| type = [[خودرو انفجاری]], [[کشتار جمعی]]
| fatalities = 6
| injuries = 1,042
| perp = [[القاعده]]
| assailants = [[رمزی یوسف]], [[Eyad Ismoil]], and co-conspirators
| motive = [[بنیادگرایی اسلامی]], [[سیاست خارجی ایالات متحده آمریکا]], [[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 (مکان کنونی (P276), if available) if not locally set
  • 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). Will be fetched from Wikidata (زمان رویداد (P585), if available) if not locally set

Optional fields[ویرایش]

  • native_name – the native name of the event, if different
  • native_name_langایزو ۲–۶۳۹ 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 (نگاره (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 ویکی‌پدیا:سیاست استفاده از تصاویر.
  • 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 ویکی‌پدیا:متن جایگزین برای تصاویر. This should be specified if image is specified.
  • caption – A caption for the image. Will be fetched from Wikidata (توضیحات نگاره (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 (مختصات جغرافیایی (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 ساعت هماهنگ جهانی) preferred
  • type – The type of attack (e.g. حمله انتحاری, تیراندازی کور, 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[ویرایش]

برای مختصات‌دهی، از الگوی {{coord}} به همراه دستور display=inline,title استفاده کنید. لطفاً از درج مختصات بسیار دقیق خودداری کنید.

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[ویرایش]

Microformats[ویرایش]

The HTML markup 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 application. 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 be included if you use {{Start date}} or {{End date}} (use the former for single dates, but do not use any of these if the date is before 1583 CE). {{End date}} requires that a time be specified, but display of this time may be suppressed by adding |nodate=yes to the end.

To include a URL, use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent

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

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.
Also, when giving coordinates, please don't be overly precise.

Tracking category[ویرایش]

See also[ویرایش]