Module:Road data/strings/USA/NV

MyWikiBiz, Author Your Legacy — Sunday May 05, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/USA/NV/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"]`.
]==]

-- Nevada
local NV = {}

local util = require("Module:Road data/util")
util.addAll(NV, require("Module:Road data/strings/USA"))

local suffix = " ([dab||%dab%, |]Nevada)"
local maint = "[[Nevada Department of Transportation|NDOT]]"

NV[" common "] = {
	browse = {
		{link = "Highways in Nevada", bold = true},
		{
			noprint = 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.maint = maint
NV.I.link = {
	["11"] = "Interstate 11",
	["215"] = "Las Vegas Beltway",
	["515"] = "Interstate 515",
	default = {
		hook = "split",
		split = 100,
		above = "Interstate %route% (Nevada)",
		below = "Interstate %route% in Nevada"
	}
}
			
NV["I 1957"].link = NV.I.link
NV["I 1961"].link = NV.I.link	  
NV.BL.link = NV.I.base .. " Business" .. suffix
NV.BS.link = NV.I.base .. " Business" .. suffix


NV.US.maint = maint
NV.US.link = "U.S. Route %route% in Nevada"
NV["US-Alt"].link = NV.US.base .. " Alternate" .. suffix
NV["US-Bus"].link = NV.US.base .. " Business" .. suffix
NV["US-Spur"].link = NV.US.base .. " Spur" .. suffix
NV["US-Truck"].link = NV.US.base .. " Truck" .. suffix

NV["US 1926"].shieldmain = "US %route% Nevada 1926.svg"
NV["US 1926"].link = NV.US.link
NV["US 1948"].shieldmain = "US %route% Nevada 1948.svg"
NV["US 1948"].link = NV.US.link
NV["US 1961"].link = NV.US.link

NV.SR = {
	shield = "Nevada %route%.svg",
	name = "State Route %route%",
	link = "Nevada State Route %route% [dab||(%dab%)|]",
	abbr = "SR&nbsp;%route%"
}

NV.BLSR = {
	shieldmain = {"Business Loop 80.svg", "Nevada %route%.svg"},
	name = NV.SR.name,
	link = "",
	abbr = NV.SR.abbr
}

NV.CC = {
	shield = "Clark County Route %route% NV.svg",
	name = "Clark County %route%",
	link = "Clark County %route% [dab||(%dab%)|]",
	abbr = "CC&nbsp;%route%"
}
	
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.NV.shield,
	link = "#State Route %route%",
	abbr = NV.SR.abbr
}

return NV