Jump to content

User:Seoidau/Template:Infobox rail accident

From Wikipedia, the free encyclopedia
Title of rail disaster
[[Image:|282px]]
{{{caption}}}
Details
Date {{{date}}}
Location {{{location}}}
Country {{{country}}}
Rail line {{{line}}}
Operator {{{operator}}}
Type of incident {{{type}}}
Statistics
Trains {{{trains}}}
Deaths {{{deaths}}}

Elements

[edit]

All elements are necessary with the exception of those marked :

Image

[edit]
  • image – provide the name of the image file (e.g. Camp-Mountain-train-disaster-map.png) – size is automatically set to fit the width of the Infobox

Details

[edit]
  • 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]])
    Location placement
    [edit]

    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, as a "shortcut" flag template, where the incident occurred (e.g. {{UK}} [returns  United Kingdom], {{NIC}} [returns  Nicaragua], or {{AUS}} [returns  Australia]) – see Category:Flag templates
  • 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
  • type – type of incident (e.g. Derailment)
  • cause – cause of the incident if officially found/released (e.g. Excessive speed)

Statistics

[edit]
  • trains – number of trains involved in the incident
  • pax – number of passengers 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

Co-ordinates

[edit]

Use, for example, {{coord|-27.3972|152.8956|display=title}} at the bottom of the page of the incident before categories (not in the Infobox) to provide the co-ordinates of where the incident occurred which, with display=title, will be displayed at the top of the article, above the Infobox. Seoidau/Template:Infobox rail accident Seoidau/Template:Infobox rail accident