name = "Ranch Road %route%",
link = "Ranch Road %route%",
abbr = "RR&nbsp;%route%"
}  
TX.RE = {
shield = "Texas Recreational Road %route%.svg",
name = "Recreational Road %route%",
link = "Texas Recreational Road %route%",
abbr = "RE&nbsp;%route%",
color = "hist",
bannersuffix = "brown"
}  
TX["RE-Spur"] = {
shield = TX.Spur.shield,
name = TX.RE.name .. " Spur",
link = TX.RE.name .. " Spur",
abbr = "RE Spur&nbsp;%route%",
color = "hist",
aux = TX[" aux "].Spur,
}  
TX.PA = {
shield = {
ifexists = true,
default = "Texas PA %route%.svg",
otherwise = ""
},
name = "Principal Arterial Road %route%",
link = "Texas Principal Arterial Road %route%",
abbr = "PA&nbsp;%route%"
}  
-- add new types above this line if you want it to have the state highway browse and maint
for k, v in pairs(TX) do if k:find ("^%a") then
v.maint = "TxDOT"
end
end  
for k, v in pairs(TX) do if k:find ("%d") then
v.maint = "Texas State Highway Department"
end
end  
TX.INTL = {
shield = "Texas Spur 97.svg",
name = "International Parkway",
link = "International Parkway",
abbr = "International Parkway"
}
TX.IP = TX.INTL  
local tollAbbrs = {
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"
}  
--Toll maint
local BCTRA = "Brazoria County Toll Road Authority"
local CTRMA = "Central Texas Regional Mobility Authority"
local CTTP = "Central Texas Turnpike Project"
local FBCTRA = "Fort Bend County Toll Road Authority"
local HCTRA = "Harris County Toll Road Authority"
local MCTRA = "Montgomery County Toll Road Authority"
local NETRMA = "North East Texas Regional Mobility Authority"
local NTTA = "North Texas Tollway Authority"  
-- 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",
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"
},
shieldmain = {
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 = {
hook = "pagename",
article = "Westpark Tollway",
iftrue = {"Fort Bend Westpark Tollway logo.png", "Westpark Tollway.svg"},
default = "Westpark Tollway.svg"
},
WPT = {
hook = "pagename",
article = "Westpark Tollway",
iftrue = {"Fort Bend Westpark Tollway logo.png", "Westpark Tollway.svg"},
default = "Westpark Tollway.svg"
},
FBT = {
hook = "pagename",
article = "Fort Bend Parkway",
iftrue = {"Fort Bend Parkway Toll Road logo.png", "Fort Bend Toll Road.svg"},
default = "Fort Bend Toll Road.svg"
},
FBPTR = {
hook = "pagename",
article = "Fort Bend Parkway",
iftrue = {"Fort Bend Parkway Toll Road logo.png", "Fort Bend Toll Road.svg"},
default = "Fort Bend Toll Road.svg"
},
["Fort Bend Westpark"] = {
hook = "pagename",
article = "Westpark Tollway",
iftrue = {"Fort Bend Westpark Tollway logo.png", "Westpark Tollway.svg"},
default = "Westpark Tollway.svg"
},
FBWPT = {
hook = "pagename",
article = "Westpark Tollway",
iftrue = {"Fort Bend Westpark Tollway logo.png", "Westpark Tollway.svg"},
default = "Westpark Tollway.svg"
},
CTP = "Toll Texas Chisholm Trail Parkway.svg",
DNT = "Toll Texas Dallas North Tollway.svg",
PGBT = "Toll Texas President George Bush Turnpike.svg",
SRT = "Toll Texas Sam Rayburn Tollway.svg",
KFML= "Toll Texas Interstate Highway 10.svg",
["71"] = "71 Toll Lane.svg", -- also has free version
["183"] = "183 Toll Road.svg", -- also has free version
["183A"] = "183A Toll Road.svg", -- also has free version
["290"] = "290 Toll Road.svg" -- also has free version
},
name = tollAbbrs,
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 = tollAbbrs,
bannersuffix = {
default = "blue",
["Sam Houston"] = "HCTRA",
SHT = "HCTRA",
Westpark = "HCTRA",
WPT = "HCTRA",
Tomball = "HCTRA",
TBT = "HCTRA",
["Fort Bend Westpark"] = "HCTRA",
FBWPT = "HCTRA",
Hardy = "HCTRA",
HTR = "HCTRA",
FBT = "HCTRA",
FBPTR = "HCTRA"
},
orientation = "upright",
maint = {
default = "",
Hardy = HCTRA,
HTR = HCTRA,
["Sam Houston"] = HCTRA,
SHT = HCTRA,
Tomball = HCTRA,
TBT = HCTRA,
Westpark = FBCTRA .. " and " .. HCTRA,
WPT = FBCTRA .. " and " .. HCTRA,
CTP = NTTA,
DNT = NTTA,
PGBT = NTTA,
SRT = NTTA,
FBT = FBCTRA .. " and " .. HCTRA,
FBPTR = FBCTRA .. " and " .. HCTRA,
["Fort Bend Westpark"] = FBCTRA .. " and " .. HCTRA,
FBWPT = FBCTRA .. " and " .. HCTRA,
KFML = HCTRA,
["1"] = CTTP,
["45"] = CTTP,
["49"] = NETRMA,
["71"] = CTRMA,
["130"] = CTTP,
["183"] = CTRMA,
["183A"] = CTRMA,
["249"] = MCTRA,
["288"] = BCTRA .. " and " .. TX.SH.maint,
["290"] = CTRMA,
["360"] = NTTA,
["375"] = "Camino Real Regional Mobility Authority",
["550"] = "Cameron County Regional Mobility Authority",
}
}  
TX.Both = {
shield = {"Texas %route%.svg", "Toll Texas %route% new.svg"},
name = TX.SH.name,
link = TX.SH.link,
abbr = TX.SH.abbr,
width = 40,
bannersuffix = {"", "blue"}
}  
TX.AATT = {
shield = "Toll Texas AATT new.svg",
shieldmain = "Toll Texas Addison Airport Toll Tunnel.svg",
name = "Addison Airport Toll Tunnel",
link = "Addison Airport Toll Tunnel",
abbr = "Addison Airport Toll Tunnel",
orientation = "upright",
bannersuffix = "blue",
maint = NTTA
}  
TX.DFW = {
shield = "DFW Turnpike Shield.svg",
name = "Dallas-Fort Worth Turnpike",
link = "Dallas-Fort Worth Turnpike",
abbr = "D/FW Turnpike"
}  
TX.LLTB = {
shield = "Toll Texas LLTB new.svg",
shieldmain = "Toll Texas Lewisville Lake Toll Bridge.svg",
name = "Lewisville Lake Toll Bridge",
link = "Lewisville Lake Toll Bridge",
abbr = "Lewisville Lake Toll Bridge",
orientation = "upright",
bannersuffix = "blue",
maint = NTTA
}  
TX.MCLB = {
shield = "Toll Texas MCLB new.svg",
shieldmain = "Toll Texas Mountain Creek Lake Bridge.svg",
name = "Mountain Creek Lake Bridge",
link = "Mountain Creek Lake Bridge",
abbr = "Mountain Creek Lake Bridge",
orientation = "upright",
bannersuffix = "blue",
maint = NTTA
}  
TX["SH-Express"] = {
shield = "%route% Express Lane free.svg",
name = TX.SH.name .. " Express ",
link = TX.SH.base .. " Express ".. suffix2,
abbr = TX.SH.abbr .. " Express",
banner = "",
maint = {
default = NTTA,
["1"] = CTTP
}
}  
TX["Loop Dual"] = {