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

模組:CNBUS/HZ

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

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

数据

[编辑]

本模块使用的数据分别存放在如下的子页面中,如需更新数据可至相应子页面修改。使用说明及注意事项请参阅Module:CNBUS/doc

数据名称 存放位置
公司代表颜色 Module:CNBUS/HZ
线路编号、路线(起讫点、方向)、备注、
营运公司(分公司)、全程票价、运力
惠州各区、县线路 Module:CNBUS/HZ/data
惠州的深圳市线路 引用:Module:CNBUS/HZ/shenzhen
数据:Module:CNBUS/SZ/data
惠州的东莞市线路 引用:Module:CNBUS/HZ/dongguan
数据:Module:CNBUS/DG/data
表格表头 Module:CNBUS

引用方法

[编辑]

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

调用名称 参数 引用模板
list

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

((惠州巴士路线列表))
title

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

((惠州巴士路线列表))
simplelist

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

((惠州巴士路线简单列表))
colorbox

((#invoke:CNBUS/HZ |colorbox |city=HZ
|company = 公司代码
))

((惠州巴士公司色块))

相关模块

[编辑]

local hz = {
	areas = { },
	operators = { }
}

hz.areas['huizhou'] = {
	name = "惠州",
	page = "惠州公共交通线路表",
	source = "Module:CNBUS/HZ/data",
	aliases = { "Huizhou", "HZ", "hz", "惠州", "default" }
}
hz.areas['shenzhen'] = {
	name = "深圳",
	page = "深圳公交线路列表",
	source = "Module:CNBUS/HZ/shenzhen",
	aliases = { "Shenzhen", "SZ", "sz", "深圳" }
}
hz.areas['dongguan'] = {
	name = "东莞",
	page = "东莞巴士路线列表",
	source = "Module:CNBUS/HZ/dongguan",
	aliases = { "Dongguan", "DG", "dg", "东莞", "東莞" }
}

hz.operators['jiaotou'] = {
	color = "royalblue",
	aliases = { "交投巴士", "交投一分", "交投二分", "交投三分", "交投六分", "交投九分" }
}
hz.operators['dongjiang'] = {
	color = "lime",
	aliases = { "东江公交", "金通公交", "金通巴士", "太湖公交", "东江三司", "东江五司", "东部客运" }
}
hz.operators['qiyun'] = {
	color = "gold",
	aliases = { "汽运集团", "汽运城郊", "汽运博罗", "汽运龙门" }
}
hz.operators['huinan'] = {
	color = "deepskyblue",
	aliases = { "惠南公交" }
}
hz.operators['jinda'] = {
	color = "purple",
	aliases = { "金达运输" }
}
hz.operators['huiyang'] = {
	color = "blue",
	aliases = { "惠阳公汽" }
}
hz.operators['yongshun'] = {
	color = "lightyellow",
}
hz.operators['yuantong'] = {
	color = "seagreen",
	aliases = { "远通运输" }
}
hz.operators['zhitong'] = {
	color = "lightblue",
	aliases = { "志通运输", "志通大亚湾", { "志通大亚湾", "志通运输" } }
}
hz.operators['daya'] = {
	color = "cyan",
	aliases = { "大亚湾公汽" }
}
hz.operators['shunan'] = {
	color = "greenyellow",
	aliases = { "大亚湾顺安", "顺安运输" }
}
hz.operators['xinguo'] = {
	color = "red",
	aliases = { "新国线公交" }
}
hz.operators['junpeng'] = {
	color = "orangered",
	aliases = { "俊鹏公汽" }
}
hz.operators['yuehui'] = {
	color = "lightgreen",
	aliases = { "粤惠运输" }
}
hz.operators['chengxiang'] = {
	color = "green",
	aliases = { "博罗公汽", "博公石湾" }
}
hz.operators['guanhui'] = {
	color = "yellow",
	aliases = { "莞惠通运输" }
}
hz.operators['liantong'] = {
	color = "darkred",
	aliases = { "联通公交" }
}
hz.operators['other'] = {
	color = "white",
}
hz.operators['multi'] = {
	color = "black",
	aliases = { "任何运营商" }
}

return hz
{{bottomLinkPreText}} {{bottomLinkText}}
模組:CNBUS/HZ
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?