Template:Infobox street/doc: Difference between revisions
steps |
+ |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{tl|Infbox street}} may be used for urban and rural thoroughfares, lanes, alleys, public highways and similar features, including squares/ piazzas (note {{para|area}}) and steps/ staircases (note {{Para|steps}}. For trunk roads use {{tl|Infobox road}}. For green spaces, consider {{tl|Infobox park}}, which also serves for gardens and suchlike. |
|||
All parameters are optional. |
|||
== Usage == |
== Usage == |
Revision as of 21:32, 23 February 2014
This is a documentation subpage for Template:Infobox street. It may contain usage information, categories and other content that is not part of the original template page. |
{{Infbox street}} may be used for urban and rural thoroughfares, lanes, alleys, public highways and similar features, including squares/ piazzas (note |area=
) and steps/ staircases (note |steps=
. For trunk roads use {{Infobox road}}. For green spaces, consider {{Infobox park}}, which also serves for gardens and suchlike.
All parameters are optional.
Usage
{{Infobox street | name = | native_name = | marker_image = | image = | caption = | other_name = | former_names = | postal_code = | addresses = | length_m = | length_ft = | length_mi = | length_km = | length_ref = | width = | area = | steps = | location = | client = | maint = | coordinates = | direction_a = | terminus_a = | direction_b = | terminus_b = | junction = | designer = | commissioning_date = | construction_start_date = | completion_date = | inauguration_date = <!-- {{Start date|YYYY|MM|DD}} --> | demolition_date = | north = | south = | west = | east = | website = }}
Parameters
Route information
- name: street name to be displayed.
- marker_image: shield image to be displayed. Requires full wiki markup.
- maint: the agency that maintains the street.
- 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.- caption: an optional parameter with text to display along with the image.
- 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
- 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.
- junction: a list of major junctions. Each WikiProject has different guidelines for major junctions, so consult the relevant WikiProject for more details.
- direction_b: The opposite of "direction_a"
- terminus_b: where the route ends, in accordance with the guidelines set forth with terminus_a
Construction
- 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
Other
- known_for: why is the street notable?
- status: e.g. heritage status, pedestrianised;
Location
- coordinates: use {{Coord}}
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.
See also
- {{infobox road}} – An infobox for use on articles about roads.