Template talk:Railway accidents and incidents

Latest comment: 8 months ago by Deeday-UK in topic Source code tweak
WikiProject iconTrains: Operations / Timelines Template‑class
WikiProject iconThis template is within the scope of WikiProject Trains, an attempt to build a comprehensive and detailed guide to rail transport on Wikipedia. If you would like to participate, you can visit the project page, where you can join the project and/or contribute to the discussion. See also: WikiProject Trains to do list and the Trains Portal.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Associated projects or task forces:
Taskforce icon
This template is supported by the Operations task force.
Taskforce icon
This template is supported by the Timelines task force.

Source code tweak edit

User Jay D. Easy has come up with a useful tweak that would allow each entry in the source code to be written more naturally. Instead of:

* {{vad|align=left|Apr 12}}   [[Merano derailment|Merano derailment, Italy]]

it could be written simply as:

| Apr 12 = [[Merano derailment|Merano derailment, Italy]]

which is a lot neater and more WYSIWYG. Note that the template would render on the page in exactly the same way; this tweak is entirely 'under the bonnet/hood', and has already been adopted for the {{Aviation accidents and incidents}} template. Any objections to rolling it out here too? -- Deeday-UK (talk) 19:53, 10 September 2023 (UTC)Reply