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 03:39, 15 February 2021 (rm). 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.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%"
	}
}
            		
IRN.Road = {
	shield = {"IRN-%route%.svg", "IRN-EN-%route%.svg"},
	name = "Road %route%",
	link = {
		ifexists = true,
		default = "Road %route% (Iran)",
		otherwise = ""
	},
	abbr = "Road %route%"
}

return IRN