模組:Road data/strings/USA/regional/Trails
閱讀設定
模組解[開]
你可能想去為呢個Scribunto module開一個解版。 編者可以響呢個模組嘅沙盤 (開 | 鏡)同埋試例 (開)版度試驗佢。 請加個類到個/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.Dixie = {
shield = "Dixie Highway marker.svg",
name = "Dixie Highway",
link = "Dixie Highway",
abbr = "Dixie Highway",
orientation = "upright"
}
Trails.Jackson = {
shield = "Jackson Highway marker.svg",
name = "Jackson Highway",
link = "Jackson Highway",
abbr = "Jackson Highway",
orientation = "upright"
}
Trails.Jefferson = {
shield = "Jefferson Highway marker.svg",
name = "Jefferson Highway",
link = "Jefferson Highway",
abbr = "Jefferson Highway",
orientation = "upright",
bannersuffix = "blue"
}
Trails["Jefferson Davis"] = {
shield = "Jefferson Davis Highway marker.svg",
name = "Jefferson Davis Highway",
link = "Jefferson Davis Highway",
abbr = "Jefferson Davis Highway",
orientation = "upright"
}
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.Lincoln = {
shield = "LincolnHighwayMarker.svg",
name = "Lincoln Highway",
link = "Lincoln Highway",
abbr = "Lincoln Highway",
orientation = "upright",
width = "20",
bannersuffix = "blue"
}
Trails.National = {
shield = "National Road Sign cropped.JPG", --should be improved
name = "National Road",
link = "National Road",
abbr = "Historic National Road"
}
Trails.Roosevelt = {
shield = "Theodore Roosevelt International Highway marker.svg",
name = "Theodore Roosevelt International Highway",
link = "Theodore Roosevelt International Highway",
abbr = "Theodore Roosevelt International Highway",
orientation = "upright"
}
Trails.Spanish = {
shield = "Old Spanish Trail.svg",
name = "Old Spanish Trail",
link = "Old Spanish Trail (auto trail)",
abbr = "Old Spanish Trail",
orientation = "upright"
}
Trails["National Old Trails Road"] = {
shield = "National Old Trails Road marker.svg",
name = "National Old Trails Road",
link = "National Old Trails Road",
abbr = "National Old Trails Road",
orientation = "upright"
}
-- put any new types above this line
for k, v in pairs(Trails) do if k:find ("^%a") then
v.nbrowse = "[[Auto trail]]s"
end
end
Trails.BRP = {
shield = "Blue Ridge Parkway shield.png",
name = "Blue Ridge Parkway",
link = "Blue Ridge Parkway",
abbr = "Blue Ridge Parkway",
color = "hist",
maint = "[[National Park Service]]",
nbrowse = "[[Scenic byways in the United States|Scenic Byways]]",
nbrowselinks = {
[1] = "[[National Scenic Byway|National]]",
[2] = "[[National Forest Scenic Byway|National Forest]]",
[3] = "[[Bureau of Land Management Back Country Byway|BLM]]",
[4] = "[[National Parkway|NPS]]",
}
}
Trails.Mormon = {
shield = "",
name = "Mormon Pioneer National Historic Trail",
link = "Mormon Trail",
abbr = "Mormon Pioneer National Historic Trail",
}
Trails.Pkwy = {
shield = "",
name = "%route% Parkway",
link = "%route% Parkway",
abbr = "%route% Parkway",
color = "hist",
maint = "[[National Park Service|NPS]]"
}
Trails.NTP = {
shield = "Natchez Trace Parkway Logo.gif",
link = "Natchez Trace Parkway",
abbr = "Natchez Trace Parkway",
color = "hist",
maint = "[[National Park Service]]",
nbrowse = "[[Scenic byways in the United States|Scenic Byways]]",
nbrowselinks = {
[1] = "[[National Scenic Byway|National]]",
[2] = "[[National Forest Scenic Byway|National Forest]]",
[3] = "[[Bureau of Land Management Back Country Byway|BLM]]",
[4] = "[[National Parkway|NPS]]",
}
}
return Trails