Module:Road data/strings/USA/CT
< Module:Road data | strings | USA
Documentation for this module may be created at Module:Road data/strings/USA/CT/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"]`. ]==] -- Connecticut local CT = {} local util = require("Module:Road data/util") local format = mw.ustring.format util.addAll(CT, require("Module:Road data/strings/USA")) local suffix = " ([dab||%dab%, |]Connecticut)" local maint = "[[Connecticut Department of Transportation|ConnDOT]]" CT.I.link = { ["384"] = "Interstate 384", ["395"] = "Interstate 395 (Connecticut–Massachusetts)", ["684"] = "Interstate 684", ["691"] = "Interstate 691", default = { hook = "split", split = 100, above = "Interstate %route% (Connecticut)", below = "Interstate %route% in Connecticut" } } CT["I 1957"].link = CT.I.link CT["I 1961"].link = CT.I.link CT.US.link = { ["1"] = "U.S. Route 1 in Connecticut", ["5"] = "U.S. Route 5 in Connecticut", ["6"] = "U.S. Route 6 in Connecticut", default = "U.S. Route %route% [dab||(%dab%, Connecticut)|]" } CT["US 1926"].shieldmain = "US %route% Connecticut 1926.svg" CT["US 1948"].shieldmain = "US %route% Connecticut 1948.svg" CT["US-Alt"].link = "U.S. Route %route% Alternate ([dab||%dab%, |]Connecticut)" CT["US-Bus"].link = "U.S. Route %route% Business ([dab||%dab%, |]Connecticut)" CT.CT = { base = "Connecticut Route %route%", shield = { hook = "splitlen", split = 3, above = "Connecticut Highway %route% wide.svg", below = "Connecticut Highway %route%.svg", }, shieldmain = { ["75"] = {"Connecticut Highway %route%.svg", "MA Route %route%.svg"}, ["83"] = {"Connecticut Highway %route%.svg", "MA Route %route%.svg"}, ["109"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["131"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["159"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["168"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["169"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["186"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["187"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["189"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["192"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["193"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["197"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["198"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, ["220"] = {"Connecticut Highway %route% wide.svg", "MA Route %route%.svg"}, default = { hook = "splitlen", split = 3, above = "Connecticut Highway %route% wide.svg", below = "Connecticut Highway %route%.svg", } }, name = "Route %route%", link = "Connecticut Route %route%", abbr = "Route %route%", width = "expand" } CT.Route = CT.CT for _,year in ipairs({"1926", "1948", "1956", "1963"}) do CT["CT " .. year] = { shield = format("CT %%route%% (%s).svg", year), shieldmain = format("CT %%route%% (%s).svg", year), name = CT.CT.name, link = CT.CT.link, abbr = CT.CT.abbr, width = "square", } end CT["CT 1963"].shield = "Connecticut Highway %route%.svg" CT["CT 1963"].shieldmain = CT["CT 1963"].shield CT.CTTP = { shield = "", -- Conn Tpk.gif name = "Gov. John Davis Lodge Turnpike", link = "Connecticut Turnpike", abbr = "Conn. Turnpike", } CT.Merritt = { shield = "Merritt Pkwy Shield.svg", shieldmain = {"Merritt Pkwy Shield.svg", "Connecticut Highway 15.svg"}, name = "Merritt Parkway", link = "Merritt Parkway", abbr = "Merritt Parkway", bannersuffix = "blue" } CT.SSR = { shield = "", name = "Special Service Road %route%", link = { ifexists = true, default = "Special Service Road %route% (Connecticut)", otherwise = "List of Special Service Roads in Connecticut#SSR0%route%" }, abbr = "SSR %route%" } CT.SR = { shield = "", name = "State Road %route%", link = { ifexists = true, default = CT.CT.link, otherwise = "List of State Roads in Connecticut#SR0%route%" }, abbr = "SR %route%" } return CT