For faster navigation, this Iframe is preloading the Wikiwand page for 模組:CNBUS/ZZ.

模組:CNBUS/ZZ

文档图示 模块文档[查看] [编辑] [历史] [清除缓存]

本模块及子页面用于存放郑州公交相关数据,通过Module:CNBUS及((郑州公交路线简单列表))、((郑州公交路线列表))、((郑州公交公司色块))等模板使用。

数据

[编辑]

本模块使用的数据分别存放在如下的子页面中,如需更新数据可至相应子页面修改。

欢迎完善并维护本系统属下各数据模块!

数据名称 存放位置
公司代表颜色 Module:CNBUS/ZZ
线路编号、路线(起讫点、方向)、备注、
营运公司(分公司)、全程票价、营运时间、图片、车型
中心城区(含航空港区、上街区)线路(1-999路、快速公交(B)、高峰快线(K)、社区线路(S)、夜间线路(Y)、旅游线路(游)等) Module:CNBUS/ZZ/data
荥阳市线路 Module:CNBUS/ZZ/xingyang
新郑市线路 Module:CNBUS/ZZ/xinzheng
新密市线路 Module:CNBUS/ZZ/xinmi
巩义市线路 Module:CNBUS/ZZ/gongyi
登封市线路 Module:CNBUS/ZZ/dengfeng
中牟县线路 Module:CNBUS/ZZ/zhongmu
郑州的开封市线路 引用:Module:CNBUS/ZZ/kaifeng
数据:Module:CNBUS/KF/data
郑州的新乡市线路 引用:Module:CNBUS/ZZ/xinxiang
数据:Module:CNBUS/XX/data
表格表头 Module:CNBUS

引用方法

[编辑]

不建议直接在条目空间中使用#invoke语法调用本模块,而是使用模板,并在模板中引用本模块。

调用名称 参数 引用模板
list

((#invoke:CNBUS/ZZ |list |city=ZZ
|loc = 地区
|format = 样式
|code = 线路代码
))

((郑州公交路线列表))
title

((#invoke:CNBUS/ZZ |title |city=ZZ
|loc = 地区
|format = 样式
))

((郑州公交路线列表))
simplelist

((#invoke:CNBUS/ZZ |simplelist |city=ZZ
|loc = 地区
|code = 线路代码
))

((郑州公交路线简单列表))

local zz = {
	areas = { },
	operators = { }
}

zz.areas['zhengzhou'] = {
	name = "郑州",
	source = "Module:CNBUS/ZZ/data",
	aliases = { "Zhengzhou", "ZZ", "zz", "郑州", "default" }
}
zz.areas['xingyang'] = {
	name = "荥阳",
	source = "Module:CNBUS/ZZ/xingyang",
	aliases = { "Xingyang", "XY", "xy", "荥阳" }
}
zz.areas['xinzheng'] = {
	name = "新郑",
	source = "Module:CNBUS/ZZ/xinzheng",
	aliases = { "Xinzheng", "XZ", "xz", "新郑" }
}
zz.areas['xinmi'] = {
	name = "新密",
	source = "Module:CNBUS/ZZ/xinmi",
	aliases = { "Xinmi", "XM", "xm", "新密" }
}
zz.areas['zhongmu'] = {
	name = "中牟",
	source = "Module:CNBUS/ZZ/zhongmu",
	aliases = { "Zhongmu", "ZM", "zm", "中牟" }
}
zz.areas['gongyi'] = {
	name = "巩义",
	source = "Module:CNBUS/ZZ/gongyi",
	aliases = { "Gongyi", "GY", "gy", "巩义" }
}
zz.areas['dengfeng'] = {
	name = "登封",
	source = "Module:CNBUS/ZZ/dengfeng",
	aliases = { "Dengfeng", "DF", "df", "登封" }
}
zz.areas['kaifeng'] = {
	name = "开封",
	source = "Module:CNBUS/ZZ/kaifeng",
	aliases = { "Kaifeng", "KF", "kf", "开封" }
}
zz.areas['xinxiang'] = {
	name = "新乡",
	source = "Module:CNBUS/ZZ/xinxiang",
	aliases = { "Xinxiang", "XX", "xx", "新乡" }
}

zz.operators['ZZB'] = {
	color = "green",
	aliases = { "公交一公司", "公交二公司", "公交三公司", "公交四公司", "公交五公司", "快速公交", "港区公交", "上街腾达" }
}

zz.operators['XZ'] = {
	color = "yellow",
	aliases = { "新郑祥通", "新郑新通" }
}
zz.operators['XY'] = {
	color = "darkgreen",
	aliases = { "荥阳公交" }
}
zz.operators['ZM'] = {
	color = "silver",
	aliases = { "中牟城乡公交" }
}
zz.operators['GY'] = {
	color = "yellowgreen",
	aliases = { "巩义公交" }
}
zz.operators['XM'] = {
	color = "seagreen",
	aliases = { "新密公交" }
}
zz.operators['JY'] = {
	color = "violet",
	aliases = { "郑州交运", "神象城际", "郑新公交", "金象公交" }
}
zz.operators['ZZA'] = {
	color = "deepskyblue",
	aliases = { "机场集团" }
}
zz.operators['other'] = {
	color = "white",
}
zz.operators['multi'] = {
	color = "black",
}

return zz
{{bottomLinkPreText}} {{bottomLinkText}}
模組:CNBUS/ZZ
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?