Template:Infobox rail accident/doc

Usage


All parameters are necessary with the exception of those marked †:

Image section

 *  † – name of the image file (e.g. ).
 *  † – image scaling factor.
 *  † – alternative text describing the image (see WP:ALTTEXT).
 *  † – a caption to explain the image, if needed (not to state the obvious).

Details section

 *   – name of the rail incident, usually the same as the title of the article
 *   – date of the incident in plain text (e.g. 1 January 1980 or January 1, 1980; depending on local custom)
 *   – time of the incident
 *   – location (suburb) of where the incident occurred, wiki-linked for convenience if necessary (e.g. )

Location placement
The following should all be used together, however  (or  ) is the element to cause this to work/appear: 
 *  † – direct distance (not rail distance) from capital city as a plain number, limited to two decimal points (e.g.,   or  ; no need to be too accurate with decimal points if distance is some hundreds of kilometers away, e.g.   not  )
 *  † – as above, but where metric measurements are not used; will return a conversion of miles into kilometers
 *   – direction from capital city as a simple letter abbreviation (e.g.,   or  )
 *   – 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 use   below
 *   – provide the country
 *   – railway line the incident occurred on, wiki-linked and piped for convenience if an article has been created for it (e.g. )
 *   – operator of the train in the incident
 *   – type of incident (e.g. )
 *  † – cause of the incident if officially found/released (e.g. )

Statistics section

 *   – number of trains involved in the incident
 *  † – number of passengers on-board
 *  † – number of crew on-board
 *   – number of deaths due to the incident (usually passengers on the train and crew)
 *  † – number of injured due to the incident (usually passengers on the train and crew)
 *  † – damage caused by the incident

Route map section

 *  † - bottom section for map image, no shorthanded codes provided like the   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  icon.
 *  † - map section title. "Route map" by default.
 *  † - 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  parameter to be functional.

Coordinates
Use coordinates with coord to provide the coordinates of where the incident occurred. For example,. When using, 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, using only.

Example
{{Infobox rail accident Part of Hangzhou–Fuzhou–Shenzhen PDL {{BS|||{{RoutemapRoute||Licon=u|Hangyong Railway to Hangzhou East (u.c.)|enclosed=no}}}} {{BS|CONTg||{{RoutemapRoute||Licon=u|Xiaoyong Railway to Hangzhou South|enclosed=no}}}} {{BS|eBHF||Ningbo (refurbishing)}} {{BS|BHF||Ningbo East}} {{BS|LSTR}} {{BS|HST||Yongjia}} {{BS|STR||↓Direction of D301 and D3115}} {{BS3|WASSERq|WBRÜCKE|WASSERq||Ou River}} {{BS3|ABZq+r|KRZo|ABZq+l||Jinwen Railway}} {{BS3|STR|STR|O2=INCIDO|STR||Crash site}} {{BS3|STRlf|ABZlg|STR|}} {{BS3||ABZrg|STRrf|}} {{BS|BHF||Wenzhou South}} {{BS|CONTf||{{RoutemapRoute||Licon=d|Wenfu Railway to Wenzhou South|enclosed=no}}}} {{!}}} }}  {{Infobox rail accident Part of Hangzhou–Fuzhou–Shenzhen PDL {{BS|||{{RoutemapRoute||Licon=u|Hangyong Railway to Hangzhou East (u.c.)|enclosed=no}}}} {{BS|CONTg||{{RoutemapRoute||Licon=u|Xiaoyong Railway to Hangzhou South|enclosed=no}}}} {{BS|eBHF||Ningbo (refurbishing)}} {{BS|BHF||Ningbo East}} {{BS|LUECKE}} {{BS|HST||Yongjia}} {{BS|STR||↓Direction of D301 and D3115}} {{BS3|WASSERq|WBRÜCKE|WASSERq||Ou River}} {{BS3|ABZ3lg|KRZo|ABZ3rg||Jinwen Railway}} {{BS3|STR|STR|O2=INCIDO|STR||Crash site}} {{BS3|STRlf|ABZlg|STR|}} {{BS3||ABZrg|STRrf|}} {{BS|BHF||Wenzhou South}} {{BS|CONTd||{{RoutemapRoute||Licon=d|Wenfu Railway to Wenzhou South|enclosed=no}}}} {{!}}} }}
 * title = Wenzhou high speed train collision
 * image =
 * 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
 * date = 23 July 2011
 * time = 20:34 (CST)
 * location = Wenzhou, Zhejiang
 * 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
 * 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=Yongtaiwen Railway route map (simplified)
 * map={{BS-table3}}
 * Wenzhou train collision
 * 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 = Wenzhou, Zhejiang
 * 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
 * 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=Yongtaiwen Railway route map (simplified)
 * map={{BS-table3}}