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 20:54, 12 September 2020 (damn). 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.US.maint = maint
WA.US.link = "U.S. Route %route% in Washington"

for _,year in ipairs({"1926", "1948", "1961"}) do
	local oldUSmain = "US " .. year
	WA[oldUSmain].name = WA.US.name
	WA[oldUSmain].link = WA.US.link
end

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

WA.BL.abbr = "I&#8209;%route% Bus."

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

WA.SR=WA.WA

WA.FR = {shield = "Forest Route %route%.svg",
         link = "",
         abbr = "FR&nbsp;%route%"}

WA.FH = {shield = "Forest Route %route%.svg",
         link = "",
         abbr = "FH&nbsp;%route%"}

WA.FFH=WA.FH

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

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

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

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

WA["SR-ALT"] = WA["SR-Alt"]

WA["SR-Spur"] = {shield = "WA-%route%.svg",
                 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.CR = {shield = "CR %route% jct.svg",
         link = "",
         abbr = "CR&nbsp;%route%"}

WA.USBR = {alias = {module = "USA", type = "USBR"}}

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

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

return WA