Module:Road data/strings/USA/TX

--[==[ To inspect the content of this data module, use Special:ExpandTemplates and enter the following input text:

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

-- Texas local TX = {}

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

local suffix = " ([dab||%dab%, |]Texas)" local suffix2 = " [dab||(%dab%)|]" local maint = "TxDOT"

TX[" common "] = { browse = { {link = "Texas state highway system", name = "Highways in Texas", bold = true}, {			noprint = true, {link = "List of Interstate Highways in Texas", name = "Interstate"}, {link = "List of U.S. Highways in Texas", name = "U.S."}, {link = "List of state highways in Texas", name = "State"}, {link = "Toll roads in Texas", name = "Toll"}, {link = "List of state highway loops in Texas", name = "Loops"}, {link = "List of state highway spurs in Texas", name = "Spurs"}, {link = "List of Farm to Market Roads in Texas", name = "FM/RM"}, {link = "List of Park Roads in Texas", name = "Park"}, {link = "List of Recreational Roads in Texas", name = "Rec"} }	} }

-- Interstate types TX.I.maint = maint TX.I.link = {["2"] = "Interstate 2", ["14"] = "Interstate 14", ["27"] = "Interstate 27", ["30"] = "Interstate 30", ["35E"] = "Interstate 35E (Texas)", ["35W"] = "Interstate 35W (Texas)", ["37"] = "Interstate 37", ["45"] = "Interstate 45", ["69C"] = "Interstate 69C", ["69E"] = "Interstate 69E", ["69W"] = "Interstate 69W", ["410"] = "Interstate 410", ["820"] = "Interstate 820", default = {hook = "split", split = 100, above = "Interstate %route% (Texas)", below = "Interstate %route% in Texas"}} TX.IH = TX.I TX.BL.link = "Interstate %route% Business" .. suffix TX.BS.link = "Interstate %route% Business" .. suffix TX["I-Bus"]=TX.BL TX["I-Toll"].shield = "Toll Texas Interstate Highway %route%.svg" TX["I-Toll"].link = "Interstate %route% Toll" .. suffix

TX["I-Express"] = {shield = "%route% Express Lane free.svg", link = TX.I.base .. " Express ".. suffix, abbr = TX.I.abbr .. " Express", banner = "", width = "expand"} TX["I-Future"].shield = TX.I.shield TX["I-Future"].link = TX.I.link TX["I-Future"].banner = "Future plate blue.svg" TX.Future = TX["I-Future"]

-- US types TX.US.link = "U.S. Route %route% in Texas"

TX["US-Alt"].link = "U.S. Route %route% Alternate" .. suffix TX["US-Alt"].abbr = "Alt. US %route%" TX.UA = TX["US-Alt"]

TX["US-Alt-Bus"] = {shield = TX.US.shield, link = "U.S. Route %route% Alternate Business" .. suffix, abbr = "US %route% Alt. Bus.", banner = "Business alternate plate.svg", width = "expand"} TX["US-Bus"].link = "U.S. Route %route% Business" .. suffix TX["US-Bus"].abbr = "Bus. US %route%" TX.BU = TX["US-Bus"]

TX["US-Hist"].link = TX.US.link

TX["US-Spur"].link = "U.S. Route %route% Spur" .. suffix

TX["US-Truck"].link = "U.S. Route %route% Truck" .. suffix

for _,year in ipairs({"1926", "1948"}) do local oldUSmain = "US " .. year TX[oldUSmain].name = TX.US.name TX[oldUSmain].link = TX.US.link end TX["US 1948-Bus"] = {shield = "US %route% (1948).svg", link = "U.S. Route %route% Business" .. suffix, abbr = "US %route% Bus", banner = "Business plate.svg", width = "expand"}

-- SH (main) types TX.SH = {shield = "Texas %route%.svg", base = "Texas State Highway %route%", link = "Texas State Highway %route%" .. suffix2, abbr = "SH %route%"}

TX.TX = TX.SH

TX["SH-Bus"] = {shield = TX.SH.shield, link = TX.SH.base .. " Business" .. suffix2, abbr = "Bus. " .. TX.SH.abbr, banner = "Business plate.svg"}

TX["TX-Bus"] = TX["SH-Bus"]

TX["SH-Truck"] = {shield = TX.SH.shield, link = TX.SH.base .. " Truck" .. suffix2, abbr = TX.SH.abbr .. " Truck", banner = "Truck plate.svg"}

TX["SH-1917"] = {shield = "Texas %route% 1917.svg", link = TX.SH.link, abbr = TX.SH.abbr} TX["TX-1917"] = TX["SH-1917"] TX["SH-old"] = {shield = "Old Texas %route%.svg", link = TX.SH.link, abbr = TX.SH.abbr} TX["TX-old"] = TX["SH-old"]

TX["SH-1935"] = {shield = "Texas %route% 1935.svg", link = TX.SH.link, abbr = TX.SH.abbr}

TX["TX-1935"] = TX["SH-1935"]

TX["SH-Express"] = {shield = "%route% Express Lane free.svg", link = TX.SH.base .. " Express ".. suffix2, abbr = TX.SH.abbr .. " Express", banner = ""} -- Loop/Spur types TX.Beltway = {shield = "Texas Beltway %route%.svg", link = "Texas State Highway Beltway %route%", abbr = "Beltway %route%"} TX.BW = TX.Beltway

TX.Loop = {shield = "Texas Loop %route%.svg", base = "Texas State Highway Loop %route%", link = {default = "Texas State Highway Loop %route%" .. suffix2, ["1910"] = "Andrews Loop 1910"}, abbr = "Loop %route%"} TX.SL = TX.Loop

TX["Loop Dual"] = {shield = {"Texas Loop %route%.svg", "Toll Texas %route% new.svg"}, link = TX.Loop.link, abbr = TX.Loop.abbr}

TX.Spur = {shield = "Texas Spur %route%.svg", base = "Texas State Highway Spur %route%", link = "Texas State Highway Spur %route%" .. suffix2, abbr = "Spur %route%"} TX.SS = TX.Spur

TX["Loop-Express"] = {shield = {default = TX.Loop.shield, --actually has a special variant of the toll shield http://maps.google.com/maps?ll=32.820965,-97.201688&spn=0.012929,0.024784&t=m&z=16&layer=c&cbll=32.820896,-97.205511&panoid=coL0_PX6xfY9Ia3Rkrr8cA&cbp=12,353.63,,1,-8.72 ["1"] = "1 Express Lane free.svg"}, link = TX.Loop.base .. " Express ".. suffix2, abbr = TX.Loop.abbr .. " Express", banner = ""} TX["SL-Express"] = TX["Loop-Express"]

TX.INTL = {shield = "", link = "International Parkway", abbr = "International Parkway"}

-- Toll types TX.Toll = {shield = {default = "Toll Texas %route% new.svg", Hardy = "Hardy Toll Road.svg", HTR = "Hardy Toll Road.svg", ["Sam Houston"] = "Sam Houston Tollway.svg", SHT = "Sam Houston Tollway.svg", Tomball = "Tomball Tollway.svg", TBT = "Tomball Tollway.svg", Westpark = "Westpark Tollway.svg", WPT = "Westpark Tollway.svg", FBT = "Fort Bend Toll Road.svg", --needs to be updated - current signs say FT. BEND / TOLLWAY with a rotated logo FBPTR = "", ["Fort Bend Westpark"] = "", FBWPT = "", KFML= "Toll Texas Interstate Highway 10.svg", ["71"] = "71 Toll Lane free.svg", ["183"] = "183 Toll Road free.svg", ["183A"] = "183A Toll Road free.svg", ["290"] = "290 Toll Road free.svg"}, link = {default = TX.SH.link, Hardy = "Hardy Toll Road", HTR = "Hardy Toll Road", ["Sam Houston"] = "Sam Houston Tollway", SHT = "Sam Houston Tollway", Tomball = "Tomball Tollway", TBT = "Tomball Tollway", Westpark = "Westpark Tollway", WPT = "Westpark Tollway", CTP = "Chisholm Trail Parkway", DNT = "Dallas North Tollway", PGBT = "President George Bush Turnpike", SRT = "Sam Rayburn Tollway", FBT = "Fort Bend Tollway", FBPTR = "Fort Bend Parkway Toll Road", ["Fort Bend Westpark"] = "Fort Bend Westpark Tollway", FBWPT = "Fort Bend Westpark Tollway", KFML = "Katy Tollway", ["1"] = TX.Loop.link, ["49"] = TX.Loop.link, ["71"] = "71 Toll Lanes", ["183"] = "183 Toll Road", ["183A"] = "183A Toll Road", ["290"] = "290 Toll Road"}, abbr = {default = TX.SH.abbr .. " Toll", Hardy = "Hardy Toll Road", HTR = "Hardy Toll Road", ["Sam Houston"] = "Sam Houston Tollway", SHT = "Sam Houston Tollway", Tomball = "Tomball Tollway", TBT = "Tomball Tollway", Westpark = "Westpark Tollway", WPT = "Westpark Tollway", CTP = "Chisholm Trail Parkway", DNT = "Dallas North Tollway", PGBT = "Pres. George Bush Turnpike", SRT = "Sam Rayburn Tollway", FBT = "Fort Bend Tollway", FBPTR = "Fort Bend Parkway Toll Road", --is Tollroad one word as signed on SH 6? ["Fort Bend Westpark"] = "Fort Bend Westpark Tollway", FBWPT = "Fort Bend Westpark Tollway", KFML = "I-10 Toll (Katy Tollway)", ["1"] = "Loop %route% Toll", ["49"] = "Loop %route% Toll", ["71"] = "71 Toll Lanes", ["183"] = "183 Toll Road", ["183A"] = "183A Toll Road", ["290"] = "290 Toll Road"} , bannersuffix = {default = "blue", ["Sam Houston"] = "HCTRA", SHT = "HCTRA", Westpark = "HCTRA", WPT = "HCTRA", TBT = "HCTRA", ["Fort Bend Westpark"] = "HCTRA", FBWPT = "HCTRA", Hardy = "HCTRA", HTR = "HCTRA", FBT = "HCTRA", FBPTR = "HCTRA"}}

TX.Both = {shield = {"Texas %route%.svg", "Toll Texas %route% new.svg"}, link = TX.SH.link, abbr = TX.SH.abbr, width = 40, bannersuffix = {"", "blue"}}

TX.AATT = {shield = "Toll Texas AATT new.svg", link = "Addison Airport Toll Tunnel", abbr = "Addison Airport Toll Tunnel"}

TX.DFW = {shield = "", link = "Dallas-Fort Worth Turnpike", abbr = "D/FW Turnpike"}

TX.IP = {shield = "", link = "International Parkway", abbr = "International Parkway"}

TX.LLTB = {shield = "Toll Texas LLTB new.svg", link = "Lewisville Lake Toll Bridge", abbr = "Lewisville Lake Toll Bridge"}

TX.MCLB = {shield = "Toll Texas MCLB new.svg", link = "Mountain Creek Lake Bridge", abbr = "Mountain Creek Lake Bridge"}

-- FM/RM types TX.FM = {shield = "Texas FM %route%.svg", base = "Farm to Market Road %route%", link = "Farm to Market Road %route%", abbr = "FM %route%"} TX.Farm = TX.FM

TX["FM-Bus"] = {shield = "Texas Business FM %route%.svg", link = TX.FM.base .. " Business", abbr = "Bus. " .. TX.FM.abbr} TX.BF = TX["FM-Bus"]

TX["FM-Loop"] = {shield = TX.Loop.shield, link = TX.FM.base .. " Loop", abbr = "FM Loop %route%"}

TX["FM-Spur"] = {shield = TX.Spur.shield, link = TX.FM.base .. " Spur", abbr = "FM Spur %route%"}

TX["FM 1956"] = {shield = "Texas FM %route% (1956).svg", link = TX.FM.link, abbr = TX.FM.abbr}

TX.RM = {shield = "Texas RM %route%.svg", base = "Ranch to Market Road %route%", link = "Ranch to Market Road %route%", abbr = "RM %route%"}

TX["RM 1956"] = {shield = "Texas RM %route% (1956).svg", link = TX.RM.link, abbr = TX.RM.abbr}

TX.Ranch = TX.RM

TX["RM-Spur"] = {shield = TX.Spur.shield, link = TX.RM.base .. " Spur", abbr = "RM Spur %route%"}

-- Misc SH types -- TX.Park = {shield = "Texas Park Road %route%.svg", link = "Texas Park Road %route%", abbr = "PR %route%"} TX.PR = TX.Park

TX.NASA = {shield = "Texas NASA Road %route%.svg", link = "NASA Road %route%", abbr = "NASA %route%"} TX.RR = {shield = "Texas RM %route%.svg", link = "Ranch Road %route%", abbr = "RR %route%"}

TX.RE = {shield = "Texas Recreational Road %route%.svg", link = "Texas Recreational Road %route%", abbr = "RE %route%"} TX.PA = {shield = {ifexists = true, default = "Texas PA %route%.svg", otherwise = ""}, link = "Texas Principal Arterial Road %route%", abbr = "PA %route%"}

TX.CR = {shield = {arg       = "county", default   = "", Brazoria		= "Generic green square county %route%.svg"}, link = "", abbr = "CR %route%"} TX.MEX = {alias = {module = "MEX", type = "FH"}} TX["I-AR"] = {alias = {module = "USA/AR", type = "I"}} TX["US-AR"] = {alias = {module = "USA/AR", type = "US"}} TX.AR = {alias = {module = "USA/AR", type = "AR"}} TX.LA = {alias = {module = "USA/LA", type = "LA"}} TX.OK = {alias = {module = "USA/OK", type = "SH"}} TX.NM = {alias = {module = "USA/NM", type = "NM"}}

return TX