Template:Jcon/doc

JunCtion ONtario is a template similar to, 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.




 * 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 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: