มอดูล:Road data/strings/IND
< มอดูล:Road data | strings
คู่มือการใช้งานมอดูล[สร้าง]
คุณอาจจะต้องการสร้างคู่มือการใช้งานของมอดูลนี้ ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของมอดูลนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /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"]`.
]==]
-- India
local IND = {}
local util = require("Module:Road data/util")
util.addAll(IND, require("Module:Road data/strings/ASIA"))
IND.AH.shield = "AH%route%-IN.svg"
IND.NE = {
shield = "NE%route%-IN.svg",
orientation = "upright",
name = "National Expressway %route%",
link = "National Expressway %route% (India)",
abbr = "NE %route%"
}
IND.NH = {
shield = "NH%route%-IN.svg",
orientation = "upright",
name = "National Highway %route%",
link = "National Highway %route% (India)",
abbr = "NH %route%"
}
IND.SH = {
shield = "SH%route%-IN jct.svg",
shieldmain = {
ifexists = true,
arg = "state",
GJ = "Road marker SH IN-GJ %route%.svg",
Gujarat = "Road marker SH IN-GJ %route%.svg",
MH = "State Highway %route% (Maharashtra).svg",
Maharashtra = "State Highway %route% (Maharashtra).svg",
KL = "SH KL %route%.svg",
Kerala = "SH KL %route%.svg",
TG = "Road marker SH IN-TG %route%.svg",
Telangana = "Road marker SH IN-TG %route%.svg",
WB = "WB SH%route%-IND.png",
["West Bengal"] = "WB SH%route%-IND.png",
default = "Road marker IN SH.svg"
},
shieldlist = {
ifexists = true,
arg = "state",
GJ = "Road marker SH IN-GJ %route%.svg",
Gujarat = "Road marker SH IN-GJ %route%.svg",
MH = "State Highway %route% (Maharashtra).svg",
Maharashtra = "State Highway %route% (Maharashtra).svg",
KL = "SH KL %route%.svg",
Kerala = "SH KL %route%.svg",
TG = "Road marker SH IN-TG %route%.svg",
Telangana = "Road marker SH IN-TG %route%.svg",
WB = "WB SH%route%-IND.png",
["West Bengal"] = "WB SH%route%-IND.png",
default = "Road marker IN SH.svg"
},
orientation = "upright",
name = "State Highway %route%",
link = {
hook = "mask",
mask = "Road data/masks/IND",
base = "state",
masked = "fullstate",
default = "State Highway %route% [state||(%fullstate%)|]"
},
abbr = "SH %route%"
}
IND.SR = {
shield = "SR%route%-IN jct.svg",
name = "State Route %route%",
link = {
hook = "mask",
mask = "Road data/masks/IND",
base = "state",
masked = "fullstate",
default = "State Route %route% [state||(%fullstate%)|]"
},
abbr = "SR %route%"
}
return IND