Modul:Road data/strings/MYS
Pendokumenan untuk modul ini boleh diciptakan di Modul: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 = "Lebuhraya %route%",
link = "Lebuhraya Malaysia %route%",
abbr = "Leb. %route%",
color = "MUTCDgreen"
}
MYS.Federal = {
shield = "Jkr-ft%route%.png",
name = "Laluan Persekutuan %route%",
link = "Laluan Persekutuan Malaysia %route%",
abbr = "Per. %route%"
}
for _,type in ipairs({"Johor", "Kedah", "Kelantan", "Melaka", "Negeri Sembilan", "Pahang", "Penang", "Perak", "Perlis", "Sabah", "Sarawak", "Selangor", "Terrengganu"}) do
MYS[type] = {
shield = "",
name = "Laluan " .. type .. " %route%",
link = {
ifexists = true,
default = "Laluan " .. type .. " %route%",
},
abbr = type .. " %route%"
}
end
return MYS