Jump to content

Module:Road data/strings/IRN

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 17:42, 18 December 2021 (add translations). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

-- Iran
local IRN = {}

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


IRN.AH.shield = "AH%route%-IRN.svg"
IRN.AH.shieldmain = "AH%route%-IRN.svg"

IRN.Freeway = {
	shield = {"IRN-Fwy %route%.svg", "IRN-EN-Fwy %route%.svg"},
	name = "Freeway %route%",
	link = "Freeway %route% (Iran)",
	abbr = {
		["3"] = "Freeway %route% (Tehran-Shomal Freeway)",
		["9"] = "Freeway %route% (Mo'allem Freeway)",
		default = "Freeway %route%"
	},
	color = "motorway",
	translation = "%route% آزادراه",
	lang = "fa"
}
            		
IRN.Road = {
	shield = {"IRN-%route%.svg", "IRN-EN-%route%.svg"},
	name = "Road %route%",
	link = {
		ifexists = true,
		default = "Road %route% (Iran)",
		otherwise = ""
	},
	abbr = "Road %route%",
	color = "primary-white",
	translation = "جاده %route%",
	lang = "fa"
}

return IRN