Template:Road-routemap
This is a route-map template for a road in {{{1}}}.
- For a key to symbols, see {{roads legend}}.
- For information on using this template, see Template:Routemap.
- For pictograms used, see Commons:BSicon/Catalogue.
Note: Per consensus and convention, most route-map templates are used in a single article in order to separate their complex and fragile syntax from normal article wikitext. See these discussions [1],[2] for more information.
This is a universal template for all road or highway Route Diagram Templates (RDT). It adds the following text (without the surrounding box) to an RDT:
This is a route-map template for a road in country.
- For a key to symbols, see {{roads legend}}.
- For information on using this template, see Template:Routemap.
- For pictograms used, see Commons:BSicon/Catalogue.
It will also place the template in Category:Road routemap templates.
Usage
[edit]Country is specified by any valid ISO 3166-1 code.
Additional codes
[edit]The template also recognizes these unofficial codes:
| Code | Location |
|---|---|
| AFR | Africa |
| AA or ASA | Asia |
| CT or CAT | Catalonia |
| EU or EUR | Europe |
| NIL | Northern Ireland |
| UK | United Kingdom |
Optional parameters
[edit]When included, the second (optional) parameter should be the parent article of the diagram.
Including the optional named parameter |type= will change "a road in Country" to "a alternate text in Country".
The optional named parameter |the=any value will omit the word "the" before the linked page.
The optional named parameter |display= will replace the text of the article link. If display is set to either I or i the article link will automatically be italicized.
The optional named parameter |place= will change "a road in Country" to "a road in place, Country".
For Australia (ISO 3166-1 country code AU or AUS), setting the category to one of the state abbreviations will include the template in the appropriate sub-category:
|cat= |
Category |
|---|---|
| N or NT | Category:Highways in the Northern Territory |
| NS or NSW | Category:Highways in New South Wales |
| Q or QLD | Category:Highways in Queensland |
| S or SA | Category:Highways in South Australia |
| T or TAS | Category:Highways in Tasmania |
| V or VIC | Category:Highways in Victoria (state) |
| W or WA | Category:Highways in Western Australia |
This |cat= parameter value is also not case-sensitive.
The optional named parameter |catidx= will add a sort key to the category.
See also
[edit]- General
- {{Railway-routemap}}
- {{Bus-routemap}}
- {{Road-routemap}}
- {{Trail-routemap}}
- {{Waterway-routemap}}
- Specific
- {{UK-railway-routemap}} United Kingdom
- {{UK-waterway-routemap}} United Kingdom rivers and canals
- {{US-railway-routemap}} United States
- {{NYCS-routemap}} New York City Subway