Module:Infobox road/route/doc

This is an old revision of this page, as edited by Fredddie (talk | contribs) at 04:54, 17 June 2021 (creating doc page, I will fill in more later). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This module pulls data from road data strings, such as Module:Road data/strings/USA, and passes it through three functions that draw the necessary route marker images and displays the route name in {{Infobox road}}.

Output examples

Description Output Description Output
Florida Both (current output)
State Road 869
Florida Both (intended output)
State Road 869
No parameters Only |marker_image=
Florida |marker_image=none
State Road A1A
Only |name=
Autoroute 10
Australia
National Highway 31
New Zealand
State Highway 2
Interstate |name=
Motorway 10
Interstate (Infobox road small)
Interstate 95
France
Autorute A1
UK
A303
Brazil
SP-052
Chile
Route 5
BC
Highway 16
Saskatchewan
Highway 600
Quebec
Autoroute 35
Ontario
Highway 407
ON Secondary
Highway 522
ON Tertiary
Highway 800
NWT
Inuvik–Tuktoyaktuk Highway
Manitoba
Provincial Trunk Highway 3
Tennessee Dual
State Route 1
DE/MD Dual
Route 54
Puerto Rico type=PR
Highway 1
Puerto Rico type=Urban
Highway 1
Wisconsin
State Trunk Highway 243
North Carolina
Georgia State Route 246 and
North Carolina Highway 106
Nevada BLSR
State Route 660
Utah BLSR
State Route 120
Texas Both
State Highway 1
Texas tollway
Pres. George Bush Turnpike
1926 USH
U.S. Route 6
1948 USH
U.S. Route 40
Special route
U.S. Route 78 Business
Special route
Business US Highway 131
Alaska |marker_image=
Alaska Route 2
DC
District of Columbia Route 295
Mexico
Federal Highway 40D
Sonora
State Highway 149
GRR
Great River Road
Tour
Lake Michigan Circle Tour
Turnpike
Kansas Turnpike
County road
County Road Z36
Parish road
Parish Road 16
CSAH
County State-Aid Highway 81
Secondary
Secondary Highway 206
Supplemental
Route BB
Oregon
Oregon Route 35
Oregon Highway
John Day Highway No. 5
Belgium
National Route 1
Belgium
E19