Template:Infobox UK rail accident

From Wikipedia, the free encyclopedia

{{{title}}}
Details
Date and time: {{{date}}}
Location: {{{location}}}
Statistics
List of UK rail accidents by year
[edit] Template documentation

Contents

[edit] Useage

{{infobox UK rail accident 
 | image=        [[Image:xxx.jpg|250px|]]
 | title=             
 | date=     
 | location=  
 | coordinates=  
 | line =     
 | cause=     
 | trains=       
 | pax=       
 | deaths=    
 | injuries=  
 }} 

[edit] Mandatory fields

Title, date and location fields are required; all others are optional.

[edit] Coordinates

For coordinates, use {{coord}} with display=inline,title

[edit] 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 article 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).

hCalendar uses HTML classes including:

  • "dtend"
  • "dtstart"
  • "location"
  • "summary"
  • "vevent"