--[==[ 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 followinginto 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"]`.]
-- Tennesseelocal TN =
local util = require("Module:Road data/util")util.addAll(TN, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Tennessee)"local suffix2 = " [dab||(%dab%)|]"
TN.I.shieldmain = TN.I.link =
for k, v in pairs(TN) do if k:find ("^I") then v.link = TN.I.link endend
TN.US.link =
for k, v in pairs(TN) do if k:find ("^US %d") then v.link = TN.US.link endend
for _,auxType in ipairs do local spec = TN[" aux "][auxType] for k, v in pairs(TN) do if k:find (auxType) then if k:find ("^US") then v.link = TN.US.base .. " " .. spec.name .. suffix end end endend
TN.SR =
TN.TN = TN.SR
TN.Sec = TN.Both = TN.Dual = TN.Both
for _,type in ipairs do for _,auxType in ipairs do local spec = TN[" aux "][auxType] TN[type .. "-" .. auxType] = endend
for _,type in ipairs do for _,year in ipairs do TN[type .. " " .. year] = endend
TN["SR-Truck"].banner = "MUTCD R14-1.svg" TN["Sec-Alt"].shield = TN["Sec-Alt"].banner = TN["Sec-Scenic"].banner = "Scenic plate Vermont.svg"TN["Sec-Truck"].banner = "MUTCD R14-1.svg"
TN.GRR.shield = "GreatRiverRoad brown.svg"TN.GRR.bannersuffix = "brown"
TN["SR 1966"] = TN["TN 1966"] = TN["SR 1966"]
-- add new types above this line if you want it to have the state highway browse and maintfor k, v in pairs(TN) do if k:find ("^%a") then v.maint = "TDOT" endend
TN.AL = TN.AR= TN.GA= TN.KY= TN.MS= TN.NC = TN.VA=
--Just for the list
TN.NoPri =
TN.NoSec =
return TN