Module:Adjacent stations/example

Source: Wikipedia, the free encyclopedia.

local p = {
	["lang"] = "en-GB",
	["system icon"] = "[[File:BSicon BAHN.svg|x14px|link=Example]]",
	-- ["system title"] = "[[Example|Example Railways]]",
	["station format"] = {
		"%1 railway station",
		"%1 station",
		["Stratford International"] = 2,
		["Gare de l'Est"] = "[[%1]]",
		["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station",
		["Beijingnan"] = "[[Beijing South railway station|Beijing South]]",
		["Pyongyang"] = 2,
		["Seoul"] = 2,
		["Busan"] = 2,
		["Frankfurt"] = {
			"[[%1 Hauptbahnhof|%1 Hbf]]",
			["1"] = "[[Frankfurt Airport long-distance station|Frankfurt Flughafen]]",
			["2"] = {
				"[[%1 Hauptbahnhof|%1 Hbf]]",
				["South"] = "[[%1 %3 station|%1 %3]]"
			}
		},
		["Zürich"] = "[[%1 Hauptbahnhof|%1 Hbf]]",
		["Stockholm Central"] = "%1 Station",
		["Oslo Central"] = "%1 Station",
	},
	["lines"] = { -- to do: create a third circular line that has the rest of the features
		["1"] = {
			["title"] = "[[Example|Example 1]]",
			["icon"] = {"File:BSicon BAHN.svg", ["link"] = 'Example'},
			["color"] = "#6E9B29",
			["left terminus"] = {"Edinburgh Waverley", "Cardiff Central"},
			["right terminus"] = "Busan"
		},
		["2"] = {
			["title"] = "[[Example|Example 2]]",
			["color"] = "000077",
			["types"] = {
				["local"] = {
					["title"] = "local"
				},
				["semi-express"] = {
					["title"] = "semi-express",
					["color"] = "007700"
				},
				["express"] = {
					["title"] = "express",
					["color"] = "007700",
					["background color"] = "transparent"
				}
			},
			["left terminus"] = {"Roma Termini", "Lisbon"},
			["right terminus"] = {"Stockholm Central", "Oslo Central"}
		}
	}
}

return p