 | This template uses Lua:
|
JunCtion ONtario is a template similar to {{jct}}
, with added functionality not available in the jct template. It is currently designed for representing Ontario highways and county (numbered) roads. The template is designed to display up to three concurrent roads (in the same system). Entries are Case-Sensitive.
{{jcon|1|2|3|nosh=|nolink=|notext=|size=|ot=|town=|town2=|city=|city2=|con=|dir=|pic aft=|showred=|shield=}}
Usage
Parameter |
|
|
1
|
required |
Specifies the type of road. If the road is a provincial highway (including secondary highways and freeways), either Hwy or Highway should be entered. If the road is a numbered county route (or the jurisdictional equivalent to a county), simply enter the name of the county here (without the Region or County or District) or an abbreviation. All regions, abbreviations and acceptable inputs are listed under the supported header. This also supports other inputs such as airport or bus to return MTO signs for them.
|
2
|
required |
Specifies the route number. Pretty straightforward.
|
3
|
optional |
The name of the road (if different from its numbered designation) should be entered here. The template will display this name (as is) within parenthesis.
|
con=
|
optional |
Enter concurrencies in here to make a second route of the same type show up. Since King's Highways supersede county routes, concurrencies only exist within the same systems (two county roads or two highways). The number entered under the con parameter should be the higher of the two. See example 3.
|
con2=
|
optional |
As with |con=
|
nosh=
|
optional |
If this parameter is specified with anything (a single letter will do) after the equal sign, the image will not be displayed. This is useful for prose, where icons are considered intrusive and not permitted. See examples 4, 5 and 9.
|
nolink=
|
optional |
As with |nosh= , it is activated by assigning any value to it. Use of this parameter will prevent the road name from being linked (useful for removing redlinks). See example 5.
|
notext=
|
optional |
It is activated by assigning any value to it. Using this parameter prevents the display of the link and text; only a shield will be displayed. See example 7.
|
size=
|
optional |
The default value varies, but normally about x20px , which is usually adequette. On the odd occasion, a larger size may be useful or required. For example, the template can be used as the value of the |browse_route= parameter of {{Infobox road}} to display a larger version of a county road sign. See examples 6 and 7.
|
ot=
|
optional |
It is activated by assigning any value to it. Using this parameter prevents a shield and a link. The result is plain text. Stands for only text. See example 8
|
city= or town=
|
optional |
When entered, a ndash (–) will be entered at the end of the route, followed by the content after the equal sign. See example 9.
|
city2= or town2=
|
optional |
When entered, a comma (,) will be entered after city/town 1, followed by the content after the equal sign. See example 9.
|
dir=
|
optional |
If a junction only gives access to a road in a certain direction, enter that direction here, preferably as one of the cardinal directions.
|
pic aft=
|
optional |
Move the picture(s)/shield(s) to the end of the output. See example 11.
|
showred=
|
optional |
If set to any value, red links will be shown.
|
shield=
|
optional |
Set to yes to generate reassurance markers instead of junction crowns (generally only for when a route continues as another)
|
tch=
|
optional |
If set to any value, adds the shield and link for the Trans-Canada Highway
|
Examples
No |
Code |
Result
|
01 |
{{Jcon|Simcoe|42}} |
County Road 42
|
02 |
{{Jcon|York|68|Markham Road}} |
Regional Road 68 (Markham Road)
|
03 |
{{Jcon|Hwy|7|con=12|Baldwin Street}} |
Highway 7 / Highway 12 (Baldwin Street)
|
04 |
{{Jcon|Highway|35|nosh=y}} |
Highway 35
|
05 |
{{Jcon|Ottawa|11|Moodie Drive|nosh=y|nolink=y}} |
Regional Road 11 (Moodie Drive)
|
06 |
{{Jcon|Highway|11|size=30px}} |
Highway 11
|
07 |
{{Jcon|Hwy|11|notext=y|size=30px}} |
|
08 |
{{Jcon|Durham|23|ot=y}} |
Regional Road 23
|
09 |
{{Jcon|Hwy|401|nosh=y|town=Ajax}} |
Highway 401 – Ajax
|
10 |
{{Jcon|Hwy|6|con=21|con2=26|town=Collingwood|city2=Owen Sound}} |
Highway 6 / Highway 21 / Highway 26 – Collingwood, Owen Sound
|
11 |
{{Jcon|Hwy|6|con=21|con2=26|town=Collingwood|pic aft=y}} |
Highway 6 / Highway 21 / Highway 26 – Collingwood
|
12 |
{{Jcon|Bus}} [[Bus station]] |
Bus station
|
13 |
{{Jcon|Airport}} [[Pearson Airport]] |
Pearson Airport
|
14 |
{{Jcon|Highway|17|tch=y}} |
Highway 17
|
15 |
{{Jcon|Hwy|QEW|shield=yes}} |
Queen Elizabeth Way
|
Supported
Note: All inputs are converted to lowercase
Supported 'Regions':
• Brant
• brant
• Brant County Highway
• bch
• brant county highway
• Bruce
• bruce
• Central Frontenac
• c frontenac
• central frontenac
• Chatham-Kent
• chatham kent
• chatham-kent
• ck
• Cornwall
• cornwall
• Dufferin
• dufferin
• Durham
• durham
• Durham Regional Highway
• drh
• durham regional highway
• Elgin
• elgin
• Essex
• essex
• Frontenac
• frontenac
• Frontenac Islands
• fi
• frontenac islands
• Grey
• grey
• Haldimand
• haldimand
• Haldimand County Highway
• haldimand county highway
• hch
• Haliburton
• haliburton
• hh
• Halton
• halton
• Hamilton
• hamilton
• Hastings
• hastings
• Highway
• highway
• hwy
• Huron
• huron
• Kawartha Lakes
• ckl
• kawartha lake
• kawartha lakes
• kl
• klinfo
• Kingston
• kingston
• Lambton
• lambton
• Lanark
• lanark
• Leeds and Grenville
• leeds and grenville
• lg
• Lennox and Addington
• la
• lennox and addington
• Middlesex
• middlesex
• Muskoka
• muskoka
• Niagara
• niagara
• Norfolk
• norfolk
• Norfolk County Highway
• nch
• norfolk county highway
• North Dumfries
• n dumfries
• north dumfries
• North Frontenac
• n frontenac
• north frontenac
• Northumberland
• northumberland
• Ottawa
• ottawa
• Oxford
• oxford
• Peel
• peel
• Perth
• perth
• Perth County Line
• pcl
• perth county line
• Peterborough
• pb
• peterborough
• Prescott and Russell
• pr
• prescott and russell
• Prince Edward
• pec
• prince edward
• Quinte West
• cqw
• quinte west
• qw
• qwinfo
• Renfrew
• renfrew
• Simcoe
• simcoe
• South Frontenac
• s frontenac
• south frontenac
• Stormont, Dundas and Glengarry
• sdg
• stormont dundas and glengarry
• stormont, dundas and glengarry
• stormont, dundas, glengarry
• Sudbury
• greater sudbury
• gs
• sb
• sudbury
• Tyendinaga
• tyendinaga
• Waterloo
• waterloo
• Wellesley
• wellesley
• Wellington
• wellington
• Wilmot
• wilmot
• Wollaston
• wollaston
• Woolwich
• woolwich
• York
• york
• yr
Supported MTO signs:
• bus
• ferry
• hospital
• train station
• airport
See also
Template:Ontario Provincial Highways