Jump to content

Module:Road data/strings/USA/WA

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 03:03, 21 February 2021 (upright). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

--[==[
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"]`.
]==]

-- Washington
local WA = {}

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

local suffix = " ([dab||%dab%, |]Washington)"
local maint = "[[Washington State Department of Transportation|WSDOT]]"

WA[" common "] = {
	browse = {
		{link = "State highways in Washington", bold = true},
		{
			noprint = true,
			{link = "List of Interstate Highways in Washington", name = "Interstate"},
			{link = "List of U.S. Highways in Washington", name = "U.S."},
			{link = "List of state highways in Washington", name = "State"},
			{link = "List of Washington State Scenic and Recreational Highways", name = "Scenic"},
			
			{link = "List of Primary State Highways in Washington", name = "Former PSH"},
			{link = "1964 state highway renumbering (Washington)", name = "1964 renumbering"},
			{link = "List of former state routes in Washington", name = "Former"}
		}
	}
}

WA.I.maint = maint
WA.I.link =  {
	["82"]  = "Interstate 82",
	["182"] = "Interstate 182",
	["205"] = "Interstate 205 (Oregon–Washington)",
	["705"] = "Interstate 705",
	default = {
		hook = "splitlen",
		split = 3,
		above = "Interstate %route% (Washington)",
		below = "Interstate %route% in Washington"
	}
}
                           
WA["I 1957"].link = WA.I.link
WA["I 1961"].link = WA.I.link           

WA.BL.link = "Interstate %route% Business" .. suffix

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

WA["US-Alt-plain"] = {
	shield = WA["US-Alt"].shield,
	name = WA["US-Alt"].name,
	link = WA["US-Alt"].link,
	abbr = WA["US-Alt"].abbr,
	banner = "Alt plate.svg",
	width = "expand"
	
}

WA["US 1926"].shieldmain = "US %route% Washington 1926.svg"
WA["US 1926"].link = WA.US.link
WA["US 1948"].shieldmain = "US %route% Washington 1948.svg"
WA["US 1948"].link = WA.US.link
WA["US 1961"].link = WA.US.link

WA["US-Fut"] = {
	shield = WA.US.shield,
	name = "Future " .. WA.US.name,
	link = "U.S. Route %route% Future ([dab||%dab%, |]Washington)",
	abbr = "US&nbsp;%route% Future",
	banner = "Future plate.svg",
	width = "expand"
}

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

WA.SR=WA.WA

WA.FR.link = ""
WA.FH.link = ""
WA.FFH=WA.FH

WA.PSH = {
	shield = "WA-PSH%route%.svg",
	name = "Primary State Highway %route%",
	link = "Primary State Highway %route% (Washington)",
	abbr = "PSH&nbsp;%route%",
	orientation = "upright"
}

WA.SSH = {
	shield = "WA-SSH%route%.svg",
	name = "Secondary State Highway %route%",
	link = "Secondary State Highway %route% (Washington)",
	abbr = "SSH&nbsp;%route%",
	orientation = "upright"
}

WA["SR-Alt"] = {
	shield = WA.SR.shield,
	name = WA.SR.name .. " Alternate",
	link = "Washington State Route %route% Alternate [dab||(%dab%)|]",
	abbr = "SR&nbsp;%route%&nbsp;Alt.",
	banner = "Alt plate.svg"
}
WA["SR-ALT"] = WA["SR-Alt"]

WA["SR-Bus"] = {
	shield = WA.SR.shield,
	name = WA.SR.name .. " Business",
	link = "Washington State Route %route% Business [dab||(%dab%)|]",
	abbr = "SR&nbsp;%route%&nbsp;Bus.",
	banner = "Business plate.svg"
}
WA["WA-Bus"] = WA["SR-Bus"]

WA["SR-Spur"] = {
	shield = WA.SR.shield,
	name = WA.SR.name .. " Spur",
	link = "Washington State Route %route% Spur [dab||(%dab%)|]",
	abbr = "SR&nbsp;%route%&nbsp;Spur",
	banner = "Spur plate.svg"
	
}
WA["WA-Spur"] = WA["SR-Spur"]

WA.ID = {alias = {module = "USA/ID", type = "SH"}}
WA.OR = {alias = {module = "USA/OR", type = "OR"}}

return WA