模組:CNBUS/SH/data

local lines = {
-- 0字头线路
['01'] = { name = "[[上海公交01线|01]]", fare = "2元", operators = "巴士三分",
    { { "蓝村路南泉路", time = "5:30-23:00" }, { "⇆" }, { "[[上海西站]]", time = ""}, }},
['04'] = { name = "04", fare = "2元", operators = "巴士五分",
    { { "汶水路共和新路", time = "5:30-23:32" }, { "↺" }, { "", time = "" } },},
-- 数字线路
['6'] = { name = "[[上海公交6路|6]]", fare = "2元", operators = "巴士一分", note = "大部分班次使用电动汽车运营,仅少量班次仍使用无轨电车运营 ", image = "[[File:沪A05683D_6.jpeg|140px]]",
    { { "长白路图们路", time = "4:30-23:30" }, { "⇆" }, { "武进路河南北路", time = "5:05-23:30"}, }},
['8'] = { name = "[[上海公交8路|8]]", fare = "2元", operators = "巴士一分", image = "[[File:(CHN-Shanghai) Shanghai Bus No.1 Public Transport Co. S0S-0095 沪A56993D 8 2023-09-02.jpg|140px]]",
    { { "三门路市光路", time = "5:20-22:40" }, { "⇆" }, { "松潘路杨树浦路", time = ""}, }},
}
--0字头线路

lines._external = {
	-- 导入浦东线路
	['Module:CNBUS/SH/pudong'] = {
		['81'] = '81',
		['隧一'] = '隧一',
		['隧三'] = '隧三',
		['隧六'] = '隧六',
		['桥四'] = '桥四',
		['桥五'] = '桥五',
		['桥六'] = '桥六',
	},
}

lines._map = {
    -- 线路重定向
    ['02'] = '2',
    ['03'] = '3',
    ['05'] = '5',
    ['06'] = '6',
    ['07'] = '7',
    ['08'] = '8',
    ['09'] = '9',
}

return lines