Template:Jcon/doc

From Simple English Wikipedia, the free encyclopedia

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=}}
Usage
  • 1 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 one of the following abbreviations:
CK = Chatham-Kent
HH = Haliburton
KL = Kawartha Lakes
LA = Lennox and Addington
LG = Leeds and Grenville
PB = Peterborough
PR = Prescott and Russell
SDG = Stormont, Dundas and Glengarry
  • 2 specifies the route number. Pretty straightforward.
  • 3 is 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= is 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= is optional. As with con=
  • nosh= is optional. If this parameter is specified with anything (a single letter will do) after the equal sign, the shield 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= is 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= is 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= is optional. The default value is "20x25px", 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= is optional. It is activated by assigning any value to it. Using this parameter prevents a shield and a link. The result is plain text. See example 8
  • city= OR town= is 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.
  • dir= is 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.
Examples
  1. {{Jcon|York|68|Markham Road}}
     Regional Road 68 (Markham Road)
  2. {{Jcon|Simcoe|42}}
     County Road 42
  3. {{Jcon|Hwy|7|con=12|Baldwin Street}}
      Highway 7 / Highway 12 (Baldwin Street)
  4. {{Jcon|Highway|35|nosh=y}}
    Highway 35
  5. {{Jcon|Ottawa|11|Moodie Drive|nosh=y|nolink=y}}
    Regional Road 11 (Moodie Drive)
  6. {{Jcon|KLinfo|11|size=30px}}
    Road 11
  7. {{Jcon|Hwy|11|notext=y|size=30px}}
     Highway 11
  8. {{Jcon|Durham|23|ot=y}}
     Regional Road 23
  9. {{Jcon|Hwy|401|nosh=y|town=Ajax}}
    Highway 401 – Ajax
  10. {{Jcon|Hwy|6|con=21|con2=26|town=Collingwood}}
       Highway 6 / Highway 21 / Highway 26 – Collingwood