Template:Infobox road
This template summarizes an individual road, highway, avenue, route, or comparable named road corridor. Use {{Infobox highway system}} for an entire jurisdictional road network.
To use this template, insert the following code at the beginning of a road article:
{{Infobox road
| name =
| route_number =
| marker_image =
| marker_alt =
| marker_caption =
| map =
| map_alt =
| map_caption =
| system =
| type =
| maintained_by =
| length =
| established =
| direction_a =
| terminus_a =
| direction_b =
| terminus_b =
| junctions =
| regions =
| settlements =
| restrictions =
| website =
| notes =
| nocat =
}}
Parameters
Each parameter is optional. Blank parameters are not displayed.
- name: Road name. Defaults to the page title.
- route_number: Official route number or designation.
- marker_image: Route marker or shield filename without brackets.
- marker_alt: Concise alternative text for the route marker.
- marker_caption: Route marker caption.
- map: Map filename without brackets.
- map_alt: Concise alternative text for the map.
- map_caption: Map caption.
- system: Highway or road system to which the road belongs.
- type: Road type or functional classification.
- maintained_by: Responsible road authority or operator.
- length: Length, including units.
- established: Date opened, designated, or established.
- direction_a: Direction or endpoint label for terminus A.
- terminus_a: First terminus.
- direction_b: Direction or endpoint label for terminus B.
- terminus_b: Second terminus.
- junctions: Principal junctions and interchanges.
- regions: Regions or jurisdictions traversed.
- settlements: Principal settlements served.
- restrictions: Notable access, vehicle, or seasonal restrictions.
- website: Official website.
- notes: Explanatory notes or references.
- nocat: Set to yes to suppress automatic categorization.
Compatibility
The template accepts route for name; number for route_number; shield for marker_image; map_notes for map_caption; subtype for type; maint for maintained_by; length_km or length_mi when length is absent; formed for established; terminus1 and terminus2 for the termini; country, state, or province for regions; cities for settlements; and footnotes for notes. These aliases cover the existing highway-system conventions and common imported road syntax.
Categorization
Articles using the template are added to Category:Roads. Categorization occurs only in the main namespace and may be suppressed with |nocat=yes.
Example
The following non-canonical example uses the preferred parameters:
| Route number | A1 |
|---|---|
| Road system | National road network |
| Type | Trunk road |
| Maintained by | Roads Directorate |
| Length | 184 km |
| Established | 1692 AN |
| West terminus | Harbor Junction |
| East terminus | Cape Junction |
| Major junctions | B4 at Central Crossing |
| Regions | Coastal Region |
| Major settlements | Sample City; Port Example |
Compatibility tests
This test uses highway-system and imported-road aliases:
| Route number | B7 |
|---|---|
| Type | Regional road |
| Maintained by | Regional authority |
| Length | 48 km |
| Established | 1701 AN |
| Terminus A | North Junction |
| Terminus B | South Junction |
| Regions | Sample Province |
| Major settlements | Sample City |
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |