Module:Road data/strings/CHN

MyWikiBiz, Author Your Legacy — Monday December 02, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Road data/strings/CHN/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"]`.
]==]

-- 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%"}

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%"
}

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 = "state",
		["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–Xinyang Expressway",
			["64"] = "S64 Ruyang–Yima Expressway",
			["81"] = "S81 Shangqiu–Nanyang Expressway",
			["82"] = "S82 Zhengzhou–Minquan Expressway",
			["83"] = "S83 Lankao–Nanyang Expressway",
			["85"] = "S85 Zhengzhou–Shaolinsi Expressway",
			["86"] = "S86 Lankao–Yuanyang Expressway",
			["87"] = "S87 Zhengzhou–Yuntaishan Expressway",
			["88"] = "S88 Zhengzhou–Xixia Expressway",
			["89"] = "S89 Zhengzhou Airport–Xihua Expressway",
			["90"] = "S90 Kaifeng–Weishi Expressway",
			["91"] = "S91 Anyang Northwest Ring Expressway",
			["92"] = "S92 Xinxiang–Huixian Expressway",
			["93"] = "S93 Jiyuan–Luoyang Expressway",
			["94"] = "S94 Luanchuan–Lushi Expressway",
			["95"] = "S95 Sanmenxia Bridge Expressway",
			["96"] = "S96 Luoyang–Luanchuan Expressway",
			["97"] = "S97 Luoyang–Lushi Expressway",
			["98"] = "S98 Neixiang–Dengzhou Expressway",
			["99"] = "S99 Qushou–Laohekou Expressway"
		}
	},
	abbr = {
		hook = "mask",
		mask = "Road data/masks/CHN",
		base = "state",
		masked = "province",
		default = "[province||%province%|] S%route%"
	}
}

return CHN