Template:Infobox bridge/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox bridge. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Script error: No such module "High-use".
File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Usage
Script error: No such module "Parameter names example". Script error: No such module "Parameter names example".
Copy and paste the template below:
{{Infobox bridge | name = | native_name = | native_name_lang = | image = | image_size = | image_upright = | alt = | caption = | coordinates = <!-- {{Coord}} --> | os_grid_reference = | qid = | fetchwikidata = | onlysourced = | carries = | crosses = | locale = | starts = | ends = | official_name = | other_name = | named_for = | owner = | maint = | heritage = | id = | id_type = | website = | preceded = <!-- or |upstream= --> | followed = <!-- or |downstream= --> | design = | material = | material1 = | material2 = | length = | width = | height = | depth = | traversable = | towpath = | mainspan = | number_spans = | piers_in_water = | load = | clearance_above = | clearance_below = | lanes = | life = | diameter = | 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 = | built = | begin = | complete = | cost = | opened = <!-- or |opening= |open= --> | inaugurated = <!-- or |dedicated= --> | rebuilt = | collapsed = | destroyed = | closed = | demolished = | replaces = | replaced_by = | traffic = | toll = | extra = <!-- extra = module = embed = --> | references = }}
Parameters
- 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 (Script error: No such module "convert". 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
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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P625).
Map
- 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
- mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. Default: not specified
- mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. 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 Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17),P131
for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131)). Default: not specified - mapframe-switcher – set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (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.
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
- <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
- 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 <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
- 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
Script error: No such module "If empty". | |
---|---|
File:Sydney Harbour Bridge from Circular Quay.jpg | |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Carries | Trains, Motor vehicles, pedestrians and bicycles |
Crosses | Port Jackson |
Locale | Sydney, New South Wales, Australia |
Website | Script error: No such module "URL". |
Characteristics | |
Design | Through arch bridge |
Total length | Script error: No such module "convert". |
Width | Script error: No such module "convert". |
Height | Script error: No such module "convert". |
Longest span | Script error: No such module "convert". |
Clearance below | Script error: No such module "convert". at mid-span |
History | |
Construction start | 28 July 1923 |
Construction end | 19 January 1932 |
Opened | Script error: No such module "If empty". |
Inaugurated | Script error: No such module "If empty". |
Location | |
Script error: No such module "Infobox mapframe". | |
Script error: No such module "Infobox mapframe". |
{{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
The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles 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
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- 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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter. A typical four-lane bridge (Script error: No such module "convert". wide) requires 0.1 second or 0.0001° of precision.
Tracking categories
- Category:Pages using infobox bridge with clearance (0)
- Category:Pages using infobox bridge with empty coordinates parameter (0)
- Category:Pages using infobox bridge with extra (0)
- Category:Pages using infobox bridge with extra embedded div (0)
- Category:Pages using infobox bridge with extra embedded table (0)
- Category:Pages using infobox bridge with id (0)
- Category:Pages using infobox bridge with unknown parameters (0)
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox bridge No description.
|
Template braces | The pages listed in this category are meant to be infobox templates.
This page is part of Wikipedia's administration and not part of the encyclopedia.
Further template category notes
This category contains pages in the template namespace. It should not be used to categorize articles or pages in other namespaces. To add a template to this category:
|
Template loop detected: Template:Buildings and structures infobox templates