Jump to content

Module:Adjacent stations/example/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jc86035 (talk | contribs) at 08:04, 24 July 2018 (+ Frankfurt (testing)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {
	["system title"] = "[[File:BSicon BAHN.svg|x14px|link=Example]] [[Example|Example Railways]]",
	["station format"] = {
		"%1 railway station",
		["Stratford International"] = "%1 station",
		["Gare de l'Est"] = "[[%1]]",
		["Florence Santa Maria Novella"] = "Firenze Santa Maria Novella railway station",
		["Beijingnan"] = "[[Beijing South railway station|Beijing South]]",
		["Pyongyang"] = "%1 Station",
		["Seoul"] = "%1 station",
		["Busan"] = "%1 station",
		["Frankfurt"] = {
			"Frankfurt (Main) Hauptbahnhof",
			["1"] = "Frankfurt Airport long-distance station"
		},
		["Stockholm Central"] = "%1 Station",
		["Oslo Central"] = "%1 Station",
	},
	["lines"] = { -- to do: create a third circular line that has the rest of the features
		["1"] = {
			["line title"] = "[[Example|Example 1]]",
			["colour"] = "6e9b29",
			["left terminus"] = {
				{"Edinburgh Waverley", "Cardiff Central"},
				["Edinburgh"] = "Edinburgh Waverley",
				["Cardiff"] = "Cardiff Central"
			},
			["right terminus"] = "Busan"
		},
		["2"] = {
			["line title"] = "[[Example|Example 2]]",
			["colour"] = "e5755b",
			["branches"] = {
				["local"] = {"Local", "2d2"},
				["express"] = {"Express", "d22"}
			},
			["left terminus"] = {
				"Roma Termini",
				["Lisbon"] = "Rossio"
			},
			["right terminus"] = {
				{"Stockholm Central", "Oslo Central"},
				["Stockholm"] = "Stockholm Central",
				["Oslo"] = "Oslo Central"
			}
		}
	}
}

return p