Module:Road data/strings/MYS

MyWikiBiz, Author Your Legacy — Thursday November 28, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/MYS/doc

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

-- MYSna
local MYS = {}

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

MYS.E = {
	shield = "Mes-e%route%.png",
	shieldmain = {"Expressway logo.png", "Mes-e%route%.png"},
	name = "Expressway %route%",
	link = "Malaysia Expressway %route%",
	abbr = "Exp. %route%",
	color = "MUTCDgreen"
}
		   
MYS.Federal = {
	shield = "Jkr-ft%route%.png",
	name = "Federal Route %route%",
	link = "Malaysia Federal Route %route%",
	abbr = "Fed. %route%"
}

for _,type in ipairs({"Johor", "Kedah", "Kelantan", "Melaka", "Negeri Sembilan", "Pahang", "Penang", "Perak", "Perlis", "Sabah", "Sarawak", "Selangor", "Terrengganu"}) do
	MYS[type] = {
		shield = "",
		name = type .. " Route %route%",
		link = {
			ifexists = true,
			default = type .. " Route %route%",
		},
		abbr = type .. " %route%"
	}
end

return MYS