Шаблон:Картка залізничний інцидент

Картка залізничний інцидент
{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]

Використання

[ред. код]
{{{name}}}
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright={{{image_upright}}}|{{{caption}}}]]
{{{caption}}}
Дата{{{date}}}
Час{{{time}}}
Місце{{{location}}}
0 км (0 миля) {{{location-dir}}} from {{{location-city}}}
Кординати{{{coordinates}}}
Країна{{{country}}}
Залізнична лінія{{{line}}}
Оператор{{{operator}}}
Служба{{{service}}}
Тип інцидента{{{type}}}
Причина{{{cause}}}
Статистика
Поїздів{{{trains}}}
Пасажирів{{{pax}}}
Членів екіпажу{{{crew}}}
Загиблих{{{deaths}}}
Поранених{{{injuries}}}
Руйнування{{{damage}}}
{{{map_name}}}
{{{map}}}
{{{footnotes}}}
{{Картка залізничний інцидент | title =  | image =  | image_upright =  | image_alt =  | caption =  | map_type =  | map =  | AlternativeMap =  | map_alt =  | map_overlay =  | map_dot_label =  | map_size =  | map_caption =  | date =  | time =  | location =  | coordinates =  | country =  | line =  | operator =  | service =  | type =  | cause =  | location-dist =  | location-dir =  | location-city =  | location-dist-mi =  | trains =  | pax =  | crew =  | deaths =  | injuries =  | damage =  | map_state =  | map_name =  | footnotes =  }} 

All parameters are necessary with the exception of those marked :

Секція зображень

[ред. код]
  • image – name of the image file (e.g. Train-disaster-photo.jpg).
  • image_upright – image scaling factor.
  • image_alt – alternative text describing the image (see WP:ALTTEXT).
  • caption – a caption to explain the image, if needed (not to state the obvious).

Секція деталей

[ред. код]
  • title – name of the rail incident, usually the same as the title of the article
  • date – date of the incident in plain text (e.g. 1 January 1980 or January 1, 1980; depending on local custom)
  • time – time of the incident
  • location – location (suburb) of where the incident occurred, wiki-linked for convenience if necessary (e.g. [[Camp Mountain, Queensland]])

    Місце розташування

    [ред. код]

    The following should all be used together, however location-dist (or location-dist-mi) is the element to cause this to work/appear:

    • location-dist – direct distance (not rail distance) from capital city as a plain number, limited to two decimal points (e.g. 49.53, 49.5 or 50; no need to be too accurate with decimal points if distance is some hundreds of kilometers away, e.g. 349 not 349.1)
      • location-dist-mi – as above, but where metric measurements are not used; will return a conversion of miles into kilometers
    • location-dir – direction from capital city as a simple letter abbreviation (e.g. N, NW or NNW)
    • location-city – name of capital city of the state the incident occurred in, wiki-linked and piped if necessary for convenience (e.g. [[Brisbane]] or [[Perth, Western Australia|]]) – pipe the location if the link contains the country, and use country below
  • country – provide the country
  • line – railway line the incident occurred on, wiki-linked and piped for convenience if an article has been created for it (e.g. [[Metra Electric Line]])
  • operator – operator of the train in the incident
  • service – rail service involved in the incident
  • type – type of incident (e.g. Derailment)
  • cause – cause of the incident if officially found/released (e.g. Excessive speed)

Секція статистики

[ред. код]
  • trains – number of trains involved in the incident
  • pax – number of passengers on-board
  • crew – number of crew on-board
  • deaths – number of deaths due to the incident (usually passengers on the train and crew)
  • injuries – number of injured due to the incident (usually passengers on the train and crew)
  • damage – damage caused by the incident

Секція маршруту на карті

[ред. код]
  • map - bottom section for map image, no shorthanded codes provided like the image parameter, so you need to write the complete file embedding syntax to display the image or video. If you want to instead display the map created by Project:Route diagram templates, begin the map with {{BS-table3}} and end it with {{!)}}. For indicating the crash site, you can overlay the spot with   (INCIDO) icon.
  • map_name - map section title. "Route map" by default.
  • map_state - collapsing state of the map section. Shown by default, entry collapsed to default hidden map section when the page is loaded. This entry MUST come after map parameter to be functional.

Кординати

[ред. код]

Use |coordinates= with {{coord}} to provide the coordinates of where the incident occurred. For example, {{Coord|-27.3972|152.8956|display=inline,title}}. When using |display=inline,title, as in this example, these coordinates will be displayed in the infobox and at the top of the article, above the infobox. If the article is not about the rail accident described in the template, omit title, using only |display=inline.

Повний список

[ред. код]
{{Картка залізничний інцидент | title            =  | image            =  | image_alt        =  | image_upright    =  | caption          =  | date             =  | time             =  | location         =  | location-dist    =  | location-dist-mi =  | location-dir     =  | location-city    =  | coordinates      = <!-- {{Coord|LAT|LONG|type:event|display=inline,title}} --> | country          =  | line             =  | operator         =  | type             =  | cause            =  | trains           =  | pax              =  | crew             =  | deaths           =  | injuries         =  | damage           =  | map              =  | map_name         =  | map_state        =  }}

Приклад

[ред. код]
Зіткнення високошвидкісних поїздів у Веньчжоу
Картка залізничний інцидент (Китайська Народна Республіка)
Картка залізничний інцидент
На карті
Дата23 липня 2011
Час20:34 (CST)
МісцеВеньчжоу, Чжецзян
КраїнаКНР
Залізнична лініяЗалізниця Нінбо — Тайчжоу
Тип інцидентаЗіткнення, сходження з колії
ПричинаЗнеструмлення через удар блискавки (попередньо)
Статистика
Поїздів2
Загиблих39
Пораненихпонад 100
Схема дільниці (спрощено)
Up arrow Ханчжоу-Південна
Нінбо (на реконструкції)
Нінбо-Східна
Юнцзя
↓Маршрути D301 і D3115
р. Оу
Місце аварії
Веньчжоу-Південна
Down arrow Фучжоу
{{Картка залізничний інцидент |title = Зіткнення високошвидкісних поїздів у Веньчжоу |image =  |caption = |map_type = Китай |date = 23 липня 2011 |time = 20:34 (CST) |location =  [[Веньчжоу]], [[Чжецзян]] |location-dist = |location-dist-mi = |location-dir = |location-city = |coordinates = <!-- {{coord|28|00|48|N|120|35|24|E|display=inline}} --> |country = КНР |line = [[Залізниця Нінбо — Тайчжоу]] |operator = |type = Зіткнення, сходження з колії |cause = Знеструмлення через [[блискавка|удар блискавки]] <small>(попередньо)</small> |trains = 2 |pax = |deaths = 39 |injuries = понад 100 |damage = |map_name=Схема дільниці <small>(спрощено)</small> |map={{BS-table3}} {{BS|CONTg||{{Rmr||Licon=u|Ханчжоу-Південна|enclosed=no}}}} {{BS|eBHF||Нінбо <small>(на реконструкції)</small>}} {{BS|BHF||Нінбо-Східна}} {{BS|LSTR}} {{BS|HST||Юнцзя}} {{BS|STR||↓Маршрути D301 і D3115}} {{BS3|WASSERq|hKRZWae|WASSERq||<small>р. [[Оу (річка)|Оу]]</small>}} {{BS5|dLCONTgq|ABZq+r|KRZo|ABZq+l|dLCONTfq||}} {{BS3|STR|STR|O2=INCIDO|STR||'''Місце аварії'''}} {{BS3|STRl|ABZg+r|STR|}} {{BS3||ABZg+l|STRr|}} {{BS|BHF||[[Веньчжоу-Південна]]}} {{BS|CONTf||{{Rmr||Licon=d|Фучжоу|enclosed=no}}}} {{!)}} }}

Див. також

[ред. код]