Template:Infobox tunnel/doc
This is a documentation subpage for Template:Infobox tunnel. It contains usage information, categories and other content that is not part of the original template page. |
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
Use {{coord}} with display=inline,title. Give coordinates for the mid-point.
Microformat
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
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
Parameters
General fields
- 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
- 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
- route - What highway route the tunnel carries
- toll - Toll amount
- vpd - Vehicles per day
- lanes - Amount of lanes in tunnel
Waterway fields
- 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)