Модуль:Road data/strings/ESP

Материал из Википедии — свободной энциклопедии
Перейти к навигации Перейти к поиску
Документация
--[==[
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 = "ESP A-%route%.svg"
ESP.A.link = "Автострада A-%route% (Испания)"
ESP.A.abbr = "A-%route%"
ESP.A.color = "ESP-A"

ESP.AP = {
	shield = "ESP AP-%route%.svg",
	name = "Автомагистраль AP-%route%",
	link = "Автомагистраль AP-%route% (Испания)",
	abbr = "%route%",
	color = "ESP-A"
}

ESP.B = {
	shield = "ESP B-%route%.svg",
	name = "B-%route%",
	link = "Автострада B-%route% (Испания)",
	abbr = "B-%route%"
}

ESP.C = {
	shield = {
		default = "ESP C-%route%.svg",
		["162"] = "Cajetín C-%route%.svg"
	},
	name = "C-%route%",
	link = "Автострада C-%route% (Испания)",
	abbr = "C-%route%"
}

ESP.M = {
	shield = "M-%route% (cajetín).svg",
	name = "M-%route%",
	link = {
		default = "Автострада M-%route% (Испания)",
		["45"] = "Автомагистраль M-%route (Испания)%",
		["61"] = "Автомагистраль M-%route% (Испания)",
		["203"] = "Автомагистраль M-%route% (Испания)"
	},
	abbr = "M-%route%"
}

ESP.N = {
	shield = "Cajetín N-%route%.svg",
	name = "National Road N-%route%",
	link = "Автодорога N-%route% (Испания)",
	abbr = "N-%route%",
	color = "ESP-N",
	translation = "Carretera nacional N-%route%",
	lang = "es"
}
	
ESP.CN = ESP.N

ESP.R = {
	shield = "ESP R-%route%.svg",
	name = "R-%route%",
	link = "Радиальная автомагистраль 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