Template:Infobox bridge: Difference between revisions
Appearance
Content deleted Content added
add "troll" parameter in case bridge is known to have a troll below it. Is optional and will not appear unless used. |
|||
Line 72: | Line 72: | ||
{{#if: {{{toll|}}}| |
{{#if: {{{toll|}}}| |
||
! Toll |
! Toll |
||
{{!}} {{{toll}}}}} |
|||
|- |
|||
{{#if: {{{troll|}}}| |
|||
! Troll |
|||
{{!}} {{{toll}}}}} |
{{!}} {{{toll}}}}} |
||
|- |
|- |
||
Line 121: | Line 125: | ||
|closed= |
|closed= |
||
|toll= |
|toll= |
||
|troll= |
|||
|map_cue= |
|map_cue= |
||
|map_image= |
|map_image= |
||
Line 152: | Line 157: | ||
* closed= Closing date |
* closed= Closing date |
||
* toll= Price of the toll (if a toll bridge) |
* toll= Price of the toll (if a toll bridge) |
||
* troll= Name or other identifying features of troll, if bridge is known to have a troll. |
|||
* map_cue= |
* map_cue= |
||
* map_image= Filename of map image of bridge |
* map_image= Filename of map image of bridge |
Revision as of 19:04, 16 December 2006
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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
Copy and paste the template below:
{{Infobox_Bridge |bridge_name= |image= |caption= |official_name= |carries= |crosses= |locale= |maint= |id= |design= |mainspan= |length= |width= |height= |clearance= |below= |traffic= |open= |closed= |toll= |troll= |map_cue= |map_image= |map_text= |map_width= |coordinates= {{coor dms|50|01|01|N|90|01|01|W|region:US_type:landmark}} |lat= |long= }}
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
- design= Type of bridge (cantilever, truss, suspension)
- 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
- clearance= Clearance on top of the bridge, if proper
- below= Clearance beneath the bridge
- traffic= Average Daily Traffic value
- open= Opening date
- closed= Closing date
- toll= Price of the toll (if a toll bridge)
- troll= Name or other identifying features of troll, if bridge is known to have a troll.
- 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
(use either coordinates= or both lat= and long=)
- lat= Latitude
- long= Longitude