Template:Jctint/doc

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  or   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  after either   or.

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: 

...and fill in the variables! For more entries, use this: 

Horizontal: 

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: 

...and fill in the variables! For more entries, use this: 

Exit list usage for roadways with old exit numbers
This is the basic syntax you need to get a complete exit list table for roads that have numbered grade-separated interchanges and old exit numbers. Just copy and paste the code below: 

...and fill in the variables! For more entries, use this: 

Parameters
For the above parameters, here's what you should fill in:
 * state: the state the intersection is at, do not use if cspan or lspan is specified for the row (use the state's postal abbreviation)
 * sspan: set to add a column for the state/province in a multi-state/provincial junction list. This uses the state or province's abbreviation to generate the link. This parameter needs to be set to the number of rows the state/province spans—if value=1, do not omit this parameter
 * state_special: (replaces state) state/province where the junction is located—use for custom entries only. Full wiki markup is required.
 * county: name of the county without wiki markup—the county is automatically linked by the template
 * cspan: number of rows the county spans—if value=1, omit this parameter
 * county_special: (replaces county) county (or equivalent) where the junction is located—use for custom entries only. Full wiki markup is required.
 * county_note: used to display a note, such as county mileage, in small text below the county name—used primarily for California.
 * 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 none (preferred) or (deprecated) will create a blank cell.
 * lspan: number of rows the location spans. If value=1, omit this parameter. Ignored when none or.
 * 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.
 * ctdab: (optional for use with location) further disambiguation by county (Brighton in New York is an example where this tag would be used)
 * 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
 * mplex or 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, 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
 * mile: milepost of the junction. If unknown, leave blank.
 * km: if the table uses kilometres instead of miles.
 * mile2 or km2: the second measurement if the location is in a range of miles or kilometres instead of one stated point.
 * mspan to span multiple rows with the same mileage. Use 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.