--[==[ 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"]`.]
-- Louisianalocal LA =
local util = require("Module:Road data/util")local format = mw.ustring.formatutil.addAll(LA, require("Module:Road data/strings/USA"))
local suffix = " ([dab||%dab%, |]Louisiana)"
LA.I.link = "Interstate %route% ([dab||%dab%, |]Louisiana)"
for k, v in pairs(LA) do if k:find ("^I") then v.link = LA.I.link endend
LA.BL.link = "Interstate %route% Business ([dab||%dab%, |]Louisiana)"
for k, v in pairs(LA) do if k:find ("^B%a") then v.link = LA.BL.link endend
LA.US.name = "U.S. Highway %route%"LA.US.link = "U.S. Route %route% in Louisiana"
for k, v in pairs(LA) do if k:find ("^US %d") then v.name = LA.US.name v.link = LA.US.link endend
for _,auxType in ipairs do local spec = LA[" aux "][auxType] for k, v in pairs(LA) do if k:find (auxType) then if k:find ("^US") then v.name = LA.US.name .. " " .. spec.name v.link = LA.US.base .. " " .. spec.name .. " ([dab||%dab%, |]Louisiana)" end end endend
for _,type in ipairs do for _,auxType in ipairs do local spec = LA[" aux "][auxType] LA[type .. "-" .. auxType] = endend
LA.LA =
for _,year in ipairs do LA["LA " .. year] = endLA["LA 1990"].shield = "Louisiana %route%.svg"
LA["LA 1924"] = LA.SR = LA["LA 1924"]
for _,type in ipairs do for _,auxType in ipairs do local spec = LA[" aux "][auxType] LA[type .. "-" .. auxType] = endend
for _,type in ipairs do for _,auxType in ipairs do local spec = LA[" aux "][auxType] LA[type .. "-" .. auxType] = endend
for k, v in pairs(LA) do if k:find ("^LA %d") then v.width = "square" endend
for k, v in pairs(LA) do if k:find ("^LA 1990") then v.bannersuffix = "green" endend
LA.Airline =
-- add new types above this line if you want it to have the state maintfor k, v in pairs(LA) do if k:find ("^%a") then v.maint = "Louisiana DOTD" endend
-- CR is defined by Module:Road data/strings/USALA.CR.name = "Parish Road %route%"LA.CR.shieldmain = "[parish||%parish%|%county%] Parish %route%.svg"LA.CR.link = "Parish Road %route% ([parish||%parish%|%county%] Parish, Louisiana)"LA.CR.abbr = "PR %route%"LA.CR.maint = ""
LA.PR = LA.CR
return LA