Template:Infobox Bridge

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
{{{bridge_name}}}
[[Image:{{{image}}}|{{{image_size=250}}}px|{{{bridge_name}}}]]
{{{caption}}}
Official name {{{official_name}}}
Carries {{{carries}}}
Crosses {{{crosses}}}
Locale {{{locale}}}
Maintained by {{{maint}}}
ID number {{{id}}}
Designer {{{designer}}}
Design {{{design}}}
Material {{{material}}}
Number of spans {{{spans}}}
Piers in water {{{pierswater}}}
Longest span {{{mainspan}}}
Total length {{{length}}}
Width {{{width}}}
Height {{{height}}}
Load limit {{{load}}}
Vertical clearance {{{clearance}}}
Clearance below {{{below}}}
AADT {{{traffic}}}
Beginning date of construction {{{begin}}}
Completion date {{{complete}}}
Opening date {{{open}}}
Destruction date {{{closed}}}
Toll {{{toll}}}
{{{map_cue}}}
{{{map_text}}}
[[Image:{{{map_image}}}|{{{map_width}}}| ]]
Coordinates {{{coordinates}}}
Maps and aerial photos
{{{extra}}}
[edit] Template documentation

[edit] Usage

Copy and paste the template below:

{{Infobox Bridge
|bridge_name   = 
|image         = 
|caption       = 
|official_name = 
|carries       = 
|crosses       = 
|locale        = 
|maint         = 
|id            = 
|designer      =
|design        =
|material      =
|spans         =
|pierswater    = 
|mainspan      = 
|length        = 
|width         = 
|height        = 
|load          = 
|clearance     = 
|below         = 
|traffic       = 
|begin         = 
|complete      = 
|open          = 
|closed        = 
|toll          = 
|map_cue       = 
|map_image     = 
|map_text      = 
|map_width     = 
|coordinates   = 
|lat           = 
|long          = 
}}

[edit] Parameter descriptions

  • bridge_name= Name of bridge
  • image= Filename of image of the bridge
  • caption= Text for caption beneath image
  • official_name= Official name
  • carries= Type of vehicles bridge carries
  • crosses= Body of water or geographic feature that is being crossed
  • locale= General area where located (San Francisco, Indiana-Kentucky State Line)
  • maint= Maintaining Entity (California Department of Transportation)
  • id= National Bridge ID#, if available
  • designer = Bridge designer (Isambard Kingdom Brunel)
  • design= Type of bridge (cantilever, truss, suspension)
  • material = Construction material (concrete, steel, iron, stone, brick, wood)
  • spans = Number of spans or arches
  • pierswater = Number of piers standing in a river or other water in normal conditions
  • mainspan= Length of main span, w/ metric conversions
  • length= Length of bridge, w/ metric conversions
  • width= Width of bridge, w/ metric conversions
  • height= Height of bridge, w/ metric conversions
  • load= Load limit of the bridge, w/ metric conversions
  • clearance= Clearance on top of the bridge, if proper
  • below= Clearance beneath the bridge
  • traffic= Average Daily Traffic value
  • begin=Beginning date of Construction
  • complete=Completion date
  • open= Opening date
  • closed= Closing date
  • toll= Price of the toll (if a toll bridge)
  • map_cue=
  • map_image= Filename of map image of bridge
  • 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=inline,title}}
  • lat= Latitude
  • long= Longitude
(use either coordinates= or both lat= and long=; using {{coord}} emits a geo microformat)

[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.