Jump to content

Module:Road data/strings/CHN

Permanently protected module
From Wikipedia, the free encyclopedia

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

-- China
local CHN = {}

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

CHN.G = {
	shield = "Kokudou %route%(China).svg",
	name = "National Highway %route%",
	link = "China National Highway %route%",
	abbr = "G%route%",
	translation = "%route%国道",
	lang = "zh"
}

CHN.Guodao = CHN.G

CHN.X = {
	shield = "China County Road X%route%.svg",
	abbr = "X%route%",
	link = "",
	abbr = "X%route%"
}

CHN.Expwy = {
	shield = "China Expwy G%route% sign no name.svg",
	shieldmain = "China Expwy G%route% sign with name.svg",
	name = {
		hook = "mask",
		mask = "Road data/masks/CHN/Expwy",
		base = "route",
		masked = "names",
		default = "%names%"
	},
	link = {
		hook = "mask",
		mask = "Road data/masks/CHN/Expwy",
		base = "route",
		masked = "names",
		default = "G%route% %names%"
	},
	abbr = "G%route%",
	translation = {
		hook = "mask",
		mask = "Road data/masks/CHN/Expwy translations",
		base = "route",
		masked = "translation",
		default = "%translation%"
	},
	lang = {
		arg = "route",
		default = "zh",
		["3012"] = "ug",
		["3013"] = "ug",
		["3014"] = "ug",
		["3015"] = "ug",
		["3016"] = "ug",
	}
}

CHN.Ex = CHN.Expwy

CHN.S = {
	shield = {
		hook = "mask",
		mask = "Road data/masks/CHN",
		base = "state",
		masked = "province",
		default = {
			ifexists = true,
			default = "[province||%province% Expwy S%route% sign no name.svg|Shoudou %route%(China).svg]",
			otherwise = {
				ifexists = true,
				default = "Shoudou %route%(China).svg"
			}
		}
	},
	link = {
		arg = "province",
		["BJ"] = {
			arg = "route",
			["11"] = "Beijing–Chengde Expressway",
			["12"] = "Airport Expressway (Beijing)",
			["28"] = "Northern Airport Expressway",
			["51"] = "2nd Airport Expressway",
			["50"] = "5th Ring Road"
		},
		["SH"] = {
			arg = "route",
			["1"] = "S1 Yingbin Expressway",
			["2"] = "S2 Shanghai–Luchaogang Expressway",
			["3"] = "S3 Shanghai–Fengxian Highway",
			["4"] = "S4 Shanghai–Jinshan Expressway",
			["5"] = "S5 Shanghai–Jiading Expressway",
			["6"] = "S6 Shanghai–Nanxiang Expressway",
			["12"] = "S12 Chongming–Haimen Expressway",
			["16"] = "Shanghai–Yixing Expressway",
			["19"] = "S19 Xinnong–Jinshanwei Expressway",
			["20"] = "S20 Outer Ring Expressway",
			["22"] = "S22 Jiading–Anting Expressway",
			["26"] = "Shanghai–Changzhou Expressway",
			["32"] = "Shanghai–Jiaxing–Huzhou Expressway",
			["36"] = "S36 Tinglin–Fengjing Expressway"
		},
		["JS"] = {
			arg = "route",
			["5"] = "S5 Changshu–Jiashan Expressway",
			["9"] = "S9 Suzhou–Shaoxing Expressway",
			["19"] = "S19 Nantong–Wuxi Expressway",
			["29"] = "S29 Yancheng–Jingjiang Expressway",
			["35"] = "S35 Taizhou–Zhenjiang Expressway",
			["39"] = "S39 Jiangdu–Yixing Expressway",
			["45"] = "S45 Yixing–Hangzhou Expressway",
			["49"] = "S49 Xinyi–Yangzhou Expressway",
			["51"] = "S51 Liyang–Huangshan Expressway",
			["55"] = "S55 Nanjing–Xuancheng Expressway",
			["59"] = "S59 Nanjing–Hexian Expressway",
			["65"] = "S65 Xuzhou–Mingguang Expressway",
			["69"] = "S69 Jinan–Xuzhou Expressway",
			["8"] = "S8 Siyang–Suzhou Expressway",
			["18"] = "S18 Yancheng–Huai'an Expressway",
			["22"] = "S22 Yizheng–Nanjing Expressway",
			["28"] = "S28 Qidong–Yangzhou Expressway",
			["32"] = "S32 Chongming–Haimen Expressway",
			["38"] = "S38 Changshu–Hefei Expressway",
			["48"] = "Shanghai–Yixing Expressway",
			["58"] = "Shanghai–Changzhou Expressway",
			["68"] = "S68 Liyang–Wuhu Expressway",
			["72"] = "S72 Port of Lianyungang North Port Expressway",
			["73"] = "S73 Port of Lianyungang East Port Expressway",
			["75"] = "S75 Funing–Xinghua–Taizhou Branch Expressway",
			["79"] = "S79 Nantong Branch Expressway",
			["80"] = "S80 Port of Taicang North Port Expressway",
			["81"] = "S81 Port of Taicang South Port Expressway",
			["82"] = "S82 Port of Zhangjiagang Port Expressway",
			["83"] = "S83 Wuxi Branch Expressway",
			["85"] = "S85 Liyang Branch Expressway",
			["86"] = "S86 Zhenjiang Branch Expressway",
			["87"] = "S87 Nanjing Branch Expressway",
			["88"] = "S88 Nanjing Lukou International Airport Expressway",
			["92"] = "S92 Jinhu Branch Expressway",
			["96"] = "S96 Suqian Branch Expressway"
		},
		["GD"] = {
			arg = "route",
			["1"] = "S1 Guangzhou–Lechang Expressway",
			["2"] = "S2 Guangzhou–Heyuan Expressway",
			["3"] = "S3 Guangzhou–Shenzhen Riverbank Expressway",
			["4"] = "Huanan Expressway",
			["4W"] = "S4W Guangzhou–Macau Expressway Zhuhai Branch Line",
			["5"] = "S5 Guangzhou–Gaoming Expressway",
			["6"] = "S6 Guangzhou–Zhongshan–Jiangmen Expressway",
			["8"] = "S8 Guangzhou–Foshan–Zhaoqing Expressway",
			["10"] = "S10 Shaoguan–Ganzhou Expressway",
			["12"] = "S12 Meizhou–Longyan Expressway",
			["13"] = "S13 Jieyang–Huilai Expressway",
			["14"] = "S14 Shantou–Zhanjiang Expressway",
			["15"] = "S15 Shenyang–Haikou Expressway Guangzhou Branch Line",
			["16"] = "S16 Paitan–Jiekou Expressway",
			["17"] = "S17 Chaozhou–Huilai Expressway",
			["20"] = "S20 Chaozhou–Dongguan Expressway",
			["21"] = "S21 Guangzhou–Huidong Expressway",
			["22"] = "S22 Longbeiling–Lincun Expressway",
			["23"] = "S23 Huizhou–Aotou Expressway",
			["25"] = "S25 Changchun–Shenzhen Expressway Huizhou Branch Line",
			["26"] = "S26 Shenzhen–Luoding Expressway",
			["27"] = "S27 Renhua–Shenzhen Expressway",
			["28"] = "S28 Shuijing–Guanjingtou Expressway",
			["29"] = "S29 Conghua–Dongguan–Shenzhen Expressway",
			["30"] = "S30 Huizhou–Shenzhen Coastal Expressway",
			["31"] = "S31 Longhua–Dalingshan Expressway",
			["32"] = "S32 Western Coastal Expressway",
			["3211"] = "S3211 Zhuhai Airport Expressway",
			["3213"] = "S3213 Gaolan Port Expressway",
			["33"] = "S33 Nanshan–Guangming Expressway",
			["39"] = "S39 Dongsha–Xingang Expressway",
			["41"] = "S41 Guangzhou Airport Expressway",
			["43"] = "S43 Guangzhou–Zhuhai West Expressway",
			["45"] = "S45 Fosha–Jiangmen Expressway",
			["47"] = "S47 Jiangman–Zhuhai Expressway",
			["49"] = "S49 Xinhui–Taishan Expressway",
			["51"] = "S51 Luoding–Yangjiang Expressway",
			["55"] = "S55 Erenhot–Guangzhou Expressway Guangzhou Branch Line",
			["75"] = "S75 Lanzhou–Haikou Expressway Zhanjiang Branch Line",
			["81"] = "S81 Guangzhou Ring Expressway",
			["82"] = "S82 Foshan First Ring Expressway",
			["83"] = "S83 Meizhou Ring Expressway",
			["84"] = "S84 Shaoguan Ring Expressway",
			["86"] = "S86 Shenzhen Ring Expressway",
			["105"] = "S105 Nansha Port Expressway",
			["110"] = "S110 Guangzhou–Qingyuan Expressway",
			["202"] = "S202 Huizhou–Yantian Expressway",
			["209"] = "S209 Qingshuihe–Pinghu Expressway",
			["301"] = "S301 Nanshan–Pingshan Expressway",
			["302"] = "S302 Nansha Port Expressway Yuhuang Branch Line",
			["303"] = "Huanan Expressway",
			["304"] = "S304 Humen-Xiegang Expressway Humen Port Branch Line"},
		["HA"] = {
			arg = "route",
			["1"] = "S1 Zhengzhou Airport Expressway",		
			["22"] = "S22 Nanle–Linzhou Expressway",
			["26"] = "S26 Taiqian–Huixian Expressway",
			["28"] = "S28 Changyuan–Jiyuan Expressway",
			["32"] = "S32 Yongcheng–Dengfeng Expressway",
			["38"] = "S38 Xincai–Biyang Expressway",
			["39"] = "S39 Puyang–Shangcheng Expressway",
			["49"] = "S49 Linzhou–Ruzhou Expressway",
			["57"] = "S57 Mianchi–Luanchuan Expressway",
			["60"] = "S60 Shangqiu–Dengfeng Expressway",
			["62"] = "S62 Huaibin–Neixiang Expressway",
			["71"] = "S71 Anyang Northwest Ring Expressway",
            ["81"] = "S81 Shangqiu–Nanyang Expressway",
			["82"] = "S82 Zhengzhou–Minquan Expressway",
			["83"] = "S83 Lankao–Nanyang Expressway",
			["84"] = "S84 Xinxiang–Huixian Expressway",
            ["85"] = "S85 Zhengzhou–Shaolinsi Expressway",
			["86"] = "S86 Lankao–Yuanyang Expressway",
			["87"] = "S87 Zhengzhou–Yuntaishan Expressway",
			["88"] = "S88 Zhengzhou–Xixia Expressway",
			["90"] = "S90 Kaifeng–Weishi Expressway",
			["92"] = "S92 Luoyang–Lushi Expressway",
			["93"] = "S93 Linzhou–Jiyuan Expressway",
			["94"] = "S94 Luanchuan–Lushi Expressway",
			["95"] = "S95 Sanmenxia Bridge Expressway",
			["96"] = "S96 Luoyang–Luanchuan Expressway",
			["97"] = "S97 Yichuan–Xin'an Expressway",            
            ["98"] = "S98 Neixiang–Dengzhou Expressway",
			["99"] = "S99 Dengzhou–Laohekou Expressway"
		}
	},
	abbr = {
		hook = "mask",
		mask = "Road data/masks/CHN",
		base = "state",
		masked = "province",
		default = "[province||%province%|] S%route%"
	},
	translation = {
		arg = "province",
		["BJ"] = {
			arg = "route",
			["11"] = "北京-承德高速公路",
			["12"] = "机场高速公路",
			["28"] = "机场北线高速公路",
			["50"] = "五环路",
			["51"] = "机场第二高速公路",
		},
		["SH"] = {
			arg = "route",
			["1"] = "迎宾高速公路",
			["2"] = "上海-芦潮港高速公路",
			["3"] = "上海-奉贤公路",
			["4"] = "上海-金山高速公路",
			["5"] = "上海-嘉定高速公路",
			["6"] = "上海-南翔高速公路",
			["7"] = "上海-崇明高速公路",
			["12"] = "崇明-海门高速公路",
			["16"] = "上海-宜兴高速公路",
			["19"] = "新农-金山卫高速公路",
			["20"] = "上海外环高速公路",
			["22"] = "嘉定-安亭高速公路",
			["26"] = "上海-常州高速公路",
			["32"] = "上海-嘉兴-湖州高速公路",
			["36"] = "亭林-枫泾高速公路"
		},
		["JS"] = {
			arg = "route",
			["5"] = "常熟-嘉善高速公路",
			["9"] = "苏州-绍兴高速公路",
			["19"] = "南通-无锡高速公路",
			["29"] = "盐城-靖江高速公路",
			["35"] = "泰州-镇江高速公路",
			["39"] = "江都-宜兴高速公路",
			["45"] = "宜兴-杭州高速公路",
			["49"] = "新沂-扬州高速公路",
			["51"] = "溧阳-黄山高速公路",
			["55"] = "南京-宣城高速公路",
			["59"] = "南京-和县高速公路",
			["65"] = "徐州-明光高速公路",
			["69"] = "济南-徐州高速公路",
			["8"] = "泗阳-宿州高速公路",
			["18"] = "盐城-淮安高速公路",
			["22"] = "仪征-南京高速公路",
			["28"] = "启东- 扬州高速公路",
			["32"] = "崇明-海门高速公路",
			["38"] = "常熟-合肥高速公路",
			["48"] = "上海-宜兴高速公路",
			["58"] = "上海-常州高速公路",
			["68"] = "溧阳-芜湖高速公路",
			["72"] = "连云港港北疏港高速公路",
			["73"] = "连云港港东疏港高速公路",
			["75"] = "盐城-淮安高速公路阜宁-兴化-泰州支线",
			["79"] = "上海-西安高速公路南通支线",
			["80"] = "太仓港北疏港高速公路",
			["81"] = "太仓港南疏港高速公路",
			["82"] = "张家港港疏港高速公路",
			["83"] = "苏州-绍兴高速公路无锡支线",
			["85"] = "常熟-合肥高速公路溧阳支线",
			["86"] = "上海-成都高速公路镇江支线",
			["87"] = "长春-深圳高速公路南京支线",
			["88"] = "南京禄口国际机场高速公路",
			["92"] = "长春-深圳高速公路金湖支线",
			["96"] = "新沂-扬州高速公路宿迁支线",
		},
		["GD"] = {
			arg = "route",
			["21"] = "广惠高速公路",
			["105"] = "南沙港快速路",
		},
		["HA"] = {
			arg = "route",
			["1"] = "郑州机场高速公路",
			["22"] = "南乐-林州高速公路",
			["26"] = "台前-辉县高速公路",
			["28"] = "长垣-济源高速公路",
			["32"] = "永城-登封高速公路",
			["38"] = "新蔡-泌阳高速公路",
			["39"] = "濮阳-商城高速公路",
			["49"] = "林州-汝州高速公路",
			["57"] = "渑池-栾川高速公路",
			["59"] = "三门峡-淅川高速公路",
			["60"] = "商丘-登封高速公路",
			["62"] = "淮滨-信阳高速公路",
			["64"] = "汝阳-义马高速公路",
			["81"] = "商丘-南阳高速公路",
			["82"] = "郑州-民权高速公路",
			["83"] = "兰考-南阳高速公路",
			["8311"] = "南阳北绕城高速公路",
			["85"] = "郑州-少林寺高速公路",
			["86"] = "兰考-焦作高速公路",
			["87"] = "郑州-云台山高速公路",
			["88"] = "郑州-西峡高速公路",
			["89"] = "郑州机场-西华高速公路",
			["90"] = "开封-尉氏高速公路",
			["91"] = "安阳西北绕城高速公路",
			["92"] = "新乡-辉县高速公路",
			["93"] = "济源-洛阳西高速公路",
			["94"] = "栾川-卢氏高速公路",
			["96"] = "洛阳-栾川高速公路",
			["97"] = "洛阳-卢氏高速公路",
			["98"] = "内乡-邓州高速公路",
			["99"] = "渠首-老河口高速公路",
		},
		["HE"] = {
			arg = "route",
			["32"] = "宣化-大同高速公路",
			["9902"] = "新乐-元氏高速公路",
		},
	},
	lang = "zh"
}

return CHN