Jump to content

සැකිල්ල:Railway accidents and incidents/doc

විකිපීඩියා වෙතින්

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

The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of microformats on Wikipedia, please see the microformat project.

Dates will only appear if you use {{Start date}} or {{End date}} (use the former for single dates; but do not use any of these if the date is before 1583 CE). URLs will only be included if you use {{Url}}

hCalendar uses HTML classes including:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

Please do not rename or remove these classes; nor collapse nested elements which use them.

Tracking category

[සංස්කරණය]


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Railway_accidents_and_incidents/doc&oldid=688052" වෙතින් සම්ප්‍රවේශනය කෙරිණි