Template:Infobox tunnel/doc

From Wikipedia, the free encyclopedia

{{Infobox tunnel
|name        = 
|image       = 
|caption     = 
|line        = 
|location    = 
|coordinates = 
|system      = 
|status      = 
|start       = 
|end         = 
|stations    = 
|open        = 
|close       = 
|owner       = 
|operator    = 
|character   = 
|linelength  = 
|tracklength = 
|notrack     = 
|gauge       = 
|el          = 
|speed       = 
|hielevation = 
|lowelevation= 
|height      =
|grade       =
|}}

[edit] Coordinates

Use {{coord}} with display=inline,title. Give coordinates for the mid-point.

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location 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 an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

[edit] Parameters

  • name = Name of tunnel
  • image = Image file name
  • caption = Caption for image
  • line = Railway line
  • location = Location of tunnel
  • coordinates = Longitude and latitude
  • system = Railway system, either railway company, urban rail system or national railway system
  • status = If abandoned, heritage or under construction
  • start = Start location
  • end = End location
  • stations = Number of stations
  • open = Date opened
  • close = Date closed
  • owner = Owner of the tunnel
  • operator = Operator of the rolling stock
  • character = Type of operation (e.g. passenger/freight/rapid transit etc)
  • linelength = Length of the railway line through the tunnel
  • tracklength = Total length of track through the tunnel, use only if different from linelength
  • notrack = Number of tracks, usually Single or Double
  • gauge = Rail gauge, use templates
  • el = Electrified (voltage if electrified)
  • speed = Maximum permitted speed
  • hielevation = Highest elevation of tunnel
  • lowelevation= Lowest elevation of tunnel
  • height = Clearance inside the tunnel
  • grade = Grade of climb/decent
Languages