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

模組:CNBUS/BJ

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

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

数据

[编辑]

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

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

数据名称 存放位置
公司代表颜色 Module:CNBUS/BJ
线路编号、路线(起讫点、方向)、备注、
营运公司(分公司)、全程票价
中心城区线路、
微循环线路、
郊字头跨区线路
Module:CNBUS/BJ/data
门头沟区内线路 Module:CNBUS/BJ/mentougou
房山区内线路 Module:CNBUS/BJ/fangshan
大兴区内线路 Module:CNBUS/BJ/daxing
通州区内线路 Module:CNBUS/BJ/tongzhou
顺义区内线路 Module:CNBUS/BJ/shunyi/data
首都机场线路 Module:CNBUS/BJ/shunyi/KG
昌平区内线路 Module:CNBUS/BJ/changping
怀柔区内线路 Module:CNBUS/BJ/huairou
平谷区内线路 Module:CNBUS/BJ/pinggu
密云区内线路 Module:CNBUS/BJ/miyun
延庆区内线路 Module:CNBUS/BJ/yanqing
表格表头 Module:CNBUS

引用方法

[编辑]

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

调用名称 参数 引用模板
list

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

((北京公交路线列表))
title

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

((北京公交路线列表))
simplelist

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

((北京公交路线简单列表))
colorbox

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

((北京公交公司色块))

local bj = {
	areas = { },
	operators = { }
}

bj.areas['beijing'] = {
	name = "北京",
	source = "Module:CNBUS/BJ/data",
	aliases = { "Beijing", "BJ", "bj", "北京", "default" }
}
bj.areas['mentougou'] = {
	name = "门头沟",
	source = "Module:CNBUS/BJ/mentougou",
	aliases = { "Mentougou", "MTG", "mtg", "门头沟" }
}
bj.areas['fangshan'] = {
	name = "房山",
	source = "Module:CNBUS/BJ/fangshan",
	aliases = { "Fangshan", "FS", "fs", "房山" }
}
bj.areas['daxing'] = {
	name = "大兴",
	source = "Module:CNBUS/BJ/daxing",
	aliases = { "Daxing", "DX", "dx", "大兴" }
}
bj.areas['tongzhou'] = {
	name = "通州",
	source = "Module:CNBUS/BJ/tongzhou",
	aliases = { "Tongzhou", "TZ", "tz", "通州" }
}
bj.areas['shunyi'] = {
	name = "顺义",
	source = "Module:CNBUS/BJ/shunyi",
	aliases = { "Shunyi", "SY", "sy", "顺义" }
}
bj.areas['changping'] = {
	name = "昌平",
	source = "Module:CNBUS/BJ/changping",
	aliases = { "Changping", "CP", "cp", "昌平" }
}
bj.areas['huairou'] = {
	name = "怀柔",
	source = "Module:CNBUS/BJ/huairou",
	aliases = { "Huairou", "HR", "hr", "怀柔" }
}
bj.areas['pinggu'] = {
	name = "平谷",
	source = "Module:CNBUS/BJ/pinggu",
	aliases = { "Pinggu", "PG", "pg", "平谷" }
}
bj.areas['miyun'] = {
	name = "密云",
	source = "Module:CNBUS/BJ/miyun",
	aliases = { "Miyun", "MY", "my", "密云" }
}
bj.areas['yanqing'] = {
	name = "延庆",
	source = "Module:CNBUS/BJ/yanqing",
	aliases = { "Yanqing", "YQ", "yq", "延庆" }
}

bj.operators['bpt'] = {
	color = "red",
	aliases = { "客一", "客二", "客三", "客四"}
}
bj.operators['bafangda'] = {
	color = "greenyellow",
	aliases = { "客五", "客六", "客七", "客八" }
}
bj.operators['trolley'] = {
	color = "blue",
	aliases = { "电客" }
}
bj.operators['xingshunda'] = {
	color = "pink",
	aliases = { "兴顺达" }
}
bj.operators['jinghan'] = {
	color = "yellow",
	aliases = { "新国线" }
}
bj.operators['hengji'] = {
	color = "skyblue",
	aliases = { "副中心" }
}
bj.operators['junma'] = {
	color = "darkblue",
	aliases = { "骏马客运" }
}
bj.operators['wanjiatong'] = {
	color = "lightgreen",
	aliases = { "万佳通" }
}
bj.operators['lufengda'] = {
	color = "slategray",
	aliases = { "陆峰达" }
}
bj.operators['xintongshun'] = {
	color = "darkred",
	aliases = { "鑫通顺" }
}
bj.operators['baocheng'] = {
	color = "green",
	aliases = { "宝城客运" }
}
bj.operators['runcheng'] = {
	color = "CadetBlue",
	aliases = { "润城客运" }
}
bj.operators['airport'] = {
	color = "brown",
	aliases = { "空港开远" }
}
bj.operators['beilv'] = {
	color = "Moccasin",
	aliases = { "北旅时代" }
}

bj.operators['other'] = {
	color = "white",
}
bj.operators['multi'] = {
	color = "black",
}

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