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

模組:CNBUS/CS

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


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

数据

[编辑]

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

数据名称 存放位置
公司代表颜色及其他数据存放路径 Module:CNBUS/CS
线路编号、路线(起讫点、方向)、备注、

营运公司(分公司)、全程票价、图片

市辖区县线路(及外市驶入线路) Module:CNBUS/CS/data
宁乡线路 Module:CNBUS/CS/ningxiang
浏阳线路 Module:CNBUS/CS/liuyang
表格表头 Module:CNBUS

引用方法

[编辑]

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

调用名称 参数 引用模板
list ((#invoke:CNBUS/CS |list |city=CS

|loc = 地区

|format = 样式

|code = 线路代码

))

((长沙公交线路列表))
title ((#invoke:CNBUS/CS |title |city=CS

|loc = 地区

|format = 样式

))

((长沙公交线路列表))
simplelist ((#invoke:CNBUS/CS |simplelist |city=CS

|loc = 地区

|code = 线路代码

))

((长沙公交线路简单列表))
colorbox ((#invoke:CNBUS/CS |colorbox |city=CS

|company = 公司代码

))

((长沙公交公司色块))

local cs = {
	areas = { },
	operators = { }
}

cs.areas['changsha'] = {
	name = "长沙",
	page = "长沙公交线路列表",
	source = "Module:CNBUS/CS/data",
	aliases = { "Changsha", "CS", "cs", "长沙", "長沙", "市区星望", "default" }
}
cs.areas['ningxiang'] = {
	name = "宁乡",
	page = "宁乡公交线路列表",
	source = "Module:CNBUS/CS/ningxiang",
	aliases = { "Ningxiang", "NX", "nx", "宁乡", "寧鄉" }
}
cs.areas['liuyang'] = {
	name = "浏阳",
	page = "浏阳公交线路列表",
	source = "Module:CNBUS/CS/liuyang",
	aliases = { "Liuyang", "LY", "ly", "浏阳", "瀏陽" }
}
cs.areas['xiangtan'] = {
	name = "湘潭",
	page = "湘潭公交线路列表",
	source = "Module:CNBUS/XT/data",
	aliases = { "Xiangtan", "XT", "xt", "湘潭" }
}
cs.areas['zhuzhou'] = {
	name = "株洲",
	page = "株洲公交线路列表",
	source = "Module:CNBUS/ZU/data",
	aliases = { "Zhuzhou", "ZU", "zu", "株洲" }
}
cs.areas['yueyang'] = {
	name = "岳阳",
	page = "岳阳公交线路列表",
	source = "Module:CNBUS/YEY/data",
	aliases = { "Yueyang", "YEY", "yey", "岳阳", "岳陽" }
}
cs.operators['changsha'] = {
	color = "#0eef07",
	aliases = { "长沙公交" }
}
cs.operators['zhongwang'] = {
	color = "#ffAfdd",
	aliases = { "望城众旺", "益阳众旺" }
}
cs.operators['leifeng'] = {
	color = "#8311e0",
	aliases = { "雷锋巴士" }
}
cs.operators['xingsha'] = {
	color = "#ff371c",
	aliases = { "星沙公交" }
}
cs.operators['jingxi'] = {
	color = "#d62c6b",
	aliases = { "京熙巴士" }
}
cs.operators['xingtong'] = {
	color = "#199ee0",
	aliases = { "星通公交" }
}
cs.operators['airport'] = {
	color = "#a16b47",
	aliases = { "湘空旅汽" }
}
cs.operators['longxiang'] = {
	color = "#ffec1a",
	aliases = { "龙骧宁乡", "龙骧星沙" }
}
cs.operators['ningxiang'] = {
	color = "#108a12",
	aliases = { "宁乡客运" }
}
cs.operators['chengye'] = {
	color = "#1f2363",
	aliases = { "成也客运" }
}
cs.operators['longcheng'] = {
	color = "#30e6cd",
	aliases = { "龙成巴士" }
}
cs.operators['huixiang'] = {
	color = "#bcf28e",
	aliases = { "辉祥客运" }
}
cs.operators['huaming'] = {
	color = "#24e575",
	aliases = { "花明客运" }
}
cs.operators['jianianhua'] = {
	color = "#65d998",
	aliases = { "嘉年华巴士" }
}
cs.operators['liuyang'] = {
	color = "#78c8f0",
	aliases = { "浏阳公交" }
}
cs.operators['jinyang'] = {
	color = "#ffbc0b",
	aliases = { "金阳巴士" }
}
cs.operators['other'] = {
	color = "white",
}
cs.operators['multi'] = {
	color = "black",
}

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