Template:OMNint
This is a template for generating a junction list or an exit for a route article. Please note, if a section of the table has numbered exits, you must follow the coding for exit lists throughout the table; omitting the |exit
or |old
after the template name will result in formatting errors on at-grade junctions. If a highway has a freeway section, and none of those exits are numbered, you may use the coding for at-grade junction lists.
If a freeway has named interchanges, like the Pennsylvania Turnpike, add |name
after either |exit
or |old
.
Junction list usage
This is the basic syntax you need to get a complete junction table for roads that only have at-grade intersections. Just copy and paste the code below:
{{OMNinttop}}
{{OMNint
|governorate=
|gspan=
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
{{Jctbtm}}
...and fill in the variables! For more entries, use this:
{{OMNint
|governorate=
|location=
|lspan=
|type=
|km=
|road=
|notes=
}}
Exit list usage
This is the basic syntax you need to get a complete exit list table for roads that have numbered grade-separated interchanges. Just copy and paste the code below:
{{OMNinttop|exit}}
{{OMNint|exit
|governorate=
|gspan=
|location=
|lspan=
|type=
|km=
|exit=
|road=
|notes=
}}
{{Jctbtm}}
...and fill in the variables! For more entries, use this:
{{OMNint|exit
|governorate=
|location=
|lspan=
|type=
|km=
|exit=
|road=
|notes=
}}
Parameters
For the above parameters, here's what you should fill in:
- governorate: name of the governorate without wiki markup—the governorate is automatically linked by the template
- gspan: number of rows the governorate spans—if value=1, omit this parameter
- governorate_special: (replaces governorate) county (or equivalent) where the junction is located—use for custom entries only. Full wiki markup is required.
- location: name of the location without wiki markup—the location is automatically linked by the template. When an intersection is not in any location as is often the case in states outside of the northeast, either
|location=none
(preferred) or|location=
(deprecated) will create a blank cell.- lspan: number of rows the location spans. If value=1, omit this parameter. Ignored when
|location=none
or|location=
. - location_special: (replaces location) location where the junction is located—use for custom entries only. Full wiki markup is required. Ignored when
|location=
is set. - area: (optional for use with location) used to disambiguate between town, city, village, etc.
- lspan: number of rows the location spans. If value=1, omit this parameter. Ignored when
- indep_city: set to "yes" if the location in "location" is an independent city
- indep_city_special: (replaces location and indep_city) independent city where junction is located—use for custom entries only. Full wiki markup is required.
- type: use to specify a shading for that junction's row. The permitted types are:
- closed: for highway junctions that are now closed to traffic
- concur: for overlaps or concurrencies
- unbuilt: for unbuilt roadway junctions/interchanges
- incomplete: for incomplete intersections/interchanges where all movements are not supported (Northbound exit and southbound entrance, no westbound exit, etc.)
- HOV: for high-occupancy vehicle-only intersections/interchanges
- etc or toll: for intersections/interchanges that involve a toll; on toll roads this could be for intersections/interchanges where only electronic toll collection is offered
- trans: use to specify point at which a highway transitions from one designation to another
- km: kilometerpost of the junction. If unknown, leave blank.
- km2: the second measurement if the location is in a range of miles or kilometres instead of one stated point.
- kmspan to span multiple rows with the same mileage. Use
|km=none
in the spanned rows.
- exit: exit number of the junction. If the junction is not a numbered exit, leave blank; if an exit is unnumbered, either leave blank or insert an em dash (—) as desired.
- old: If the roadway had its exit numbers changed, use this to indicate the old number.
- name: If a freeway has named interchanges, like the Pennsylvania Turnpike, use this to set the name for the interchange.
- road: road that the article route intersects at this junction. To generate the proper coding, use the {{jct}} template.
- notes: any notes regarding that junction. This must include an explanation for any usage of the type-generated shading.
- nspan: number of rows the notes span. If value=1, omit this parameter.
Any parameter which is empty can be omitted.
See also
- {{OMNinttop}}, a template that generates a MOS:RJL-compliant header for the junction list
- {{jctbtm}}, a template that closes the junction list table
- {{jctbridge}}, a template that generates rows for bridge crossings
- {{jctco}}, a template that generates rows for counties without junctions
- {{jctgap}}, a template for generating a row for a gap in the route
- {{jcttunnel}}, a template that generates rows for tunnel crossings
- {{jctrestarea}}, a template that generates rows for rest areas, service areas and the like