Mô đun:Road data/strings/MYS

--[==[
To inspect the content of this data module, use Special:ExpandTemplates
and enter the following input text:


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

-- Malaysia
local MYS = {}

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

local expressways = {
arg = "route",
["1"] = 'North–South Expressway Northern Route',
["2"] = 'North–South Expressway Southern Route',
["3"] = 'Second Link Expressway',
["4"] = 'South Kedah Expressway',
["5"] = 'Shah Alam Expressway',
["6"] = 'North–South Expressway Central Link',
["6p"] = 'Putrajaya Link',
["7"] = 'Cheras–Kajang Expressway',
["8"] = 'East Coast Expressway',
["9"] = 'Sungai Besi Expressway',
["10"] = 'New Pantai Expressway',
["11"] = 'Damansara–Puchong Expressway',
["12"] = 'Ampang–Kuala Lumpur Elevated Highway',
["13"] = 'Kemuning–Shah Alam Highway',
["14"] = 'Johor Bahru Eastern Dispersal Link Expressway',
["15"] = 'Butterworth–Kulim Expressway',
["17"] = 'Butterworth Outer Ring Road',
["18"] = 'Kajang Dispersal Link Expressway',
["19"] = 'Sungai Besi–Ulu Klang Elevated Expressway',
["20"] = 'Maju Expressway',
["21"] = 'Kajang–Seremban Highway',
["22"] = 'Senai–Desaru Expressway',
["23"] = 'Sprint Expressway',
["24"] = 'Tun Salahuddin Bridge',
["25"] = 'Kuala Lumpur–Kuala Selangor Expressway',
["26"] = 'South Klang Valley Expressway',
["27"] = 'East Klang Valley Expressway',
["28"] = 'Sultan Abdul Halim Muadzam Shah Bridge',
["29"] = 'Seremban–Port Dickson Highway',
["30"] = 'New North Klang Straits Bypass',
["31"] = 'Damansara–Shah Alam Elevated Expressway',
["32"] = 'West Coast Expressway',
["33"] = 'Duta–Ulu Klang Expressway',
["35"] = 'Guthrie Corridor Expressway',
["36"] = 'Penang Bridge',
["37"] = 'East–West Link Expressway',
["38"] = 'SMART Tunnel',
["39"] = 'Setiawangsa–Pantai Expressway',
["KLKE"] = 'Kuala Lumpur–Karak Expressway',
["KLSE"] = 'Kuala Lumpur–Seremban Expressway',
["NKVE"] = 'New Klang Valley Expressway',
["PORR"] = 'Penang Outer Ring Road',
["PSKE"] = 'Paroi–Senawang–KLIA–Salak Tinggi Expressway',
["BPE"] = 'Bangi-Putrajaya Expressway',
["PDLE"] = 'Petaling Jaya Dispersal Link Expressway',
["JOPGEX"] = 'Johor Bahru–Pasir Gudang Elevated Expressway',
["PDBE"] = 'Port Dickson–Banting Expressway',
["Pan-Borneo"] = 'Pan-Borneo Highway',
["KBKKE"] = 'Kota Bharu–Kuala Krai Expressway',
["RB"] = 'Rawang Bypass',
["JE"] = 'Jelas Expressway',
["SJE"] = 'Sungai Juru Expressway',
["--"] = ""
}

MYS.E = {
shield = {
default = 'Mes-e%route%.svg',
["KLKE"] = 'Mes-e8.svg',
["KLSE"] = 'Mes-e37.svg',
["NKVE"] = 'Mes-e1.svg',
["6p"] = 'Mes-e6.svg',
["PORR"] = ,
["PSKE"] = ,
["BPE"] = ,
["PDLE"] = ,
["JOPGEX"] = ,
["PDBE"] = ,
["Pan-Borneo"] = ,
["KBKKE"] = ,
["RB"] = ,
["JE"] = ,
["SJE"] = ,
},
name = expressways,
link = expressways,
abbr = expressways,
color = "MUTCDgreen"
}

MYS.E2 = {
shield = {"Malaysia expressway logo.svg", MYS.E.shield},
name = MYS.E.name,
link = MYS.E.link,
abbr = MYS.E.abbr
}

MYS.Federal = {
shield = {
hook = "split",
split = 4000,
below = "MYS Jkr-ft%route%.svg",
above = "",
},
name = "Federal Route %route%",
link = "Malaysia Federal Route %route%",
abbr = "FT %route%"
}
MYS.FT = MYS.Federal

MYS.Federal2 = {
shield = {"Malaysia expressway logo.svg", "MYS Jkr-ft%route%.svg"},
name = MYS.Federal.name,
link = MYS.Federal.link,
abbr = MYS.Federal.abbr,
}
MYS.FT2 = MYS.Federal2

MYS.FELDA = {
shield = MYS.Federal.shield,
name = MYS.Federal.name,
link = MYS.Federal.link,
abbr = MYS.Federal.abbr,
}

MYS.Johor = {
shield = {
ifexists = true,
default = "Jkr-j%route%.svg",
},
name = "State Route J%route%",
link = "Johor State Route J%route%",
abbr = "J%route%"
}

MYS.Kedah = {
shield = {
ifexists = true,
default = "Jkr-k%route%.svg",
},
name = "State Route K%route%",
link = "Kedah State Route K%route%",
abbr = "K%route%"
}

MYS.Kelantan = {
shield = {
ifexists = true,
default = "Jkr-d%route%.svg",
},
name = "State Route D%route%",
link = "Kelantan State Route K%route%",
abbr = "D%route%"
}

MYS.Malacca = {
shield = {
ifexists = true,
default = "Jkr-m%route%.svg",
},
name = "State Route M%route%",
link = "Malacca State Route N%route%",
abbr = "M%route%"
}

MYS.Melaka = MYS.Malacca

MYS["Negeri Sembilan"] = {
shield = {
ifexists = true,
default = "Jkr-n%route%.svg",
},
name = "State Route N%route%",
link = "Negeri Sembilan State Route N%route%",
abbr = "N%route%"
}

MYS.NS = MYS["Negeri Sembilan"]

MYS.Pahang = {
shield = {
ifexists = true,
default = "Jkr-c%route%.svg",
},
name = "State Route C%route%",
link = "Pahang State Route C%route%",
abbr = "C%route%"
}

MYS.Penang = {
shield = {
ifexists = true,
default = "Jkr-p%route%.svg",
},
name = "State Route P%route%",
link = "Penang State Route P%route%",
abbr = "P%route%"
}

MYS["Pulau Pinang"] = MYS.Penang

MYS.Perak = {
shield = {
ifexists = true,
default = "Jkr-a%route%.svg",
},
name = "State Route A%route%",
link = "Perak State Route A%route%",
abbr = "A%route%"
}

MYS.Perlis = {
shield = {
ifexists = true,
default = "Jkr-r%route%.svg",
},
name = "State Route R%route%",
link = "Perlis State Route R%route%",
abbr = "R%route%"
}

MYS.Selangor = {
shield = {
ifexists = true,
default = "Jkr-b%route%.svg",
},
name = "State Route B%route%",
link = "Selangor State Route B%route%",
abbr = "B%route%"
}

MYS.Terengganu = {
shield = {
ifexists = true,
default = "Jkr-t%route%.svg",
},
name = "State Route T%route%",
link = "Terengganu State Route T%route%",
abbr = "T%route%"
}

MYS.State = {
shield = {
ifexists = true,
default = "Jkr-ft%route%.png",
},
name = "State Route %route%",
link = "",
abbr = "%route%"
}

MYS.Fed = {
shield = "",
link = {
hook = "padroute",
paddedLength = 4,
default = "FR%paddedRoute%"
},
abbr = MYS.Federal.abbr
}

MYS.FL = {
shield = "",
link = {
hook = "padroute",
paddedLength = 4,
default = "FELDA%paddedRoute%"
},
abbr = MYS.FELDA.abbr
}

return MYS