--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

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

-- Austria
local AUT = {}

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

AUT.E.shield = "E%route%-AT.svg"
AUT.E.shieldmain = "E%route%-AT.svg"

AUT.A.shield = "A%route%-AT.svg"
AUT.A.shieldmain = "A%route%-AT.svg"
AUT.A.link = {
	default = "A%route% motorway (Austria)",
	["1"] = "West Autobahn",
	["2"] = "Süd Autobahn",
	["3"] = "Südost Autobahn",
	["4"] = "Ostautobahn",
	["5"] = "Nordautobahn",
	["6"] = "Nordost Autobahn",
	["7"] = "Mühlkreis Autobahn",
	["8"] = "Innkreis Autobahn",
	["9"] = "Pyhrnautobahn",
	["10"] = "Tauern Autobahn",
	["11"] = "Karawanken Autobahn",
	["12"] = "Inn Valley Autobahn",
	["13"] = "Brenner Autobahn",
	["14"] = "Rheintal/Walgau Autobahn",
	["21"] = "Wiener Außenring Autobahn",
	["22"] = "Donauufer Autobahn",
	["23"] = "Südosttangente",
	["24"] = "Autobahn Verbindungsspange Rothneusiedl",
	["25"] = "Welser Autobahn",
	["26"] = "Linzer Autobahn"
}
AUT.A.name = {
	default = "Motorway A%route%",
	["1"] = "Western Motorway A%route%",
	["2"] = "Southern Motorway A%route%",
	["3"] = "Southeastern Motorway A%route%",
	["4"] = "Eastern Motorway A%route%",
	["5"] = "Northern Motorway A%route%",
	["6"] = "Northeastern Motorway A%route%",
	["7"] = "Mühlkreis Motorway A%route%",
	["8"] = "Innkreis Motorway A%route%",
	["9"] = "Pyhrn Motorway A%route%",
	["10"] = "Tauern Motorway A%route%",
	["11"] = "Karawanken Motorway A%route%",
	["12"] = "Inn Valley Motorway A%route%",
	["13"] = "Brenner Motorway A%route%",
	["14"] = "Rheintal/Walgau Motorway A%route%",
	["21"] = "Vienna Outer Ring Motorway A%route%",
	["22"] = "Donauufer Motorway A%route%",
	["23"] = "Vienna Southeast Bypass A%route%",
	["24"] = "Rothneusiedl Motorway Link A%route%",
	["25"] = "Welser Motorway A%route%",
	["26"] = "Linzer Motorway A%route%"
}
AUT.A.color = "blue-var2"
AUT.A.translation = {
	arg = "route",
	["1"] = "West Autobahn A%route%",
	["2"] = "Süd Autobahn A%route%",
	["3"] = "Südost Autobahn A%route%",
	["4"] = "Ost Autobahn A%route%",
	["5"] = "Nord Autobahn A%route%",
	["6"] = "Nordost Autobahn A%route%",
	["7"] = "Mühlkreis Autobahn A%route%",
	["8"] = "Innkreis Autobahn A%route%",
	["9"] = "Pyhrn Autobahn A%route%",
	["10"] = "Tauern Autobahn A%route%",
	["11"] = "Karawanken Autobahn A%route%",
	["12"] = "Inn Valley Autobahn A%route%",
	["13"] = "Brenner Autobahn A%route%",
	["14"] = "Rheintal/Walgau Autobahn A%route%",
	["21"] = "Wiener Außenring Autobahn A%route%",
	["22"] = "Donauufer Autobahn A%route%",
	["23"] = "Südosttangente A%route%",
	["24"] = "Autobahn Verbindungsspange Rothneusiedl A%route%",
	["25"] = "Welser Autobahn A%route%",
	["26"] = "Linzer Autobahn A%route%"
}

AUT.S.shield = "S%route%-AT.svg"
AUT.S.shieldmain = "S%route%-AT.svg"
AUT.S.link = {
	default = "Schnellstraße %route% (Austria)",
	["10"] = "Mühlviertler Schnellstraße",
	["16"] = "Arlberg Schnellstraße",
	["31"] = "Burgenland Schnellstraße"
}
AUT.S.name = {
	["1"] = "Vienna Outer Ring Expressway S%route%",
	["2"] = "Danube Canal Expressway S%route%",
	["3"] = "Waldviertel Expressway S%route%",
	["4"] = "Mattersburg Expressway S%route%",
	["5"] = "Baden Expressway S%route%",
	["8"] = "Ennstal Expressway S%route%",
	["9"] = "Innviertel Expressway S%route%",
	["10"] = "Braunau Expressway S%route%",
	["11"] = "Pinzgau Expressway S%route%",
	["12"] = "Lofer Expressway S%route%",
	["13"] = "Seefeld Expressway S%route%",
	["14"] = "Fernpass Expressway S%route%",
	["15"] = "Reschen Expressway S%route%",
	["16"] = "Arlberg Expressway S%route%",
	["17"] = "Liechtenstein Expressway S%route%",
	["20"] = "Weiviertel Expressway S%route%",
	["21"] = "Mühlviertel Expressway S%route%",
	["22"] = "Strebersdorf Expressway S%route%",
	["23"] = "Vienna Belt Expressway S%route%",
	["30"] = "Donoustadt Expressway S%route%",
	["31"] = "Burgenland Expressway S%route%",
	["32"] = "Klingenbach Expressway S%route%",
	["37"] = "Steyr Expressway S%route%",
	["38"] = "Wels Expressway S%route%",
	["39"] = "Graz Expressway S%route%",
	["40"] = "Lurnfeld Expressway S%route%",
	["41"] = "Salzburg Expressway S%route%",
	["42"] = "Thurn Pass Expressway S%route%",
	["43"] = "Weinerwald Expressway S%route%"
}
AUT.S.color = "blue-var2"
AUT.S.translation = {
	arg = "route",
	["1"] = "Wiener Außenring Schnellstraße S%route%",
	["2"] = "Donaukanal Schnellstraße S%route%",
	["3"] = "Waldviertler Schnellstraße S%route%",
	["4"] = "Mattersburger Schnellstraße S%route%",
	["5"] = "Badener Schnellstraße S%route%",
	["8"] = "Ennstal Schnellstraße S%route%",
	["9"] = "Innviertler S%route%",
	["10"] = "Braunauer Schnellstraße S%route%",
	["11"] = "Pinzgauer Schnellstraße S%route%",
	["12"] = "Loferer Schnellstraße S%route%",
	["13"] = "Seefelder Schnellstraße S%route%",
	["14"] = "Fernpass Schnellstraße S%route%",
	["15"] = "Reschen Schnellstraße S%route%",
	["16"] = "Arlberg Schnellstraße S%route%",
	["17"] = "Liechtensteiner Schnellstraße S%route%",
	["20"] = "Weiviertler Schnellstraße S%route%",
	["21"] = "Mühlviertler Schnellstraße S%route%",
	["22"] = "Strebersdorfer Schnellstraße S%route%",
	["23"] = "Wiener Gürtel Schnellstraße S%route%",
	["30"] = "Donoustadt Schnellstraße S%route%",
	["31"] = "Burgenland Schnellstraße S%route%",
	["32"] = "Klingenbacher Schnellstraße S%route%",
	["37"] = "Steyrer Schnellstraße S%route%",
	["38"] = "Welser Schnellstraße S%route%",
	["39"] = "Grazer Schnellstraße S%route%",
	["40"] = "Lurnfelder Schnellstraße S%route%",
	["41"] = "Salzburger Schnellstraße S%route%",
	["42"] = "Pass Thurn Schnellstraße S%route%",
	["43"] = "Weinerwald Schnellstraße S%route%"
}

AUT.B.shield = {
	ifexists = true,
	default = "B%route%-AT.svg",
	otherwise = ""
}
AUT.B.name = "State Road B%route%"
AUT.B.color = "blue-var2"
AUT.B.translation = "Landesstraße B%route%"

AUT.L.name = "State Road L%route%"
AUT.L.shield = {
	ifexists = true,
	default = "L%route%-AT.svg",
	otherwise = ""
}
AUT.L.translation = "Landesstraße L%route%"

for k, v in pairs(AUT) do if k:find ("^%a") then
	v.browse = "Highways in Austria"
	v.browselinks = {
		[1] = "[[Autobahns of Austria|Autobahns]]",
		[2] = "[[Autobahns of Austria#Schnellstraßen|Expressways]]",
		[3] = "[[Landesstraße|State Roads]]"
	}
	v.lang = "de-at"
	end
end

return AUT