Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Infobox road/doc/type

From Wikipedia, the free encyclopedia

Global

[edit]

Use the header_type parameter to override a country's default or type-specific colors.

Header typeDescriptionColor of headings
  • under construction
  • const
  • uc
Roads where construction has begun on the highway and no sections have been opened to traffic.
Do not use for roads that are open to traffic in some capacity
Text: Black
Background: #FC6
  • former
  • decommissioned
Decommissioned or former highways Text: Black
Background: #AAA
  • historic
  • historical
  • hist
  • scenic
Roads of a historic nature, such as auto trails or highways posted with brown, historical or scenic signage Text: White
Background: #704214
default value Type is not otherwise specified Text: Black
Background: #CEDFF2;

Australia

[edit]

Country code: AUS

TypeDescriptionColour of headingsLocations label
freewayFreeway-standard (controlled access) roadText: Black
Background: #D2E2F9
Major suburbs
city highwayHighways within city/suburban areasText: Black
Background: #E9F9D2
Major suburbs
highwayHighways outside of city/suburban areasText: Black
Background: #E9F9D2
Major settlements
roadMajor roads within city/suburban areasText: Black
Background: #FFFFE0
Major suburbs
rural roadMajor roads outside of city/suburban areasText: Black
Background: #FFFFE0
Major settlements
streetMinor roads and streets, generally within a single suburbText: Black
Background: #F9E2D2
Suburb
trackOutback tracks. These generally have restrictions (eg fuel) and/or require permits.Text: Black
Background: #F9E2D2
Primary destinations
default valuestype either omitted or not specified correctlyText: #FFE133;
Background: #3A7119;
Primary destinations

Canada

[edit]

Country code: CAN

  • Use the header_type parameter to override the type-specific colours (see Global section above for others)
TypeDescriptionColour of headings
  • Fwy
  • A
  • Autoroute
Text: White
Background: #003F87
  • Hwy
  • PTH
  • Route
  • Trunk
  • Sec
  • Secondary
  • TCH
  • PTH: Provincial Trunk Highway
  • TCH: Trans Canada Highway
Text: White
Background: #006A4D
Header typeDescriptionColour of headings
freewayText: White
Background: #003F87

Germany

[edit]

Country code: DEU

TypeDescriptionColor of headings
  • A
  • Autobahn
Autobahn Text: White
Background: #039
  • B
  • Bundesstraße
  • Bundesstrasse
Bundesstraße Text: Black
Background: #FC3

India

[edit]

Country code: IND

TypeDescriptionColor of headings
NENational Expressway
NHNational HighwayText: Black
Background: #D2E2F9
SHState Highway

Nepal

[edit]

Country code: NPL

TypeDescriptionColour of headings
  • H
National Highway (Highspeed roadway that connects East - West & North - South) Text: White
Background: #006B54
  • F
Feeder Road (Road that connects provinces but mostly two or more districts) Text: #000000
Background: #FFFFFF
  • District Rd
  • D
District Road (Road within a district) Text: White
Background: #1D02E7
  • AH
Asian Highway (Any road that is a part of Asian Highway) Text: White
Background: #039

Philippines

[edit]

Country code: PHL

TypeDescriptionColor of headings
  • N
  • National Road
  • National Highway
National road (default for all roads in the Philippines) Text: Black
Background: White
  • E
  • Expressway
Expressway (default for all roads in the Philippines) Text: Black
Background: #FEDD00
  • AH
  • Asian Highway
Asian Highway Text: White
Background: #039

Great Britain

[edit]

Country code: GBR

Type Description Colour
M/Motorway Motorway Text: White
Background: #0079C1
AM (A Motorway) A Motorway Text: White
Background: #0079C1
A/A road Primary route A roads Text: Yellow
Background: #00703C
minor Minor A roads, and B roads Text: Black
Background: White
Roman Roman roads. Must be used with header_type = historic
Adds Roman roads in Britannia under the heading   Road network   at the bottom of the infobox.
(Note that the parameter margary may be used to indicate the road's Margary number (if applicable).)
Text: White
Background: #5a3111

Others (to be organized)

[edit]
Bangladesh
Country code: BGD
N
R
Z
Croatia
Country code: HRV
A
D
Z
Ireland
Country code: IRL
M
N
P
R
S
Italy
Country code: ITA
A
E
RA
SS
Europe
Country code: EUR
E
Thailand
Country code: THA
AH - Asian highway
R - National highway
M - Motorway (free)
T - Motorway (tolled)
Ukraine
Country code: UKR
E
M - International Highway
H - National Highway
P - Regional Highway
Other countries
To add types and make shield images appear use [[:Template:Infobox road/shield/XXX]], where "XXX" is the country code.