Template:Shieldlist
Jump to navigation
Jump to search
Road number {{{2}}} |
Creates a uniform appearance link suitable for use in list of highway tables in Ontario.
Usage
Use is similar to {{jcon}} - Enter a county and a route number. The entry will link if the article exists, and a shield will be displayed to the left if it exists. In a list of highways or county roads, this template is placed within the cells in the "Route number" column. For best effectiveness and for sorting purposes, the following is the best use:
- {{ntsh|###}}{{anchor|#}}{{shieldlist|county or "hwy"|#}} (direction (if applicable))
- The first number - for {{ntsh}} - should have leading zeroes, otherwise 1 and 100 are next to each other. Instead use 001, or just 01 if the numbers in the table don't reach three digits. This template allows the table to be sortable, and can be used in other cells to sort otherwise unsortable data. See List of numbered roads in Kawartha Lakes for a fully-developed example.
- The second number - for {{anchor}} - does not suffer from this issue. This allows you to link from other articles to the specific table row the same way as you would to a section header.
- Within shieldlist itself, the first parameter should be the county, region, district, township, or single-tier municipality, without the classifier. For example, the Regional Municipality of Durham should be simply "Durham". For provincial highways, use hwy. See {{jcon}} for a complete listing, as some shorthand variations are accepted (e.x. GS for Greater Sudbury). The second parameter is simply the route number, and should not have leading zeroes. In cases where road numbers are split into east and west (either by a geographic divide, or perhaps a one-way pairing), you should add this direction at the end within parenthesis.
- Variant municipal route shields are supported for regional highways in the Regional Municipality of Durham and numbered "lines" in Perth County. In cases where such variant shields are desired, the first parameter - for {{shieldlist}} itself - should instead be "Durham Regional Highway" or "Perth County Line", respectively.
- Similar to {{jcon}}, the first parameter (the municipal name or "hwy") is converted to lowercase, and it is therefore case insensitive. Letters suffixed to route numbers should be capitalized as with {{jcon}} and {{jct}}. However, when "QEW" or "407ETR" is used as a route number in either {{shieldlist}} or {{jcon}}, the route number is case insensitive.