Template:Infobox bridge

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Infobox bridge
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage[change | change source]

{{{bridge_name}}}
{{{native_name}}}
[[File:{{{image}}}|{{{image_size}}}px|alt={{{alt}}}|{{{bridge_name}}}]]
{{{caption}}}
Official name {{{official_name}}}
Other name(s) {{{other_name}}}
Carries {{{carries}}}
Crosses {{{crosses}}}
Locale {{{locale}}}
Maintained by {{{maint}}}
ID number {{{id}}}
Designer {{{designer}}}
Design {{{design}}}
Material {{{material}}}
Piers in water {{{pierswater}}}
Total length {{{length}}}
Width {{{width}}}
Height {{{height}}}
Longest span {{{mainspan}}}
Number of spans {{{spans}}}
Load limit {{{load}}}
Vertical clearance {{{clearance}}}
Clearance below {{{below}}}
AADT {{{traffic}}}
Constructed by {{{builder}}}
Beginning date of construction {{{begin}}}
Completion date {{{complete}}}
Opened {{{open}}}
Design life {{{life}}}
Preceded by {{{preceded}}}
Followed by {{{followed}}}
Heritage status {{{heritage}}}
Collapsed {{{collapsed}}}
Closed {{{closed}}}
Toll {{{toll}}}
{{{map_cue}}}
{{{map_text}}}
[[Image: {{{map_image}}}|{{{map_width}}}|alt={{{map_alt}}}| ]]
Coordinates {{{lat}}} and {{{long}}}
{{{extra}}}

Copy and paste the template below:

{{Infobox bridge
| bridge_name      = 
| native_name      = 
| native_name_lang = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| official_name    = 
| other_name       = 
| carries          = 
| crosses          = 
| locale           = 
| owner            = 
| maint            = 
| id               =
| id_type          =  
| website          = 
| architect        = 
| designer         = 
| engineering      = 
| winner           = 
| contracted_designer = 
| design           = 
| material         = 
| length           = 
| width            = 
| height           = 
| mainspan         = 
| spans            = 
| pierswater       = 
| load             = 
| clearance        = 
| below            = 
| life             = 
| builder          = 
| fabricator       = 
| begin            = 
| complete         = 
| cost             = 
| open             = 
| inaugurated      = 
| toll             = 
| traffic          = 
| preceded         = 
| followed         = 
| heritage         = 
| collapsed        = 
| closed           = 
| replaces         = 
| map_cue          = 
| map_image        = 
| map_alt          = 
| map_text         = 
| map_width        = 
| lat              = 
| long             = 
| extra            = 
| references       = 
}}

Parameter descriptions[change | change source]

Field Description
bridge_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
alt Alt text for bridge image (see WP:ALT)
caption Text for caption beneath image
official_name Official name
other_name Also known as name
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)
owner Persons or body that owns the bridge
maint Maintaining entity (e.g. California Department of Transportation)
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)
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)
engineering The person or organization that did the engineering/construction design, where that differs from 'designer' above
winner The winner/s of the design competition phase
contracted_designer The lead designer at the contract/post competition phase
design Type of bridge (cantilever, truss, suspension)
material Construction material (concrete, steel, iron, stone, brick, wood)
length Length of bridge, w/ conversions
width Width of bridge, w/ conversions
height Height of bridge, w/ conversions
mainspan Length of main span, w/ conversions
spans Number of spans or arches
pierswater Number of piers standing in a river or other water in normal conditions
load Load limit of the bridge, w/ conversions
clearance Clearance on top of the bridge, if proper
below Clearance beneath the bridge
life Design life of the bridge in years
builder Construction company or bridge builder
fabricator Steel fabricator
begin Construction begin
complete Construction end
cost Total project cost
open Opening date, use {{Start date}}
inaugurated the date the bridge is ceremonially opened
toll Price of the toll (if a toll bridge)
traffic Average Daily Traffic value
preceded Name of bridge upstream
followed Name of bridge downstream
heritage Heritage status (e.g. UK listed building)
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
map_cue Map title
map_image Filename of map image of bridge
map_alt Alt text for map image (see WP:ALT)
map_text Caption beneath map image of bridge
map_width Map width in a standard value (pixels, for example)
coordinates Latitude and longitude ** i.e. {{Coord|50|01|01|N|90|01|01|W|region:US_type:landmark|display=it}}
lat Latitude
long Longitude** (use either lat + long or {{Coord}})
extra Spare field for additional information
references References to de-clutter infobox

Map and coordinates[change | change source]

It's usually not necessary to use the coordinates= parameter.

  • The latitude and longitude of the bridge may be specified:
    • in decimal degrees, using lat= and long= OR
    • in degrees/minutes/seconds, using latd=, latm=, lats=, latNS=, longd=, longm=, longs=, and longEW=.
  • To suppress the display coordinates at the top of the page, set coordinates_display=inline.
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can set using the coordinates_region= parameter.

One advantage of omitting the coordinates= parameter is that you can display a {{Location map}} without duplicating coordinates.

{{Infobox bridge
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
| coordinates_display = <!-- non-blank to display coordinates at the top of the page. -->
| coordinates_region  = <!-- coordinates region code. -->
| map_type            = <!-- Location name used for Template:Location map -->
| map_alt             = <!-- Alternative text for map image, see WP:ALT for details -->
| map_caption         = <!-- Text to be displayed below map; for no caption enter "map_caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
...
}}
Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox bridge
...
| latd   = <!-- ''latitude'' degrees -->
| latm   = <!-- ''latitude'' minutes -->
| lats   = <!-- ''latitude'' seconds -->
| latNS  = <!-- latitude: S=south, N=north (default) -->
| longd  = <!-- ''longitude'' degrees -->
| longm  = <!-- ''longitude'' minutes -->
| longs  = <!-- ''longitude'' seconds -->
| longEW = <!-- longitude: W=west, E=east (default) -->
...
}}
Parameters to specify coordinates in decimal degrees:
{{Infobox bridge
...
| lat  = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) -->
| long = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> 
...
}}

Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:

  • Incorrect: | long = - 123.45
  • Correct: | long = -123.45

Example[change | change source]

Sydney Harbour Bridge
Carries Trains, Motor vehicles, pedestrians and bicycles
Crosses Port Jackson
Locale Sydney, New South Wales, Australia
Design Through arch bridge
Total length 1,149 m (3,770 ft)
Width 49 m (161 ft)
Height 134 m (440 ft)
Longest span 503 m (1,650 ft)
Clearance below 49 m (161 ft) at mid-span
Beginning date of construction 28 July 1923
Completion date 19 January 1932
Opened 19 March 1932 (1932-03-19)
{{Infobox bridge
| 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}}
| 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}}
| map_type    = Australia New South Wales
| latd = 33 | latm = 51 | lats = 08 | latNS = S
| longd= 151| longm= 12 | longs= 38 | longEW= E
| coordinates_region = AU-NSW_type:landmark
| coordinates_display = inline
}}


Microformat[change | change source]

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.

Sub-templates[change | 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 | change source]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • 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 | change source]

When giving coordinates, please don't be overly precise. A typical 4-lane bridge (25m wide) requires 0.1 second or 0.0001° of precision.