Template:Infobox Dam/doc
From Wikipedia, the free encyclopedia
Warning this page is experimental, has not been tested, and was modified by a novice template coder
[edit] Usage
Copy and paste the template below:
{{Infobox_Dam |dam_name= |image= |caption= |official_name= |crosses= |reservoir= |locale= |maint= |length= |height= |width= |began= |open= |closed= |cost= |reservoir_capacity= |reservoir_catchment= |reservoir_surface= |bridge_carries= |bridge_width= |bridge_clearance= |bridge_traffic= |bridge_toll= |bridge_id= |map_cue= |map_image= |map_text= |map_width= |coordinates= {{coord|50|01|01|N|90|01|01|W|type:landmark_region:US|display=inline}} |lat= |long= |extra= }}
[edit] Parameter descriptions
- dam_name= Name of dam
- image= Filename of image of the dam
- image_size= override default 250px (avoid using)
- caption= Text for caption beneath image
- official_name= Official name
- crosses= Body of river or stream below dam
- reservoir= Name of upstream body of water, if different than "crosses"
- locale= General area where located (Aswan, Indiana-Kentucky State Line)
- maint= Maintaining Entity (Hydro-Quebec, California Department of Transportation)
- length= Length of dam crown, w/ metric conversions
- height= Height over foundation bed, w/ metric conversions
- width= Width at base of dam, w/ metric conversions
- began= Date construction began
- open= Opening date
- closed= Closing date
- cost=
- reservoir_capacity = Capacity of reservoir, i.e. megalitres
- reservoir_catchment = Area of catchment for reservoir
- reservoir_surface = Surface area (top water level) of reservoir
- bridge_carries= If Dam is also a bridge: traffic type and route number (e.g. "2 lanes of [[Route 1]]", "foot traffic"). Required to display other bridge_ values
- bridge_width= width of bridge surface
- bridge_clearance= Vertical Clearance for traffic on top of the bridge, if obstructed
- bridge_traffic= Average Daily Traffic value
- bridge_toll= Price of the toll (if a toll bridge)
- bridge_id= National Bridge ID#, if available
- map_cue=
- map_image= Filename of map image of dam
- map_text= Caption beneath map image of dam
- map_width= Map width in a standard value (pixels, for example)
- coordinates= Latitude and longitude in {{coord}} format with display=inline,title, see also Wikipedia:WikiProject Geographical coordinates#Parameters
(use either coordinates= or lat= long=, but not both)
- lat= Latitude long= Longitude
- extras= free form, spans both columns, use sparingly
[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.