Module:Road data/strings/MEX

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

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

-- Mexico
local MEX = {}

MEX.FH = {
	shield = "Carretera federal %route%.svg",
	name = "Federal Highway %route%",
	link = "Mexico Federal Highway %route% [dab||(%dab%)|]",
	abbr = "Fed.&nbsp;%route%",
	orientation = "upright",
	translation = "Carretera federal %route%",
	maint = "[[Secretariat of Communications and Transportation (Mexico)|SCT]]",
}

MEX["Federal Highway"] = MEX.FH
MEX.Hwy = MEX.FH
MEX.Fed = MEX.FH

MEX.SH = {
	shield = "Carretera estatal %route%.svg",
	shieldmain = {
		hook = "mask",
		mask = "Road data/masks/MEX",
		base = "state",
		masked = "fullstate",
		default = "Carretera estatal %route% (%fullstate%).svg"
	},
	name = "State Highway %route%",
	link = {
		hook = "mask",
		mask = "Road data/masks/MEX",
		base = "state",
		masked = "fullstate",
		default = "%fullstate% State Highway %route%"
	},
	abbr = "SH&nbsp;%route%",
	orientation = "upright",
	translation = "Carretera estatal %route%",
}

-- add new types above this line if you want it to have the provincial highway browse and maint
for k, v in pairs(MEX) do if k:find ("^%a") then
	v.lang = "es-mx"
	end
end

MEX.road = {
	shield = '',
	name = "%route%",
	link = '',
	abbr = "%route%",
}

return MEX