Template:Infobox rail accident/doc
It contains usage information, categories and other content that is not part of the original template page.
This template renders a compact infobox for railway accidents and incidents (collisions, derailments, level-crossing crashes). It is dependency-light (no Lua, no TemplateStyles) and suppresses empty rows automatically.
Usage
Place this at the top of the article:
{{Infobox rail accident | title = | image = | image_alt = | image_caption= | date = | time = | timezone = | location = | country = | coordinates = {{coord|…|…|display=inline}} | line = | operator = | type = | trains = | vehicles = | cause = | summary = | deaths = | injuries = | missing = | damage = | participants = | notes = }}
Parameters
- title
- Custom title. Defaults to the page name if omitted.
- image
- File name only, for example Example.jpg (no File: prefix needed inside the template call).
- image_alt
- Concise alt text for accessibility.
- image_caption
- Short caption displayed under the image.
- date
- Event date, for example 5 July 2025.
- time
- Local time, for example 09:00.
- timezone
- Time zone, for example CAT (UTC+2).
- location
- Crossing/site plus district and province.
- country
- Country name (e.g., Zambia).
- coordinates
- Use {{coord}} with display=inline.
- line
- Railway line (e.g., Tanzania–Zambia Railway).
- operator
- Operating authority (e.g., TAZARA).
- type
- Incident type (e.g., Level-crossing collision, Derailment).
- trains
- Number/description of trains involved.
- vehicles
- Road vehicles involved, if any (e.g., 1 (Toyota Noah)).
- cause
- Proximate cause when reliably reported.
- summary
- One-line summary if needed.
- deaths / fatalities
- Number of deaths (either field works).
- injuries / injured
- Number of injuries (either field works).
- missing
- Number missing, if applicable.
- damage
- Rolling stock or infrastructure damage; estimate if known.
- participants
- Free text, e.g., “TAZARA train; Toyota Noah (13 occupants)”.
- notes
- Any brief extra notes.
Notes
- This template’s internal code uses
{{!}}
to safely emit pipe characters inside parser functions. On this wiki, ensure {{!}} exists with the content|
. - Empty parameters produce no rows.
- If you don’t need rail-specific fields, {{Infobox event}} is a simpler alternative.
Example
{{Infobox rail accident | title = Mpika minivan–train crash | date = 5 July 2025 | time = ~09:00 | timezone = CAT (UTC+2) | location = Kasenga Rail Crossing, Mpika District, Muchinga Province | country = Zambia | coordinates = {{coord|−11.834|31.452|display=inline}} | line = Tanzania–Zambia Railway (TAZARA) | operator = Tanzania–Zambia Railway Authority (TAZARA) | type = Level-crossing collision | trains = 1 | vehicles = 1 (Toyota Noah minivan; 13 occupants) | cause = Minivan failed to stop at crossing (reported) | deaths = 9 | injuries = 5 | participants = TAZARA train; Toyota Noah minivan }}
TemplateData
Infobox for railway accidents/incidents (collisions, derailments, level-crossing crashes). Dependency-light and suppresses empty rows.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Custom infobox title (defaults to page name). | String | optional |
Image | image | File name only, e.g., Example.jpg | String | optional |
Image alt | image_alt | Alt text for accessibility. | String | optional |
Image caption | image_caption | Caption under the image. | String | optional |
Date | date | Event date, e.g., 5 July 2025. | String | optional |
Time | time | Local time, e.g., 09:00. | String | optional |
Time zone | timezone | Time zone label, e.g., CAT (UTC+2). | String | optional |
Location | location | Crossing/site and district/province. | String | optional |
Country | country | Country name. | String | optional |
Coordinates | coordinates | Use {{coord|...|display=inline}}. | String | optional |
Line | line | Railway line. | String | optional |
Operator | operator | Operating authority/company. | String | optional |
Incident type | type | e.g., Level-crossing collision, Derailment. | String | optional |
Trains | trains | Number/description of trains involved. | String | optional |
Road vehicles | vehicles | Road vehicles involved. | String | optional |
Cause | cause | Proximate cause when reliably reported. | String | optional |
Summary | summary | One-line description. | String | optional |
Deaths | deaths fatalities | Number of deaths. | Number | optional |
Injuries | injuries injured | Number of injuries. | Number | optional |
Missing | missing | Number missing, if applicable. | Number | optional |
Damage | damage | Equipment/infrastructure damage or estimate. | String | optional |
Participants | participants | Actors involved (free text). | String | optional |
Notes | notes | Any brief extra notes. | String | optional |