Module:Road data/strings/USA/regional/Trails: Difference between revisions
Jump to navigation
Jump to search
(adj) |
m (1 revision imported) |
Latest revision as of 10:59, 18 November 2023
Documentation for this module may be created at Module:Road data/strings/USA/regional/Trails/doc
--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
{{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}
To inspect the content of this data module when editing, enter the following
into the Debug console:
local util = require("Module:Road data/util")
print(util.arrayToString(p))
To inspect a particular route type, change `p` above to include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]
-- Auto trails
local Trails = {}
local util = require("Module:Road data/util")
Trails.Trail = {
shield = {
default = "",
["Arrowhead Trail"] = "Arrowhead Trails Association.svg",
["Bankhead Highway"] = "Bankhead Highway marker.svg",
["Black and Yellow Trail"] = "Black and Yellow Trail marker.svg",
["Dixie Overland Highway"] = "Dixie Overland Highway sign 1.svg",
["Jackson Highway"] = "Jackson Highway marker.svg",
["Jefferson Davis Highway"] = "Jefferson Davis Highway marker.svg",
["Liberty Highway"] = "Liberty Highway Logo.jpg",
["National Old Trails Road"] = "National Old Trails Road marker.svg",
["National Park to Park Highway"] = "National Park to Park Highway sign.svg",
["Old Spanish Trail"] = "Old Spanish Trail.svg",
["Pacific Highway"] = "Pacific Highway sign.svg",
["Theodore Roosevelt International Highway"] = "Theodore Roosevelt International Highway marker.svg",
["William Penn Highway"] = "William Penn Highway marker.svg",
["Yellowstone Trail"] = "YellowstoneTrail.svg",
},
name = "%route%",
link = {
default = "%route%",
["Arrowhead Trail"] = "Arrowhead Trail (auto trail)",
["Old Spanish Trail"] = "Old Spanish Trail (auto trail)",
["Pacific Highway"] = "Pacific Highway (United States)",
},
abbr = "%route%",
orientation = {
default = "upright",
["Dixie Overland Highway"] = '',
}
}
Trails.Dixie = {
shield = "Dixie Highway marker.svg",
name = "Dixie Highway",
link = "Dixie Highway",
abbr = "Dixie Highway",
orientation = "upright"
}
Trails.Jefferson = {
shield = "Jefferson Highway marker.svg",
name = "Jefferson Highway",
link = "Jefferson Highway",
abbr = "Jefferson Highway",
orientation = "upright",
bannersuffix = "blue"
}
Trails.Lincoln = {
shield = "LincolnHighwayMarker.svg",
name = "Lincoln Highway",
link = "Lincoln Highway",
abbr = "Lincoln Highway",
orientation = "upright",
bannersuffix = "blue"
}
Trails.National = {
shield = "National Road Sign cropped.JPG", --should be improved
name = "National Road",
link = "National Road",
abbr = "Historic National Road",
}
-- Modern 'historic trails' below
Trails.BRP = {
shield = "Blue Ridge Parkway shield.png",
name = "Blue Ridge Parkway",
link = "Blue Ridge Parkway",
abbr = "Blue Ridge Parkway",
maint = "[[National Park Service]]",
}
Trails.LCT = {
shield = "Lewis and Clark Trail.svg",
name = "Lewis and Clark Trail",
link = "Lewis and Clark Trail",
abbr = "Lewis and Clark Trail",
orientation = "upright",
bannersuffix = "brown"
}
Trails.Mormon = {
shield = "",
name = "Mormon Pioneer National Historic Trail",
link = "Mormon Trail",
abbr = "Mormon Pioneer National Historic Trail",
}
-- National Parkways below
Trails.Pkwy = {
shield = {
["Blue Ridge"] = "Blue Ridge Parkway shield.png",
["Colonial"] = "Logo of the United States National Park Service.svg",
["Crowley's Ridge"] = "Crowley's Ridge Parkway wordmark.svg",
["George Washington Memorial"] = "Logo of the United States National Park Service.svg",
["Lewis and Clark"] = "Lewis and Clark Trail.png",
["Natchez Trace"] = "Natchez Trace Parkway Logo.gif",
["Palisades Interstate"] = "Palisades Interstate Pkwy.svg",
default = ""
},
name = "%route% Parkway",
link = "%route% Parkway",
abbr = "%route% Parkway",
maint = "[[National Park Service]]"
}
Trails.Parkway = Trails.Pkwy
Trails.NTP = {
shield = "Natchez Trace Parkway Logo.gif",
link = "Natchez Trace Parkway",
abbr = "Natchez Trace Parkway",
maint = "[[National Park Service]]"
}
Trails.Skyline = {
shield = "Logo of the United States National Park Service.svg",
link = "Skyline Drive",
abbr = "Skyline Drive",
maint = "[[National Park Service]]"
}
for k, v in pairs(Trails) do
v.color = "hist"
end
return Trails