සැකිල්ල:Railway accidents and incidents
මෙම සැකිල්ල පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
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
[සංස්කරණය]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.