Template:Railway accidents and incidents
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
This template is the parent template of the Railway accidents and incidents in xxxx
templates, and should not be transcluded directly into articles; its child templates should.
A child template for a given year, for example {{Railway accidents and incidents in 2010}}, has the following structure:
{{Template:Railway accidents and incidents
| year = 2010
| listwidth = 25em
| list =
}}
The list
parameter should be populated with a bullet list of relevant entries using vertically-aligned dates thus:
list =
* {{vad|align=left|Jan 3}}   [[Bilecik train collision|Bilecik train collision, Turkey]]
* {{vad|align=left|Feb 15}}   [[Halle train collision|Halle train collision, Belgium]]
Only events with their own article about it (i.e. not list articles) are eligible for inclusion in this template.
The listwidth
parameter, normally set to 25em, can be increased to accommodate particularly long entries that would otherwise overlap with adjacent text, assuming it is not appropriate to shorten the entry in the first place. Bear in mind that when an entry is rendered in boldface (which happens on the entry's own page), it will take up more space than normal.
In the child template, custom previous and next years or time periods (instead of the default years displayed at the bottom of the box next to the navigation arrows, which are based on the year
parameter) can be specified by setting the parameters custom_prev_year
and custom_next_year
. For example:
custom_prev_year = 1800s
custom_next_year = 1900s
Microformat
- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.