Jump to content

Module:Road data/strings/ESP

Permanently protected module
From Wikipedia, the free encyclopedia

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

-- Spain
local ESP = {}

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

ESP.E.shield = "ESP E-%route%.svg"
ESP.E.color = "EUR-ESP"

ESP.A.shield = "Autovía %route%.svg"
ESP.A.link = "Autovía %route%"
ESP.A.abbr = "%route%"
ESP.A.color = "ESP-A"

ESP.AP = {
	shield = "Autopista %route%.svg",
	name = "Autopista %route%",
	link = "Autopista %route%",
	abbr = "%route%",
	color = "ESP-A"
}

ESP.Autovia = {
	shield = "Autovía %route%.svg",
	name = "Autovía %route%",
	link = "Autovía %route%",
	abbr = "%route%",
	color = "ESP-A"
}

ESP.B = {
	shield = "Autovía B-%route%.svg",
	name = "B-%route%",
	link = "B-%route% motorway (Spain)",
	abbr = "B-%route%"
}

ESP.C = {
	shield = {
		default = "Autovía C-%route%.svg",
		["162"] = "Cajetín C-%route%.svg"
	},
	name = "C-%route%",
	link = "C-%route% highway (Spain)",
	abbr = "C-%route%"
}

ESP.M = {
	shield = "M-%route% (cajetín).svg",
	name = "M-%route%",
	link = {
		default = "Autovía M-%route%",
		["45"] = "Autopista M-%route%",
		["61"] = "Autopista M-%route%",
		["203"] = "Autopista M-%route%"
	},
	abbr = "M-%route%"
}

ESP.N = {
	shield = "Cajetín N-%route%.svg",
	name = "National Road N-%route%",
	link = "N-%route% road (Spain)",
	abbr = "N-%route%",
	color = "ESP-N",
	translation = "Carretera nacional N-%route%",
	lang = "es"
}
	
ESP.CN = ESP.N

ESP.R = {
	shield = "Autopista R-%route%.svg",
	name = "R-%route%",
	link = "Autopista Radial R-%route%",
	abbr = "R-%route%",
	color = "ESP-A"
}

ESP.TF = {
	shield = "Cajetín TF-%route%.svg",
	name = "TF-%route%",
	link = "TF-%route%",
	abbr = "TF-%route%",
	color = "ESP-A"
}


return ESP