![]() | This is the template sandbox page for Template:Infobox street (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
{{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.
{{{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 =
| mapframe = <!-- yes, see other parameters below -->
| 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 =
}}
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".
|map=
, |image_map=
, |map_type=
|mapframe-geomask=
is set, "Location in geomask's label"){{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|coord={{Coord|12.34|N|56.78|E}}
. Default: coordinates from Wikidatayes
to show shape/line features from the wikidata item, if any, when |coord=
is set. Default: not specifiednone
. Use an inverse shape (geomask) instead of a regular shape by setting to inverse
. Default: not specifiednone
. Force point marker to be displayed by setting to on
. Default: not specifiednone
. Default: not specifiedP17
for country (P17), P131
for located in the administrative territorial entity (P131)). Default: not specifiedauto
or geomasks
or zooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
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.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 of 3
), "zoomed out" is 1
, and "zoomed midway" is the averageblank
to override any default marker symbol
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.
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.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData for Infobox street
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
An infobox for a street
|