الگو:Infobox rail accident
ظاهر
این الگو از لوآ استفاده میکند: |
Usage
[ویرایش][[پرونده:{{{image}}}|بیقاب|جایگزین={{{image_alt}}}|ایستاده={{{image_upright}}}|{{{caption}}}]] | |||
تاریخ | {{{date}}} | ||
---|---|---|---|
زمان | {{{time}}} | ||
موقعیت | {{{location}}} ۰ کیلومتر (۰ مایل) {{{location-dir}}} from {{{location-city}}} | ||
مختصات | {{{coordinates}}} | ||
کشور | {{{country}}} | ||
خط آهن | {{{line}}} | ||
متصدی | {{{operator}}} | ||
نوع برخورد | {{{type}}} | ||
علت | {{{cause}}} | ||
آمار | |||
قطارها | {{{trains}}} | ||
خدمه | {{{crew}}} | ||
درگذشتگان | {{{deaths}}} | ||
مجروحان | {{{injuries}}} | ||
آسیبدیدگان | {{{damage}}} | ||
| |||
{{{footnotes}}} |
{{Infobox rail accident | 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 = | 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 section
[ویرایش]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 ویکیپدیا:متن جایگزین برای تصاویر).caption
† – a caption to explain the image, if needed (not to state the obvious).
Details section
[ویرایش]title
– name of the rail incident, usually the same as the title of the articledate
– date of the incident in plain text (e.g. 1 January 1980 or January 1, 1980; depending on local custom)time
– time of the incidentlocation
– location (suburb) of where the incident occurred, wiki-linked for convenience if necessary (e.g.[[Camp Mountain, Queensland]]
)
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
or50
; no need to be too accurate with decimal points if distance is some hundreds of kilometers away, e.g.349
not349.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
orNNW
)location-city
– name of capital city of the state the incident occurred in, wiki-linked and piped if necessary for convenience (e.g.[[بریزبن]]
or[[پرت (استرالیا)|]]
) – pipe the location if the link contains the country, and usecountry
below
Location placement
[ویرایش]The following should all be used together, however location-dist
(or location-dist-mi
) is the element to cause this to work/appear:
country
– provide the countryline
– 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 incidenttype
– type of incident (e.g.Derailment
)cause
† – cause of the incident if officially found/released (e.g.Excessive speed
)
Statistics section
[ویرایش]trains
– number of trains involved in the incidentpax
† – number of passengers on-boardcrew
† – number of crew on-boarddeaths
– 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
Route map section
[ویرایش]map
† - bottom section for map image, no shorthanded codes provided like theimage
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 aftermap
parameter to be functional.
Coordinates
[ویرایش]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
.
Complete list
[ویرایش]{{Infobox rail accident | 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 = }}
Example
[ویرایش]تاریخ | 23 July 2011 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
زمان | 20:34 (CST) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
موقعیت | ونژو, چجیانگ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
مختصات | ۲۸°۰۰′۴۸″ شمالی ۱۲۰°۳۵′۲۴″ شرقی / ۲۸٫۰۱۳۳۳°شمالی ۱۲۰٫۵۹۰۰۰°شرقی | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
کشور | China | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
خط آهن | Ningbo–Taizhou–Wenzhou Railway Part of Hangzhou–Fuzhou–Shenzhen PDL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
نوع برخورد | Collision, derailment | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
علت | Power loss due to lightning strike (preliminary) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
آمار | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
قطارها | 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
درگذشتگان | 39 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
مجروحان | More than 100 people | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{Infobox rail accident |title = Wenzhou high speed train collision |image = Wenzhou PDL wreck at night.jpg |caption = An image of the wreck; after the collision, four cars of the rear train fell off the Ou River bridge, slamming into the ground more than {{Convert|20|m|0|abbr=on}} below |map_type = China |map_type = China |date = 23 July 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 = China |line = [[Ningbo–Taizhou–Wenzhou Railway]]<br />Part of [[Hangzhou–Fuzhou–Shenzhen Passenger Dedicated Line|Hangzhou–Fuzhou–Shenzhen PDL]] |operator = |type = Collision, derailment |cause = Power loss due to [[lightning strike]] (preliminary) |trains = 2 |pax = |deaths = 39 |injuries = More than 100 people |damage = |map_name=[[Ningbo–Taizhou–Wenzhou Railway|Yongtaiwen Railway]] route map (simplified) |map={{BS-table3}} {{BS|||{{RoutemapRoute||Licon=u|[[Hangyong Passenger Railway|''Hangyong Railway'']] to [[Hangzhou East Railway Station|Hangzhou East]] (u.c.)|enclosed=no}}}} {{BS|CONTg||{{RoutemapRoute||Licon=u|[[Xiaoyong Railway]] to [[Hangzhou South Railway Station|Hangzhou South]]|enclosed=no}}}} {{BS|eBHF||[[Ningbo Railway Station|''Ningbo'']] (refurbishing)}} {{BS|BHF||[[Ningbo East Railway Station|Ningbo East]]}} {{BS|LSTR}} {{BS|HST||[[Yongjia Railway Station|Yongjia]]}} {{BS|STR||↓Direction of D301 and D3115}} {{BS3|WASSERq|hKRZWae|WASSERq||[[Ou River (Zhejiang)|Ou River]]}} {{BS3|ABZq+r|KRZo|ABZq+l||[[Jinwen Railway]]}} {{BS3|STR|STR|O2=INCIDO|STR||'''Crash site'''}} {{BS3|STRl|ABZg+r|STR|}} {{BS3||ABZg+l|STRr|}} {{BS|BHF||[[Wenzhou South Railway Station|Wenzhou South]]}} {{BS|CONTf||{{RoutemapRoute||Licon=d|[[Wenzhou–Fuzhou Railway|Wenfu Railway]] to [[Wenzhou South Railway Station|Wenzhou South]]|enclosed=no}}}} {{!}}} }}