ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ: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 |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:

{{Jcttop}}
{{Jctint
|state=
|county=
|cspan=
|location=
|lspan=
|type=
|mile=
|road=
|notes=
}}
{{Jctbtm}}

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

{{Jctint
|state=
|location=
|lspan=
|type=
|mile=
|road=
|notes=
}}

Horizontal:

{{Jctint |state= |location= |lspan= |type= |mile= |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:

{{Jcttop|exit}}
{{Jctint|exit
|state=
|county=
|cspan=
|location=
|lspan=
|type=
|mile=
|exit=
|road=
|notes=
}}
{{Jctbtm}}

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

{{Jctint|exit
|state=
|location=
|lspan=
|type=
|mile=
|exit=
|road=
|notes=
}}

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:

{{Jcttop|old}}
{{Jctint|old
|state=
|county=
|cspan=
|location=
|lspan=
|type=
|mile=
|old=
|exit=
|road=
|notes=
}}
{{Jctbtm}}

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

{{Jctint|old
|state=
|location=
|lspan=
|type=
|mile=
|old=
|exit=
|road=
|notes=
}}

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 |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.
    • 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 |mile=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

[ਸੋਧੋ]
  • List of children templates - these automatically fill in the state or province.
  • {{jcttop}}, a template that generates a -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