Template:Jcttop/core/doc

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

Parameters
Bold parameters are the most important parameters.

Pass-through parameters
These parameters can simply be passed through to a wrapper template, such as Jcttop or NYinttop.
 * 1 accepts the following values: exit and old. Exit will turn on the exit number column of the table, while old will turn on both the old and new exit number columns.
 * 2 only accepts name, which will turn on a column for named interchanges.

Columns

 * region_col accepts any text for the type of region and will automatically format it into "Sentence case". This parameter will turn on the region column.  Examples of suggested usage State, Province, State/Province.
 * sub1name takes the type of first-level division. Counties would simply use County.
 * nosub1 will drop the county column without creating a hatnote.


 * sub1disp takes the type of first-level division to display in the table header, if it should be different from sub1name.
 * location_def takes the type of second-level division, such as a city. Defaults to Location.
 * unit takes the column name of the unit in the left length column. Since the Jctint suite of templates only converts miles and kilometers, use Mile or km.
 * unit2 takes the column name of the other unit. If Mile, use km and vice versa.
 * altunit takes the column name of an alternate unit that will not be converted, such as Postmile for California. To turn off the  and  columms when using, set off.


 * exit_def takes the column name for grade-separated junctions. Defaults to Exit.
 * old_def takes the column name for old grade-separated junctions. Only works when old.  Defaults to Old exit.  When used,  defaults to New exit.
 * name_def takes the column name for named grade-separated junctions. Only works when exit/old.  Defaults to Name.


 * dest_def takes the column name for intersected roads and destinations. Defaults to Destinations.
 * notes_def takes the column name for special notes for the intersections. Defaults to Notes.

Column references
Most columns have the ability for inline references to be added
 * Location – sub2_ref
 * Unit – length_ref
 * Altunit – altunit_ref
 * Exit – exit_ref
 * Old exit – old_ref
 * Name – name_ref
 * Destinations – dest_ref
 * Notes – notes_ref

Hatnote
These parameters work only on a hatnote that appears directly above the table.
 * region_note takes any special note specific to a specific region.
 * hatnote takes any general note for all routes.
 * region accepts the name of a state, province, or other equivalent region.
 * sub1 (subdivision-1) accepts the name of the first-level division in a state or province, such as a county. This parameter will drop the county column.
 * sub2 (subdivision-2) accepts the name of a city or township within the first-level division. This parameter will drop the location column.
 * sub1dab accepts only yes. If specified, this parameter will disambiguate a city or township; useful for similarly-named locations in different counties.
 * area accepts text; however any text will be included in the wikilink. For example, town will add the disambiguation in Jamestown.


 * indep_city accepts the names of independent cities which are themselves first-level divisions of the state or province. Since they are both counties and cities, this parameter will drop both the county and location columns.
 * former accepts only yes. If specified, it will change the hatnote from present tense to past tense.
 * unnum accepts only yes. If specified, it will add a note saying the route has only unnumbered interchanges.

Examples

 * See also: Jcttop, MIinttop, NYinttop, ONinttop