Template:Infobox bridge/doc

< Template:Infobox bridge

Usage


{{{native_name}}}
Begins{{{starts}}}
Ends{{{ends}}}
Other name(s){{{other_name}}}
{{{id_type}}}{{{id}}}
Characteristics
Design{{{design}}}
Trough construction{{{material1}}}
Pier construction{{{material2}}}
Water depth{{{depth}}}
Traversable?{{{traversable}}}
Towpaths{{{towpath}}}
Piers in water{{{piers_in_water}}}
Load limit{{{load}}}
Clearance above{{{clearance_above}}}
No. of lanes{{{lanes}}}
Design life{{{life}}}
First section length{{{first_length}}}
First section diameter{{{first_diameter}}}
Second section length{{{second_length}}}
Second section diameter{{{second_diameter}}}
Third section length{{{third_length}}}
Third section diameter{{{third_diameter}}}
Capacity{{{capacity}}}
Rail characteristics
No. of tracks{{{num_track}}}
Structure gauge{{{structure_gauge}}}
Electrified{{{electrification}}}
History
Contracted lead designer{{{contracted_designer}}}
Successful competition design{{{winner}}}
Engineering design by{{{engineering}}}
Fabrication by{{{fabricator}}}
Built{{{built}}}
Construction start{{{begin}}}
Construction end{{{complete}}}
Rebuilt{{{rebuilt}}}
Collapsed{{{collapsed}}}
Destroyed{{{destroyed}}}
Statistics
Daily traffic{{{traffic}}}
{{{extra}}}
Location
Script error: The function "auto" does not exist.
Script error: The function "autocaption" does not exist.
References
{{{references}}}
{{{extra}}}
Location
Script error: The function "auto" does not exist.
Script error: The function "autocaption" does not exist.

Copy and paste the template below:

{{Infobox bridge
| name                = 
| native_name         = 
| native_name_lang    = 
| image               = 
| image_upright       = 
| alt                 = 
| caption             = 
| coordinates         = <!-- {{Coord}} -->
| os_grid_reference   = 
| qid                 = 
| refs                = 
| carries             = 
| crosses             = 
| locale              = 
| starts              = 
| ends                = 
| official_name       = 
| other_name          = 
| named_for           = 
| owner               = 
| maint               = 
| heritage            = 
| id                  = 
| id_type             = 
| website             = 
| preceded            = 
| followed            = 
| design              = 
| material            = 
| material1           = 
| material2           = 
| length              = 
| width               = 
| height              = 
| depth               = 
| traversable         = 
| towpath             = 
| mainspan            = 
| number_spans        = 
| piers_in_water      = 
| load                = 
| clearance_above     = 
| clearance_below     = 
| lanes               = 
| life                = 
| first_length        = 
| first_diameter      = 
| second_length       = 
| second_diameter     = 
| third_length        = 
| third_diameter      = 
| capacity            = 
| num_track           = 
| track_gauge         = 
| structure_gauge     = 
| electrification     = 
| architect           = 
| designer            = 
| contracted_designer = 
| winner              = 
| engineering         = 
| builder             = 
| fabricator          = 
| begin               = 
| complete            = 
| cost                = 
| open                = <!-- or | opening = -->
| inaugurated         = 
| rebuilt             = 
| collapsed           = 
| closed              = 
| replaces            = 
| replaced_by         = 
| traffic             = 
| toll                = 
| extra               = <!-- extra = module = embed = -->
}}

Parameters

name
Name of bridge
native_name
Name of the bridge in the local language, if different
native_name_lang
ISO code for the local language (e.g. "fr" for French). If more than one, enter the native names using {{Lang}} instead.
image
Filename of image of the bridge
image_upright
Scaling value, where the default size is 1
alt
Alt text for bridge image (see WP:ALT)
caption
Text for caption beneath image
coordinates
Latitude and longitude. Use {{Coord}}. A typical four-lane bridge (25 m or 82.02 ft wide) requires 0.1 second or 0.0001° of precision.
os_grid_reference
OS grid reference
carries
Type of vehicles bridge carries
crosses
Body of water or geographic feature that is being crossed
locale
General area where located (e.g. San Francisco, Indiana-Kentucky State Line)
starts
Where the aqueduct starts
ends
Where the aqueduct ends
official_name
Official name
other_name
Also known as name
named_for
namesake
owner
Persons or body that owns the bridge
maint
Maintaining entity (e.g. California Department of Transportation)
heritage
Heritage status (e.g. UK listed building)
id
ID number, if available
id_type
Label for the ID field. The default, if this parameter is not specified, is ID number (for the United States National Bridge Inventory)
website
URL to the bridge's website; enclose within {{URL}}
preceded
Name of bridge upstream
followed
Name of bridge downstream
design
Type of bridge (cantilever, truss, suspension)
material
Construction material (concrete, steel, iron, stone, brick, wood)
material1
Construction material for trough
material2
Construction material for piers
length
Length of bridge, w/ conversions
width
Width of bridge, w/ conversions
height
Height of bridge, w/ conversions
depth
Depth of aqueduct channel, w/ conversions
diameter
(if it's pipe)
first_length
length of first section, if segmented
first_diameter
diameter of first section, if segmented
second_length
length of second section, if segmented
second_diameter
diameter of second section, if segmented
third_length
length of third section, if segmented
third_diameter
diameter of third section, if segmented
capacity
rate-of-flow
traversable
Can standard craft (for that navigation) pass on the aqueduct? Yes/No
towpath
Side of towpath (None, N, S, E, W, NE, NW, SE, SW, Both)
mainspan
Length of main span, w/ conversions
number_spans
Number of spans or arches
piers_in_water
Number of piers standing in a river or other water in normal conditions
load
Load limit of the bridge, w/ conversions
clearance_above
Clearance from the bridge deck to any part of the structure across the deck, if low enough to be problematic. Some bridges are clear above the deck.
clearance_below
Clearance beneath the bridge
life
Design life of the bridge in years
architect
Those responsible for the conceptual design of the bridge – to be used when engineering/construction design was done by another party
designer
Bridge designer/architect (e.g. Isambard Kingdom Brunel)
contracted_designer
The lead designer at the contract/post competition phase
winner
The winner/s of the design competition phase
engineering
The person or organization that did the engineering/construction design, where that differs from 'designer' above
builder
Construction company or bridge builder
fabricator
Steel fabricator
begin
Construction start date
complete
Construction end date
cost
Total project cost
open
Opening date, use {{Start date}}; If the bridge has yet not opened, use |opening=
inaugurated
the date the bridge is ceremonially opened
rebuilt
Date of major rebuild
collapsed
If collapsed, then date of collapse, don't use closed – closure is assumed
closed
Closing date
replaces
The bridge or ferry services that this bridge made redundant
replaced_by
The bridge or structure that replaced this bridge
traffic
Average Daily Traffic value
toll
Price of the toll (if a toll bridge)
extra
Spare field for modules, e.g. {{Infobox designation list}}

Coordinates

Use the coordinates= parameter with {{Coord}} to specify latitude and longitude. See the documentation for the Coord template for details on usage.

If there is no location map or map image specified, then a dynamic map will be displayed in its place if the article's Wikidata item or the Wikidata item indicated in |qid= has a Script error: The function "label" does not exist. (P625).

Map

Template:Infobox mapframe/doc/parameters

Example

Characteristics
DesignThrough arch bridge
History
Construction start28 July 1923
Construction end19 January 1932
Location
Script error: The function "auto" does not exist.
Script error: The function "autocaption" does not exist.
{{Infobox bridge
| name        = Sydney Harbour Bridge
| image       = Sydney Harbour Bridge from Circular Quay.jpg
| carries     = Trains, Motor vehicles, pedestrians and bicycles
| crosses     = [[Port Jackson]]
| locale      = [[Sydney]], [[New South Wales]], Australia
| design      = [[Through arch bridge]]
| length      = {{Convert|1149|m|ft|0|abbr=on}}
| width       = {{Convert|49|m|ft|0|abbr=on}}
| height      = {{Convert|134|m|ft|0|abbr=on}}
| mainspan    = {{Convert|503|m|ft|0|abbr=on}}
| above       = (?)
| below       = {{Convert|49|m|ft|0|abbr=on}} at mid-span
| begin       = 28 July 1923
| complete    = 19 January 1932
| open        = {{Start-date|19 March 1932}}
| coordinates = {{coord|33|51|8|S|151|12|38|E|region:AU-NSW_type:landmark|display = inline}}
}}

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. A typical four-lane bridge (25 m or 82.02 ft wide) requires 0.1 second or 0.0001° of precision.

Tracking categories

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

TemplateData for Infobox bridge

<templatedata> { "params": { "child": {}, "embed": {}, "name": {}, "bridge_name": {}, "aqueduct_name": {}, "native_name": {}, "native_name_lang": {}, "image": {}, "image_size": {}, "image_upright": {}, "alt": {}, "caption": {}, "image_caption": {}, "coordinates": {}, "os_grid_reference": {}, "carries": {}, "crosses": {}, "locale": {}, "location": {}, "official_name": {}, "other_name": {}, "also_known_as": {}, "named_for": {}, "owner": {}, "maint": {}, "maintained": {}, "heritage": {}, "id_type": {}, "id": {}, "website": {}, "preceded": {}, "upstream": {}, "followed": {}, "downstream": {}, "design": {}, "material": {}, "material1": {}, "material2": {}, "length": {}, "width": {}, "height": {}, "depth": {}, "traversable": {}, "passable": {}, "towpath": {}, "mainspan": {}, "number_spans": {}, "spans": {}, "piers_in_water": {}, "pierswater": {}, "load": {}, "clearance_above": {}, "clearance": {}, "clearance_below": {}, "below": {}, "lanes": {}, "life": {}, "num_track": {}, "notrack": {}, "track_gauge": {}, "gauge": {}, "structure_gauge": {}, "electrification": {}, "architect": {}, "designer": {}, "winner": {}, "contracted_designer": {}, "engineering": {}, "builder": {}, "fabricator": {}, "begin": {}, "complete": {}, "cost": {}, "open": {}, "inaugurated": {}, "rebuilt": {}, "collapsed": {}, "closed": {}, "replaces": {}, "replaced_by": {}, "dedicated": {}, "opening": {}, "opened": {}, "traffic": {}, "toll": {}, "extra": {}, "references": {}, "qid": {}, "refs": {}, "built": {}, "destroyed": {}, "mapframe": { "label": "Show mapframe map", "description": "Specify yes or no to show or hide the map, overriding the default", "example": "yes", "type": "string", "default": "no", "suggested": true }, "mapframe-caption": { "label": "Mapframe caption", "description": "Caption for the map. If mapframe-geomask is set, then the default is \"Location in <<geomask's label>>\"", "type": "string" }, "mapframe-custom": { "label": "Custom mapframe", "description": "Use a custom map instead of the automatic mapframe. Specify either a template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.", "type": "wiki-template-name" }, "mapframe-id": { "aliases": [ "id", "qid" ], "label": "Mapframe Wikidata item", "description": "Id (Q-number) of Wikidata item to use.", "type": "string", "default": "(item for current page)" }, "mapframe-wikidata": { "label": "Mapframe shapes from Wikidata", "description": "et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter", "example": "yes", "type": "string" }, "mapframe-point": { "label": "Mapframe point feature", "description": "Override display of mapframe point feature. Turn off display of point feature by setting to \"none\". Force point marker to be displayed by setting to \"on\"", "type": "string" }, "mapframe-shape": { "label": "Mapframe shape feature", "description": "Override display of mapframe shape feature. Turn off by setting to \"none\". Use an inverse shape (geomask) instead of a regular shape by setting to \"inverse\"", "type": "string" }, "mapframe-frame-width": { "aliases": [ "mapframe-width" ], "label": "Mapframe width", "description": "Frame width in pixels", "type": "number", "default": "270" }, "mapframe-frame-height": { "aliases": [ "mapframe-height" ], "label": "Mapframe height", "description": "Frame height in pixels", "type": "number", "default": "200" }, "mapframe-shape-fill": { "label": "Mapframe shape fill", "description": "Color used to fill shape features", "type": "string", "default": "#606060" }, "mapframe-shape-fill-opacity": { "label": "Mapframe shape fill opacity", "description": "Opacity level of shape fill, a number between 0 and 1", "type": "number", "default": "0.5" }, "mapframe-stroke-color": { "aliases": [ "mapframe-stroke-colour" ], "label": "Mapframe stroke color", "description": "Color of line features, and outlines of shape features", "type": "string", "default": "#ff0000" }, "mapframe-stroke-width": { "label": "Mapframe stroke width", "description": "Width of line features, and outlines of shape features", "type": "number", "default": "5" }, "mapframe-marker": { "label": "Mapframe marker", "description": "Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options", "example": "museum", "type": "string" }, "mapframe-marker-color": { "aliases": [ "mapframe-marker-colour" ], "label": "Mapframe marker color", "description": "Background color for the marker", "type": "string", "default": "#5E74F3" }, "mapframe-geomask": { "label": "Mapframe geomask", "description": "Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)", "example": "Q100", "type": "wiki-page-name" }, "mapframe-geomask-stroke-color": { "aliases": [ "mapframe-geomask-stroke-colour" ], "label": "Mapframe geomask stroke color", "description": "Color of outline of geomask shape", "type": "string", "default": "#555555" }, "mapframe-geomask-stroke-width": { "label": "Mapframe geomask stroke width", "description": "Width of outline of geomask shape", "type": "number", "default": "2" }, "mapframe-geomask-fill": { "label": "Mapframe geomask fill", "description": "Color used to fill outside geomask features", "type": "string", "default": "#606060" }, "mapframe-geomask-fill-opacity": { "label": "Mapframe geomask fill opacity", "description": "Opacity level of fill outside geomask features, a number between 0 and 1", "type": "number", "default": "0.5" }, "mapframe-zoom": { "label": "Mapframe zoom", "description": "Set the zoom level, from \"1\" to \"18\", to used if the zoom level cannot be determined automatically from object length or area", "example": "12", "type": "number", "default": "10" }, "mapframe-length_km": { "label": "Mapframe length (km)", "description": "Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-length_mi": { "label": "Mapframe length (mi)", "description": "Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-area_km2": { "label": "Mapframe area (km^2)", "description": "Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-area_mi2": { "label": "Mapframe area (mi^2)", "description": "Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-frame-coordinates": { "aliases": [ "mapframe-frame-coord" ], "label": "Mapframe frame coordinates", "description": "Alternate latitude and longitude coordinates for initial placement of map, using Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value).", "example": "12°21′N 56°43′E / 12.35°N 56.71°E / 12.35; 56.71", "type": "wiki-template-name" }, "mapframe-switcher": { "label": "Mapframe switcher", "description": "Set to \"auto\" or \"geomasks\" or \"zooms\" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between \"zoomed in\"/\"zoomed midway\"/\"zoomed out\", where \"zoomed in\" is the default zoom (with a minimum of 3), \"zoomed out\" is 1, and \"zoomed midway\" is the average.", "type": "string" }, "mapframe-coordinates": { "aliases": [ "mapframe-coord", "coordinates. coord" ], "label": "Mapframe coordinates ", "description": "Coordinates to use, instead of any on Wikidata. Use the Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). template.", "example": "12°20′N 56°47′E / 12.34°N 56.78°E / 12.34; 56.78", "type": "wiki-template-name", "default": "(coordinates from Wikidata)" } }, "paramOrder": [ "child", "embed", "name", "bridge_name", "aqueduct_name", "native_name", "native_name_lang", "image", "image_size", "image_upright", "alt", "caption", "image_caption", "coordinates", "os_grid_reference", "carries", "crosses", "locale", "location", "official_name", "other_name", "also_known_as", "named_for", "owner", "maint", "maintained", "heritage", "id_type", "id", "website", "preceded", "upstream", "followed", "downstream", "design", "material", "material1", "material2", "length", "width", "height", "depth", "traversable", "passable", "towpath", "mainspan", "number_spans", "spans", "piers_in_water", "pierswater", "load", "clearance_above", "clearance", "clearance_below", "below", "lanes", "life", "num_track", "notrack", "track_gauge", "gauge", "structure_gauge", "electrification", "architect", "designer", "winner", "contracted_designer", "engineering", "builder", "fabricator", "built", "begin", "complete", "cost", "open", "inaugurated", "rebuilt", "collapsed", "destroyed", "closed", "replaces", "replaced_by", "dedicated", "opening", "opened", "traffic", "toll", "qid", "refs", "extra", "references", "mapframe", "mapframe-caption", "mapframe-custom", "mapframe-id", "mapframe-coordinates", "mapframe-wikidata", "mapframe-point", "mapframe-shape", "mapframe-frame-width", "mapframe-frame-height", "mapframe-shape-fill", "mapframe-shape-fill-opacity", "mapframe-stroke-color", "mapframe-stroke-width", "mapframe-marker", "mapframe-marker-color", "mapframe-geomask", "mapframe-geomask-stroke-color", "mapframe-geomask-stroke-width", "mapframe-geomask-fill", "mapframe-geomask-fill-opacity", "mapframe-zoom", "mapframe-length_km", "mapframe-length_mi", "mapframe-area_km2", "mapframe-area_mi2", "mapframe-frame-coordinates", "mapframe-switcher" ] } </templatedata>

|}