Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Parameters  



2.1  Location  





2.2  Intersecting routes  





2.3  Destinations  





2.4  Appearance  







3 Examples  





4 See also  














Template:Jct






Afrikaans
العربية

Asturianu
تۆرکجه

 / Bân-lâm-gú

Ελληνικά
Español
فارسی
Føroyskt
Galego

Hausa
Հայերեն
ि
Bahasa Indonesia
Kurdî
ि
Македонски


Bahasa Melayu


Oʻzbekcha / ўзбекча

Português
Română
Scots
Simple English
کوردی
Tagalog
ி


Тоҷикӣ
Türkçe
اردو
Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This template produces a junction listing for the junction list of a highway article, and can be used as an argument to |road= in a template for an intersection such as {{jctint}}.

Usage

The full syntax is as follows.

{{jct|country=|state=
  |to1=|1|2|county1=|dab1=|dir1=|name1=
  |to2=|3|4|county2=|dab2=|dir2=|name2=
  |to3=|5|6|county3=|dab3=|dir3=|name3=
  |to4=|7|8|county4=|dab4=|dir4=|name4=
  ...
  |city1=|location1=
  |city2=|location2=
  |city3=|location3=
  |city4=|location4=
  ...
  |extra=
}}

Many parameters shown above are unnecessary in most cases, and can be omitted.

Parameters

Parameters |in bold= are most important.

Location

Intersecting routes

For routes in the United States, see this page.
For routes in Canada, the following designations are supported:
  • AB (Alberta) - Hwy (primary and secondary provincial highways)
  • ON (Ontario) - Highway (provincial highway, all types), RR (Regional Road, must supply a county argument for region)
  • QC (Quebec) - Route (standard route), A (Autoroute)
  • MB (Manitoba) - Hwy (primary provincial highway), PR (secondary provincial highway), Winnipeg (Winnipeg city route)
  • NB (New Brunswick) - Route (NOTE: Not all routes have shield graphics at present.)
  • NS (Nova Scotia) - Trunk (trunk route), Hwy (highway), Route (other route)
  • PE (Prince Edward Island) - PE (all numbered routes except TCH)
  • All provinces - TCH (Trans-Canada Highway)
For routes in Australia, see this page.
For United Kingdom routes:
  • M = Motorway
  • A = A roads
For A roads that have a motorway segment, example: A1(M), use M as the route type and the A1 as the number

Destinations

|areadab<i>= accepts the area to be used for further disambiguating the ith city, such as a name that could refer to a town or a village within the same county.
|countydab<i>= accepts the name of the county to be used for disambiguating the ith city, e.g., for a town whose name coincides with another in a different county within the same state.
|location<i>= accepts wikicode that overrides |city<i>=, and should be used if the destination city is located outside of the state the junction is in, or if the destination city has a Wikipedia page title that does not include its state (such as New York City, Los Angeles, or Chicago).
Specifications for additional types and custom shields may be added to Module:Road data/extra.

Appearance

|noshield= accepts any value. The presence of |noshield= indicates that no shield should be displayed.
|nolink= accepts any value. The presence of |nolink= indicates that all routes at the junction should not be wikilinked.

Examples

I-35 – Dallas, San Antonio
SR A1A – Miami, Jacksonville
NY 31 (Monroe Avenue) – Pittsford

US 20 Bus. (State Street)
M-37 (Broadmoor Avenue) – Grand Rapids, Hastings, Gerald R. Ford International Airport
Hwy 99 – Vancouver
G40 – Nantong, Qidong, Chongming Island
A 6 / A 81 – Würzberg, Nuremberg
M1 – The North
D303 – Rovinj

The list of countries that are set up limits the set of examples.

For a list of all current defined sub-templates, see: prefix:Template:Jct/

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Jct&oldid=716799253"

Categories: 
Lua-based templates
Road marker templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 23 April 2016, at 23:24 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki