Module:Road data/strings/USA/RI

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to search

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

--Rhode Island

local util = require("Module:Road data/util")
local RI = require("Module:Road data/strings/USA")

local suffix = " ([dab||%dab%, |]Rhode Island)"

RI.I.link = {
	["95E"] = "Interstate 95E  (Rhode Island)",
    ["184"] = "Interstate 184  (Rhode Island)",
    default = {
    	hook = "splitlen",
    	split = 3,
    	above = RI.I.base .. " (Rhode Island–Massachusetts)",
        below = RI.I.base .. " in Rhode Island"
    	}
	}

RI.BL.link = RI.I.base .. " Business" .. suffix

RI.BS.link = RI.I.base .. " Business" .. suffix

RI.US.link = {
	["6A"] = RI.US.base .. " (Rhode Island)",
    ["44A"] = RI.US.base .. " (Rhode Island)",
    default = RI.US.base .. " in Rhode Island"
	}

RI["US-Bus"].shield = RI.US.shield
RI["US-Bus"].link = RI.US.base .. " Business" .. suffix

RI.RI = {
	shield = "Rhode Island %route%.svg",
	shieldmain = {
		["15"] = {"Rhode Island %route%.svg", "MA Route %route%.svg"},
		["78"] = {"Rhode Island %route%.svg", "Connecticut Highway %route%.svg"},
		["96"] = {"Rhode Island %route%.svg", "MA Route %route%.svg"},
		["114A"] = {"Rhode Island %route%.svg", "MA Route %route%.svg"},
		["177"] = {"Rhode Island %route%.svg", "MA Route %route%.svg"},
		default = "Rhode Island %route%.svg"
	},
	name = "Route %route%",
	link = "Rhode Island Route %route%" .. RI[" dab "],
	abbr = "Route&nbsp;%route%"
}

RI.Route = RI.RI

return RI