Jump to content

Template:Infobox street/doc

From Wikipedia, the free encyclopedia

{{Infobox street}} may be used for urban and rural thoroughfares, lanes, alleys, public highways and similar features, including squares/ piazzas (note |area=). For trunk roads, use {{Infobox road}}. For green spaces, consider {{Infobox park}}, which also serves for gardens and suchlike.

All parameters are optional.

Usage

[edit]
{{{name}}}
{{{marker_image}}}
{{{alternate_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{caption}}}
[[File:{{{image_map}}}|frameless]]
Native name{{{native_name}}} Error {{native name checker}}: parameter value is malformed (help)
Former name(s){{{former_names}}}
Part of{{{part_of}}}
Namesake{{{namesake}}}
Type{{{type}}}
Owner{{{owner}}}
Maintained by{{{maint}}}
Length{{{length}}}{{{length_ref}}}
{{{length_notes}}}
Width{{{width}}}
Area{{{area}}}
Addresses{{{addresses}}}
Location{{{location}}}
Arrondissement{{{arrondissement}}}
Quarter{{{quarter}}}
Postal code{{{postal_code}}}
Nearest metro station{{{metro}}}
Coordinates{{{coordinates}}}
{{{direction_a}}} end{{{terminus_a}}}
Major
junctions
{{{junction}}}
{{{direction_b}}} end{{{terminus_b}}}
North{{{north}}}
East{{{east}}}
South{{{south}}}
West{{{west}}}
Construction
Commissioned{{{commissioning_date}}}
Construction start{{{construction_start_date}}}
Completion{{{completion_date}}}
Inauguration{{{inauguration_date}}}
Demolished{{{demolition_date}}}
Other
Designer{{{designer}}}
Known for{{{known_for}}}
Status{{{status}}}
Website{{{website}}}
{{{browse}}}
{{{embedded}}}
{{Infobox street
| name                    = 
| marker_image            = 
| native_name             = <!-- {{native name}} or {{native name list}} -->
| alternate_name          = 
| image                   = 
| image_size              = 
| image_alt               = 
| image_map               = 
| caption                 = 
| map_type                = 
| map_size                = 
| map_caption             = 
| map_alt                 = 
| other_name              = 
| former_names            = 
| part_of                 = 
| namesake                = 
| type                    = 
| owner                   = 
| maint                   = 
| length                  = 
| length_m                = 
| length_ft               = 
| length_km               = 
| length_mi               = 
| length_ref              = 
| length_notes            = 
| width                   = 
| area                    = 
| addresses               = 
| location                = 
| arrondissement          = 
| quarter                 = 
| postal_code             = 
| metro                   = 
| coordinates             = 
| direction_a             = 
| terminus_a              = 
| direction_b             = 
| terminus_b              = 
| junction                = 
| north                   = 
| east                    = 
| south                   = 
| west                    = 
| main_contractor         = 
| cost                    = 
| references              = 
| commissioning_date      = 
| construction_start_date = 
| completion_date         = 
| inauguration_date       = <!-- {{Start date|YYYY|MM|DD}} -->
| demolition_date         = 
| designer                = 
| known_for               = 
| status                  = 
| website                 = <!-- {{URL|example.com}} -->
| browse                  =
| embedded                =
}}

Parameters

[edit]

Route information

[edit]
  • name: street name to be displayed.
  • marker_image: shield image to be displayed. Requires full wiki markup.
  • native_name: name in that country's official language(s), if other than English. ; use {{native name}} or {{native name list}}.
  • alternate_name: Use in situations where the entire route has another name.
  • image: image name of a map for the route, without the File: namespace prefix, which the template will place into an image link for you. Unlike Infobox road, using content that isn't an image will render correctly without using a parameter like "image_custom".
    • caption: an optional parameter with text to display along with the image.
  • other_name:
  • former_names:
  • part_of: the route(s) this road is a part of
  • namesake: Person, event or other entity that the feature is named after
  • type:
  • maint: the agency that maintains the street.
  • length_ft or length_m: length of the route in feet (in countries where the imperial system is used) or metres (in countries where the metric system is used). Only one can be used in an article. The value from the one defined is the one that appears first.
  • length_mi or length_km: length of the route in miles (in countries where the imperial system is used) or kilometres (in countries where the metric system is used). Only one can be used in an article instead of length_ft or length_m where the street is longer.
    • length_ref, if defined, appears after the first length. Use a citation for the length or {{citation needed}} here. Be sure that the first length is the one for which you have a reference.
    • length_notes, if defined, appears as a note below the length. This can be used to show former length, or future length, etc.

Major intersections

[edit]
  • direction_a: the first end of the street being covered. Consult the local wikiproject for any guidance on which to use first. This could be the south or western end, but local guidance may reverse that.
  • terminus_a: this is where the route begins, see the local wikiproject for guidance.
  • direction_b: The opposite of "direction_a"
  • terminus_b: where the route ends, in accordance with the guidelines set forth with terminus_a
  • junction: a list of major junctions. Each WikiProject has different guidelines for major junctions, so consult the relevant WikiProject for more details.

Construction

[edit]
  • commissioning_date: this is the date the route was commissioned.
  • construction_start_date: this is the date that construction was started on the route.
  • completion_date: this is the date that construction was completed on the route.
  • inauguration_date: this is the date that the route was opened; use {{start date}} where possible.
  • demolition_date: date the route was decommissioned

Location

[edit]

Other

[edit]
  • known_for: why is the street notable?
  • status: e.g. heritage status, pedestrianised
  • website for official websites; use {{URL}}
  • browse: used to add browse lines which are generated by templates like {{Nearby arterials}}. See Category:Browse templates.
  • embedded: embedded child infoboxes

Microformat

[edit]

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

[edit]

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

[edit]

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

[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking categories

[edit]

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox street in articles based on its TemplateData.

TemplateData for Infobox street

TemplateData

An infobox for a street

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
embedembed

no description

Unknownoptional
Namename

The name of the street

Unknownoptional
marker_imagemarker_image

no description

Unknownoptional
alternate_namealternate_name

no description

Unknownoptional
other_nameother_name

no description

Unknownoptional
imageimage

no description

Fileoptional
image_sizeimage_size

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
captioncaption

no description

Unknownoptional
map_typemap_type

no description

Unknownoptional
coordinatescoordinates

no description

Unknownoptional
map_sizemap_size

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
image_mapimage_map

no description

Unknownoptional
map_altmap_alt

no description

Unknownoptional
native_namenative_name

no description

Unknownoptional
former_namesformer_names

no description

Unknownoptional
part_ofpart_of

no description

Unknownoptional
namesakenamesake

no description

Unknownoptional
typetype

no description

Unknownoptional
ownerowner

no description

Unknownoptional
maintmaint

no description

Unknownoptional
lengthlength

no description

Unknownoptional
length_milength_mi

no description

Unknownoptional
length_kmlength_km

no description

Unknownoptional
length_reflength_ref

no description

Unknownoptional
length_mlength_m

no description

Unknownoptional
length_ftlength_ft

no description

Unknownoptional
length_noteslength_notes

no description

Unknownoptional
widthwidth

no description

Unknownoptional
surface_areasurface_area

no description

Unknownoptional
areaarea

no description

Unknownoptional
countrycountry

no description

Unknownoptional
allocationallocation

no description

Unknownoptional
touristtourist

no description

Unknownoptional
restrictionsrestrictions

no description

Unknownoptional
addressesaddresses

no description

Unknownoptional
locationlocation

no description

Unknownoptional
arrondissementarrondissement

no description

Unknownoptional
quarterquarter

no description

Unknownoptional
postal_code_typepostal_code_type

no description

Unknownoptional
postal_codepostal_code

no description

Unknownoptional
metro_systemmetro_system

no description

Unknownoptional
metrometro

no description

Unknownoptional
grid_namegrid_name

no description

Unknownoptional
grid_positiongrid_position

no description

Unknownoptional
terminus_aterminus_a

no description

Unknownoptional
direction_adirection_a

no description

Unknownoptional
junctionjunction

no description

Unknownoptional
terminus_bterminus_b

no description

Unknownoptional
direction_bdirection_b

no description

Unknownoptional
northnorth

no description

Unknownoptional
easteast

no description

Unknownoptional
southsouth

no description

Unknownoptional
westwest

no description

Unknownoptional
commissioning_datecommissioning_date

no description

Unknownoptional
construction_start_dateconstruction_start_date

no description

Unknownoptional
completion_datecompletion_date

no description

Unknownoptional
inauguration_dateinauguration_date

no description

Unknownoptional
demolition_datedemolition_date

no description

Unknownoptional
main_contractormain_contractor

no description

Unknownoptional
costcost

no description

Unknownoptional
referencesreferences

no description

Unknownoptional
inauguration_labelinauguration_label

no description

Unknownoptional
known_forknown_for

no description

Unknownoptional
statusstatus

no description

Unknownoptional
designerdesigner

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
embeddedembedded

no description

Unknownoptional
dot_map_base_altdot_map_base_alt

no description

Unknownoptional
dot_map_markerdot_map_marker

no description

Unknownoptional
dot_map_marker_sizedot_map_marker_size

no description

Unknownoptional
dot_mapsizedot_mapsize

no description

Unknownoptional
dot_xdot_x

no description

Unknownoptional
dot_ydot_y

no description

Unknownoptional
image_dot_mapimage_dot_map

no description

Unknownoptional

See also

[edit]
  • {{Infobox road}} – An infobox for use on articles about roads.