Jump to content

Module:Infobox road/route/doc

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