Template:Infobox tunnel

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
Information box for Tunnels
For roads and other: For rail: For waterways:
{{Infobox tunnel
|name         = 
|image        = 
|image_size   = 
|caption      = 
|location     = 
|coordinates  = 
|route        = 
|status       = 
|start        = 
|end          = 
|startwork    = 
|open         = 
|close        = 
|owner        = 
|operator     = 
|traffic      = 
|character    = 
|toll         = 
|vpd          =
|construction = 
|length       = 
|lanes        = 
|speed        = 
|hielevation  = 
|lowelevation = 
|height       = 
|width        = 
|grade        = 
}}
{{Infobox tunnel
|name         = 
|image        = 
|image_size   = 
|caption      = 
|line         = 
|location     = 
|coordinates  = 
|system       = 
|status       = 
|start        = 
|end          = 
|stations     = 
|startwork    = 
|open         = 
|close        = 
|owner        = 
|operator     = 
|traffic      = 
|character    = 
|construction =
|length       =
|linelength   = 
|tracklength  = 
|notrack      = 
|gauge        = 
|el           = 
|speed        = 
|hielevation  = 
|lowelevation = 
|height       =
|grade        =
}}
{{Infobox tunnel
|name         = 
|image        = 
|image_size   = 
|caption      = 
|waterway     = 
|location     = 
|coordinates  = 
|os_grid_ref  = 
|start        = 
|end          = 
|owner        = 
|engineer     = 
|length       = 
|width        = 
|height       = 
|depth        = 
|passable     = 
|towpath      = 
|construction = 
|open         = 
|rebuilt      = 
|closed       = 
|status       = 
}}

Coordinates[change source]

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

Microformat[change source]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location 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 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.

Sub-templates[change source]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

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

  • geo
  • latitude
  • longitude

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

Precision[change source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Infobox tunnel

Parameters[change source]

General fields[change source]

  • name - Name of tunnel
  • image - Image file name
  • image_size - Sets the image size, defaults to 250px. Do not include the "px".
  • caption - Caption for image
  • location - Location of tunnel
  • os_grid_ref - OS Grid Ref (UK only)
  • coordinates - Longitude and latitude
  • status - If abandoned, heritage or under construction
  • start - Start location
  • end - End location
  • open - Date opened
  • closed - Date closed
  • rebuilt - Date rebuilt
  • owner - Owner of the tunnel
  • operator - Operator of the rolling stock or roadway
  • engineer - Design Engineer
  • construction - dates tunnel was constructed
  • length - Length of tunnel
  • traffic - Type of traffic in tunnel (e.g. pedestrian, automotive, train etc.)
  • character - Type of operation (e.g. passenger, freight, rapid transit, limited access etc.)
  • speed - Maximum permitted speed
  • hielevation - Highest elevation of tunnel
  • lowelevation - Lowest elevation of tunnel
  • height - Clearance inside the tunnel
  • width - Width of tunnel
  • grade - Grade of climb/decent

Railway fields[change source]

  • line - Railway line
  • system - Railway system, either railway company, urban rail system or national railway system
  • stations - Number of stations
  • 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 - Track gauge, use templates
  • el - Electrified (voltage if electrified)

Roadway fields[change source]

  • route - What highway route the tunnel carries
  • toll - Toll amount
  • vpd - Vehicles per day
  • lanes - Number of lanes in tunnel

Waterway fields[change source]

  • waterway - Canal or River name
  • depth - Depth of water in tunnel
  • passable - Are boats able to pass in Tunnel (Yes/No)
  • towpath - Is there a towpath in tunnel (Yes/No)