Template:Infobox bridge/sandbox
List of infoboxes |
---|
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
50px | This is the template sandbox page for Template:Infobox bridge (diff). See also the companion subpage for test cases. |
30px | This template uses Lua: |
40px | This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage[edit source]
List of infoboxes |
---|
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
List of infoboxes |
---|
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
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[edit source]
- 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[edit source]
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 Template:Q.
Map[edit source]
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Default: not specified - mapframe-geomask – 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 Template:Q,P131
for Template:Q). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in Template:Q and Template:Q statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: not specified (i.e. blank)
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
Example[edit source]
List of infoboxes |
---|
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
Style and help |
Help:Infobox |
{{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[edit source]
Template:UF-hcard-geo A typical four-lane bridge (25 m or 82.02 ft wide) requires 0.1 second or 0.0001° of precision.
Tracking categories[edit source]
- Category:Pages using infobox bridge with unknown parameters (0)
- Category:Pages using infobox bridge with clearance (0)
- Category:Pages using infobox bridge with extra (0)
TemplateData for Infobox bridge
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
child | child | no description | Unknown | optional |
embed | embed | no description | Unknown | optional |
name | name | no description | Unknown | optional |
bridge_name | bridge_name | no description | Unknown | optional |
aqueduct_name | aqueduct_name | no description | Unknown | optional |
native_name | native_name | no description | Unknown | optional |
native_name_lang | native_name_lang | no description | Unknown | optional |
image | image | no description | File | optional |
image_size | image_size | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
image_caption | image_caption | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
os_grid_reference | os_grid_reference | no description | Unknown | optional |
carries | carries | no description | Unknown | optional |
crosses | crosses | no description | Unknown | optional |
locale | locale | no description | Unknown | optional |
location | location | no description | Unknown | optional |
official_name | official_name | no description | Unknown | optional |
other_name | other_name | no description | Unknown | optional |
also_known_as | also_known_as | no description | Unknown | optional |
named_for | named_for | no description | Unknown | optional |
owner | owner | no description | Unknown | optional |
maint | maint | no description | Unknown | optional |
maintained | maintained | no description | Unknown | optional |
heritage | heritage | no description | Unknown | optional |
id_type | id_type | no description | Unknown | optional |
id | id | no description | Unknown | optional |
website | website | no description | Unknown | optional |
preceded | preceded | no description | Unknown | optional |
upstream | upstream | no description | Unknown | optional |
followed | followed | no description | Unknown | optional |
downstream | downstream | no description | Unknown | optional |
design | design | no description | Unknown | optional |
material | material | no description | Unknown | optional |
material1 | material1 | no description | Unknown | optional |
material2 | material2 | no description | Unknown | optional |
length | length | no description | Unknown | optional |
width | width | no description | Unknown | optional |
height | height | no description | Unknown | optional |
depth | depth | no description | Unknown | optional |
traversable | traversable | no description | Unknown | optional |
passable | passable | no description | Unknown | optional |
towpath | towpath | no description | Unknown | optional |
mainspan | mainspan | no description | Unknown | optional |
number_spans | number_spans | no description | Unknown | optional |
spans | spans | no description | Unknown | optional |
piers_in_water | piers_in_water | no description | Unknown | optional |
pierswater | pierswater | no description | Unknown | optional |
load | load | no description | Unknown | optional |
clearance_above | clearance_above | no description | Unknown | optional |
clearance | clearance | no description | Unknown | optional |
clearance_below | clearance_below | no description | Unknown | optional |
below | below | no description | Unknown | optional |
lanes | lanes | no description | Unknown | optional |
life | life | no description | Unknown | optional |
num_track | num_track | no description | Unknown | optional |
notrack | notrack | no description | Unknown | optional |
track_gauge | track_gauge | no description | Unknown | optional |
gauge | gauge | no description | Unknown | optional |
structure_gauge | structure_gauge | no description | Unknown | optional |
electrification | electrification | no description | Unknown | optional |
architect | architect | no description | Unknown | optional |
designer | designer | no description | Unknown | optional |
winner | winner | no description | Unknown | optional |
contracted_designer | contracted_designer | no description | Unknown | optional |
engineering | engineering | no description | Unknown | optional |
builder | builder | no description | Unknown | optional |
fabricator | fabricator | no description | Unknown | optional |
built | built | no description | Unknown | optional |
begin | begin | no description | Unknown | optional |
complete | complete | no description | Unknown | optional |
cost | cost | no description | Unknown | optional |
open | open | no description | Unknown | optional |
inaugurated | inaugurated | no description | Unknown | optional |
rebuilt | rebuilt | no description | Unknown | optional |
collapsed | collapsed | no description | Unknown | optional |
destroyed | destroyed | no description | Unknown | optional |
closed | closed | no description | Unknown | optional |
replaces | replaces | no description | Unknown | optional |
replaced_by | replaced_by | no description | Unknown | optional |
dedicated | dedicated | no description | Unknown | optional |
opening | opening | no description | Unknown | optional |
opened | opened | no description | Unknown | optional |
traffic | traffic | no description | Unknown | optional |
toll | toll | no description | Unknown | optional |
qid | qid | no description | Unknown | optional |
refs | refs | no description | Unknown | optional |
extra | extra | no description | Unknown | optional |
references | references | no description | Unknown | optional |
Show mapframe map | mapframe | Specify yes or no to show or hide the map, overriding the default
| String | suggested |
Mapframe caption | mapframe-caption | Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>" | String | optional |
Custom mapframe | mapframe-custom | Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored. | Template | optional |
Mapframe Wikidata item | mapframe-id id qid | Id (Q-number) of Wikidata item to use.
| String | optional |
Mapframe coordinates | mapframe-coordinates mapframe-coord coordinates. coord | Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.
| Template | optional |
Mapframe shapes from Wikidata | mapframe-wikidata | et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter
| String | optional |
Mapframe point feature | mapframe-point | 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" | String | optional |
Mapframe shape feature | mapframe-shape | 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" | String | optional |
Mapframe width | mapframe-frame-width mapframe-width | Frame width in pixels
| Number | optional |
Mapframe height | mapframe-frame-height mapframe-height | Frame height in pixels
| Number | optional |
Mapframe shape fill | mapframe-shape-fill | Color used to fill shape features
| String | optional |
Mapframe shape fill opacity | mapframe-shape-fill-opacity | Opacity level of shape fill, a number between 0 and 1
| Number | optional |
Mapframe stroke color | mapframe-stroke-color mapframe-stroke-colour | Color of line features, and outlines of shape features
| String | optional |
Mapframe stroke width | mapframe-stroke-width | Width of line features, and outlines of shape features
| Number | optional |
Mapframe marker | mapframe-marker | Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options
| String | optional |
Mapframe marker color | mapframe-marker-color mapframe-marker-colour | Background color for the marker
| String | optional |
Mapframe geomask | mapframe-geomask | 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)
| Page name | optional |
Mapframe geomask stroke color | mapframe-geomask-stroke-color mapframe-geomask-stroke-colour | Color of outline of geomask shape
| String | optional |
Mapframe geomask stroke width | mapframe-geomask-stroke-width | Width of outline of geomask shape
| Number | optional |
Mapframe geomask fill | mapframe-geomask-fill | Color used to fill outside geomask features
| String | optional |
Mapframe geomask fill opacity | mapframe-geomask-fill-opacity | Opacity level of fill outside geomask features, a number between 0 and 1
| Number | optional |
Mapframe zoom | mapframe-zoom | Set the zoom level, from "1" to "18", used if the zoom level cannot be determined automatically from object length or area
| Number | optional |
Mapframe length (km) | mapframe-length_km | Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe length (mi) | mapframe-length_mi | Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe area (km^2) | mapframe-area_km2 | Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe area (mi^2) | mapframe-area_mi2 | Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area | Number | optional |
Mapframe frame coordinates | mapframe-frame-coordinates mapframe-frame-coord | Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}
| Template | optional |
Mapframe switcher | mapframe-switcher | 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. | String | optional |