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 06:35, 18 September 2021 (Output examples: collapse). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 (sandbox)
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
SH 2 marker
State Highway 2
Interstate |name=
Interstate 10 marker
Motorway 10
Interstate (Infobox road small)
I-95 markerI-95 marker
Interstate 95
France
Autorute A1 marker
Autorute A1
UK
A303 marker
A303
Brazil
SP-052 marker
SP-052
Chile
CH-5 markerCH-5 markerCH-5 marker
Route 5
BC
Highway 16 marker Highway 16 marker
Highway 16
Saskatchewan
Highway 600 marker
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
PTH 3 marker
Provincial Trunk Highway 3
Tennessee Dual
State Route 1 marker State Route 1 marker
State Route 1
DE/MD Dual
Route 54 markerRoute 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
PR-1 marker
Highway 1
Wisconsin
State Trunk Highway 243 marker State Trunk Highway 243 marker
State Trunk Highway 243
North Carolina
NC 106 markerNC 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
SR-120 markerSR-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
US 40 marker
U.S. Route 40
Special route
Business plate.svg
U.S. Route 78 Business marker
U.S. Route 78 Business
Special route
Bus. US 131 marker
Bus. US 131 marker
Business US Highway 131
Alaska |marker_image=
Alaska Route 2
DC
DC 295 marker
District of Columbia Route 295
Mexico
Federal Highway 40D marker
Federal Highway 40D
Sonora
SH 149 marker
State Highway 149
GRR
Great River Road marker
Great River Road
Tour
LMCT marker
Lake Michigan Circle Tour
Turnpike
Kansas Turnpike marker
Kansas Turnpike
County road
CR Z36 marker
County Road Z36
Parish road
Parish Road 16 marker
Parish Road 16
CSAH
CSAH 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