USA.BL = {
shield = "Business Loop %route%.svg",
name = USA.I.name .. " Business",
link = USA.I.base .. " Business" .. USA[" dab "],
abbr = USA.I.abbr .. " BL",
aux = "Business route",
}  
USA.BS = {
shield = "Business Spur %route%.svg",
name = USA.BL.name,
link = USA.BL.link,
abbr = USA.I.abbr .. " BS",
aux = USA.BL.aux,
}  
USA["BL 1957"] = {
shield = "Business Loop %route% (1957).svg",
name = USA.BL.name,
link = USA.BL.link,
abbr = USA.BL.abbr,
aux = USA.BL.aux,
bannersuffix = "green 1961"
}  
USA["BS 1957"] = {
shield = "Business Spur %route% (1957).svg",
name = USA.BS.name,
link = USA.BS.link,
abbr = USA.BS.abbr,
aux = USA.BS.aux,
bannersuffix = "green 1961"
}  
USA.BLBS = {
shield = {USA.BL.shield, USA.BS.shield},
name = USA.I.name .. " Business",
link = USA.I.base .. " Business" .. USA[" dab "],
abbr = USA.I.abbr .. " Bus.",
aux = "Business route",
}  
USA.US = {
base = "U.S. Route %route%",
shield = {
arg = "state",
["CA"] = "US %route% (1961 cutout).svg",
default = "US %route%.svg"
},
shieldmain = {
arg = "state",
["CA"] = "US %route% (1961 cutout).svg",
default = {
["85"] = {"US %route%.svg", "CanAm Highway.svg"},
default = "US %route%.svg"
}
},
name = "U.S. Route %route%",
link = "U.S. Route %route%" .. USA[" dab "],
abbr = "US&nbsp;%route%",,
color = {
arg = "route",
["66"] = "hist"
}
}  
for _,auxType in ipairs({"Alt", "Bus", "Byp", "City", "Conn", "Detour", "Emerg", "Future", "Old", "Opt", "Scenic", "Spur", "Temp", "Toll", "Truck"}) do
local spec = USA[" aux "][auxType]
USA["US-" .. auxType] = {
shield = USA.US.shield,
name = USA.US.name .. " " .. spec.name,
link = USA.US.base .. " " .. spec.name .. USA[" dab "],
abbr = USA.US.abbr .. " " .. spec.abbrsuffix,
banner = spec.bannerprefix .. " plate.svg",
aux = spec.aux,
}
end
USA["US-Toll"].banner = "Toll plate yellow.svg"
USA["US-City"].name = "City " .. USA.US.name
USA["US-City"].abbr = "City " .. USA.US.abbr
USA["US-Temp"].name = "Temporary " .. USA.US.name
USA["US-Temp"].abbr = "Temp. " .. USA.US.abbr  
USA["US-Hist"] = {
shield = "[state||US %route% (%state% historic).svg|US %route% (historic).svg]",
name = "Historic " .. USA.US.name,
link = USA.US.base .. USA[" dab "],
abbr = "Historic " .. USA.US.abbr .. USA[" dab "],
orientation = "upright",
color = "hist"
}  
for _,year in ipairs({"1926", "1948"}) do
USA["US " .. year] = {
shield = format("US %%route%% (%s).svg", year),
shieldmain = {
ifexist = true,
arg = "state",
otherwise = format("US %%route%% (%s)", year),
["AL"] = format("US %%route%% Alabama %s.svg", year),
["AZ"] = format("US %%route%% Arizona %s.svg", year),
["AR"] = format("US %%route%% Arkansas %s.svg", year),
["CA"] = format("US %%route%% California %s.svg", year),
["CO"] = format("US %%route%% Colorado %s.svg", year),
["CT"] = format("US %%route%% Connecticut %s.svg", year),
["DE"] = format("US %%route%% Delaware %s.svg", year),
["DC"] = format("US %%route%% District of Columbia %s.svg", year),
["FL"] = format("US %%route%% Florida %s.svg", year),
["GA"] = format("US %%route%% Georgia %s.svg", year),
["ID"] = format("US %%route%% Idaho %s.svg", year),
["IL"] = format("US %%route%% Illinois %s.svg", year),
["IN"] = format("US %%route%% Indiana %s.svg", year),
["IA"] = format("US %%route%% Iowa %s.svg", year),
["KS"] = format("US %%route%% Kansas %s.svg", year),
["KY"] = format("US %%route%% Kentucky %s.svg", year),
["LA"] = format("US %%route%% Louisiana %s.svg", year),
["ME"] = format("US %%route%% Maine %s.svg", year),
["MD"] = format("US %%route%% Maryland %s.svg", year),
["MA"] = format("US %%route%% Massachusetts %s.svg", year),
["MI"] = format("US %%route%% Michigan %s.svg", year),
["MN"] = format("US %%route%% Minnesota %s.svg", year),
["MS"] = format("US %%route%% Mississippi %s.svg", year),
["MO"] = format("US %%route%% Missouri %s.svg", year),
["MT"] = format("US %%route%% Montana %s.svg", year),
["NE"] = format("US %%route%% Nebraska %s.svg", year),
["NV"] = format("US %%route%% Nevada %s.svg", year),
["NH"] = format("US %%route%% New Hampshire %s.svg", year),
["NJ"] = format("US %%route%% New Jersey %s.svg", year),
["NM"] = format("US %%route%% New Mexico %s.svg", year),
["NY"] = format("US %%route%% New York %s.svg", year),
["NC"] = format("US %%route%% North Carolina %s.svg", year),
["ND"] = format("US %%route%% North Dakota %s.svg", year),
["OH"] = format("US %%route%% Ohio %s.svg", year),
["OK"] = format("US %%route%% Oklahoma %s.svg", year),
["OR"] = format("US %%route%% Oregon %s.svg", year),
["PA"] = format("US %%route%% Pennsylvania %s.svg", year),
["RI"] = format("US %%route%% Rhode Island %s.svg", year),
["SC"] = format("US %%route%% South Carolina %s.svg", year),
["SD"] = format("US %%route%% South Dakota %s.svg", year),
["TN"] = format("US %%route%% Tennessee %s.svg", year),
["TX"] = format("US %%route%% Texas %s.svg", year),
["UT"] = format("US %%route%% Utah %s.svg", year),
["VT"] = format("US %%route%% Vermont %s.svg", year),
["VA"] = format("US %%route%% Virginia %s.svg", year),
["WA"] = format("US %%route%% Washington %s.svg", year),
["WV"] = format("US %%route%% West Virginia %s.svg", year),
["WI"] = format("US %%route%% Wisconsin %s.svg", year),
["WY"] = format("US %%route%% Wyoming %s.svg", year)
},
base = USA.US.base,
name = USA.US.name,
link = USA.US.link,
abbr = USA.US.abbr,,
bannersuffix = format("%s", year)
}
end  
USA["US 1961"] = {
shield = "US %route% (1961).svg",
base = USA.US.base,
name = USA.US.name,
link = USA.US.link,
abbr = USA.US.abbr,,
bannersuffix = "1961"
}  
USA["US 1971"] = {
shield = USA.US.shield,
base = USA.US.base,
name = USA.US.name,
link = USA.US.link,
abbr = USA.US.abbr,,
bannersuffix = "1971"
}  
for k, v in pairs(USA) do if k:find ("US 19%d%d") then
v.color = {
arg = "route",
["66"] = "hist"
}
end
end  
USA["US-named"] = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%",
}  
USA.Byway = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist",
bannersuffix = "brown",
}  
USA.Npkwy = {
shield = "",
shieldmain = "Logo of the United States National Park Service.svg",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist",
bannersuffix = "brown",
}  
USA.BCB = {
shield = "BLM Backcountry Byway.svg",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist",
bannersuffix = "brown",
}
USA["Back Country"] = USA.BCB  
USA["FH-named"] = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist",
}  
USA.FFH = {
shield = "Forest Route %route%.svg",
name = "Federal Forest Highway %route%",
link = "Forest Highway %route%",
abbr = "FFH&nbsp;%route%",
color = "hist",
bannersuffix = "brown",
}  
USA.FH = {
shield = "Forest Route %route%.svg",
name = "Forest Highway %route%",
link = "Forest Highway %route%",
abbr = "FH&nbsp;%route%",
color = "hist",
bannersuffix = "brown"
}  
USA.FR = {
shield = "Forest Route %route%.svg",
name = "Forest Route %route%",
link = "Forest Highway %route%",
abbr = "FR&nbsp;%route%",
color = "hist",
bannersuffix = "brown"
}  
USA.NSB = {
shield = "MUTCD D6-4.svg",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist"
}
USA.FSB = USA.NSB  
USA.NFSB = {
shield = "National Forest Scenic Byway.svg",
name = "%route% National Forest Scenic&nbsp;Byway",
link = "%route% National Forest Scenic Byway",
abbr = "%route% National Forest Scenic Byway",
color = "hist"
}  
USA.Scenic = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist"
}  
USA.ADHS = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%"
}  
USA.ISTEA = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%"
}  
USA.NHS = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%"
}  
USA.Post = {
shield = "",
name = "%route%",
link = "%route%",
abbr = "%route%",
color = "hist"
}
USA.Postal = USA.Post  
USA.CR = {
shield = "CR %route% jct.svg",
shieldmain = "[county||%county% |]County %route%.svg",
base = "County Road %route%",
name = "County Road %route%",
link = "",