-- Israel
local ISR = {}

local frame = mw.getCurrentFrame()

ISR.Fwy = {
	shield = "ISR-FW-%route%.svg",
	link = "Highway %route% (Israel)",
	abbr = {
		hook="splitlen",
		split=3,
		below="Highway %route%",
		above="Route %route%"
	},
	color = "ISR-freeway",
	translation = "כביש %route%",
	lang = he
}
ISR.Freeway = ISR.Fwy

ISR.Hwy = {
	shield = "ISR-HW-%route%.svg",
	link = ISR.Fwy.link,
	abbr = ISR.Fwy.abbr,
	translation = {
		arg = "route",
		["3"] = frame:expandTemplate{ title = 'langx', args = {"he","כביש 3"}} .. "<br>" .. frame:expandTemplate{ title = 'langx', args = {"ar","طريق السريع 3"}},
		default = ISR.Fwy.translation
	},
	lang = {
		arg = "route",
		["3"] = nil,
		default = "he"
	}
}
ISR.Highway = ISR.Hwy

ISR.Dual = {
	shield = {"ISR-FW-%route%.svg","ISR-HW-%route%.svg"},
	link = ISR.Fwy.link,
	abbr = ISR.Fwy.abbr,
	translation = ISR.Fwy.translation,
	lang = he
}

ISR.Route = {
	shield = ISR.Hwy.shield,
	link = "Route %route% (Israel)",
	abbr = "Route %route%",
	translation = ISR.Fwy.translation,
	lang = he
}
	  
ISR.Local = {
	shield = ISR.Hwy.shield,
	link = {
		ifexists = true,
		default = "Route %route%",
		otherwise = ""
	},
	abbr = "Road %route%",
	lang = he
}

ISR.road = {
	shield = '',
	name = "%route%",
	link = "",
	abbr = "%route%",
	browse = '',
	lang = he
}

return ISR