Content deleted Content added
+BLSR |
Fix banner for CC |
||
(5 intermediate revisions by one other user not shown) | |||
Line 19:
local suffix = " ([dab||%dab%, |]Nevada)"
local maint = "[[Nevada Department of Transportation|NDOT]]"▼
{link = "Highways in Nevada", bold = true},▼
{link = "List of Interstate Highways in Nevada", name = "Interstate"},▼
{link = "List of U.S. Routes in Nevada", name = "U.S."},▼
{link = "List of state routes in Nevada", name = "State"},▼
{link = "List of Nevada Scenic Byways", name = "Scenic"}▼
}▼
NV.I.link = {
["11"] = "Interstate 11",
Line 46 ⟶ 31:
}
}
for k, v in pairs(NV) do if k:find ("^I") then
NV["I 1957"].link = NV.I.link▼
end
end
NV.BL.link = NV.I.base .. " Business" .. suffix
for k, v in pairs(NV) do if k:find ("^B%a") then
end
end
NV.US.link = "U.S. Route %route% in Nevada"
for k, v in pairs(NV) do if k:find ("^US %d") then
end
▲NV["US 1948"].link = NV.US.link
end
for _,auxType in ipairs({"Alt", "Bus", "Byp", "City", "Conn", "Emerg", "Opt", "Scenic", "Spur", "Temp", "Toll", "Truck"}) do
local spec = NV[" aux "][auxType]
for k, v in pairs(NV) do if k:find (auxType) then if k:find ("^US") then
v.banner = spec.banneralt .. " plate.svg"
v.link = NV.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Nevada)"
▲ end
end
end
end
NV.SR = {
Line 72 ⟶ 68:
abbr = "SR %route%"
}
NV.NV = NV.SR▼
NV.BLSR = {
Line 77 ⟶ 74:
name = NV.SR.name,
link = "",
abbr = NV.SR.abbr,
nbrowse = NV.BL.nbrowse,
nbrowselinks = NV.BL.nbrowselinks
}
-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(NV) do if k:find ("^%a") then
v.browselinks = {
▲ }
end
end
NV.CC = {
Line 84 ⟶ 96:
name = "Clark County %route%",
link = "Clark County %route% [dab||(%dab%)|]",
abbr = "CC %route%",
bannersuffix = "county"
}
NV.CR.link = "County Route %route% ([county||%county% County, |]Nevada)"
▲NV.NV = NV.SR
-- For linking internally on 'List of state routes in Nevada less than one mile'
NV.SR2 = {
shield = NV.
link = "#State Route %route%",
abbr = NV.SR.abbr
|