Template:Jctint/core/doc

This is the base template for creating Manual of Style-compliant road junction lists.

Parameters
Parameters in bold are most important.

Pass-through parameters
A wrapper template, e.g., IAint and CTint, can simply pass these parameters to this template unmodified.
 * 1 accepts one of exit (to turn on a column for the exit number) and old (to turn on both columns for former and current exit numbers).
 * 2 only accepts name (to turn on a column for wikicode named interchanges).

Appearance

 * jspan accepts an integer as the desired number of rows to span for all columns. Default value is 1.  This value may be overridden if a particular column specifies a desired number of rows to span.

Locations

 * unitary accepts wikicode to span across the region, sub1, and sub2 columns.
 * unitary_align accepts one of left, center, and right as the desired text alignment for the unitary cell. Default value is left.


 * primary_topic only accepts no. Use if independent cities or second-level subdivisions must be disambiguated, such as cities in the United States, where cities must be further disambiguated by a state.


 * region accepts the name of a state, province, or other equivalent region. The name will be automatically wikilinked.
 * region_special accepts wikicode that overrides region.
 * regionspan accepts an integer as the desired number of rows for the given region. Must be specified to turn on the region column, e.g., for a route that crosses a state or provincial boundary.


 * sub1 (subdivision-1) accepts the name of a first-level division within the region, such as a county. The name will be automatically wikilinked.
 * sub1_special accepts wikicode that overrides sub1.
 * sub1name accepts the type of the first-level division to be appended to sub1, e.g., County for counties.
 * sub1span accepts an integer as the desired number of rows for the given division. Default value is jspan.
 * sub1_note accepts wikicode to appear as a note in small text below the division name.


 * sub2 (subdivision-2) accepts the name of a subdivision within the first-level division, such as a city or a township. The name will be automatically wikilinked.  If none, a blank cell is created for the sub2 column.
 * sub2_special accepts wikicode that overrides sub2.
 * sub2span accepts an integer as the desired number of rows for the given subdivision. Default value is jspan.
 * sub1dab accepts the name of a first-level division to be used for disambiguating the given subdivision, e.g., for a town whose name coincides with another in a different county within the same state.
 * area accepts the area of the subdivision for further disambiguating the given subdivision, such as a name that could refer to a town or a village within the same county. For example, town will create a link similar to Town of Jamestown.


 * indep_city accepts the names of an independent city which is itself a first-level division within a region, to span both subdivision columns.
 * indep_city_special accepts wikicode that overrides indep_city.
 * indep_city_align accepts one of left, center, and right as the desired text alignment for the independent city cell. Default value is left.
 * Use sub2span for the desired number of rows for the given independent city.

Units

 * unit accepts a number as milepost or kilometerpost to appear in the left distance column. The template automatically converts this value to the other unit (miles ↔ kilometers) that will appear in the right distance column.
 * unit_ref accepts wikicode as a reference for the given marker.
 * uspan accepts an integer as the desired number of rows for the given marker and its conversion. Default value is jspan.


 * unitdef accepts one of mi and km as the unit of unit. Default value is km.
 * unit2 accepts a secondary marker to appear alongside unit, separated by an en-dash. Useful when an intersection spans across two markers.
 * line separates both markers with a horizontal rule instead of an en-dash.


 * altunit accepts wikicode that overrides unit, to appear in the single distance column. Useful for nonnumerical markers, such as California's postmiles.
 * auspan accepts an integer as the desired number of rows for the given marker. Default value is jspan.

 If unit or unit2 contains a nonnumerical value, the article in question will be placed into Category:Jctint template using non-numeric parameter values.

Exits and intersections

 * type accepts one of the keys in Module:Road data/RJL types to characterize the junction.
 * place accepts wikicode that overrides all of the parameters below, to span across all destination and notes columns.  If none, no place cell is created; useful for spanning earlier place across rows below.
 * pspan accepts an integer as the desired number of rows for the given place. Default value is jspan.


 * exit accepts wikicode for an exit number to appear in the exit number column, if displayed.
 * espan accepts an integer as the desired number of rows for the given exit number. Default value is jspan.


 * old accepts wikicode for a former exit number to appear in the former exit number column, if displayed.
 * ospan accepts an integer as the desired number of rows for the given former exit number. Default value is jspan.


 * name accepts wikicode for the name of an interchange to appear in the named interchange column, if displayed. This should only be used if the name can be easily cited.
 * namespan accepts an integer as the desired number of rows for the given former interchange name. Default value is jspan.


 * road accepts wikicode, including jct, for the description of an intersecting road.
 * rspan accepts an integer as the desired number of rows for the given intersecting road description. Default value is jspan.


 * notes accepts wikicode for notes on the junction. If none, no notes cell is created; useful for spanning earlier notes across rows below, or for spanning the intersection columns.
 * nspan accepts an integer as the desired number of rows for the given notes. Default value is jspan.


 * rcspan accepts an integer as the desired number of columns to span across the destination and notes columns. Default value is 1.  It is necessary to turn off the notes column using none.

Examples

 * See also: CTint, IAint, ILint, INint, LAint, MNint, ONint, and WIint