Module:Adjacent stations/example/sandbox

MyWikiBiz, Author Your Legacy — Tuesday December 24, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:Adjacent stations/example/sandbox/doc

local p = {
	["lang"] = "en-GB",
	["system title"] = "[[File:BSicon BAHN.svg|x14px|link=Example]] [[Example|Example Railways]]",
	["icon"] = "[[File:BSicon lBHF red.svg|x14px|link=Example]]",
	["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"] = {
			"[[%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"] = {
			["line title"] = "[[Example|Example 1]]",
			["color"] = "6e9b29",
			["icon"] = "[[File:BSicon lBHF cerulean.svg|x14px|link=Example]]",
			["left terminus"] = {
				{"Edinburgh Waverley", "Cardiff Central"},
				["Edinburgh"] = "Edinburgh Waverley",
				["Cardiff"] = "Cardiff Central"
			},
			["right terminus"] = "Busan"
		},
		["2"] = {
			["line title"] = "[[Example|Example 2]]",
			["color"] = "e5755b",
			["icon"] = "[[File:BSicon lBHF yellow.svg|x14px|link=Example]]",
			["types"] = {
				["local"] = {
					["type title"] = "Local",
					["color"] = "2d2",
					["icon"] = "[[File:BSicon lBHF black.svg|x14px|link=Example]]",
					["icon format"] = "image"
				},
				["express"] = {
					["type title"] = "Express",
					["color"] = "d22",
					["icon"] = "[[File:BSicon lBHF golden.svg|x14px|link=Example]]",
					["icon format"] = "xroute"
				}
			},
			["left terminus"] = {
				"Roma Termini",
				["Lisbon"] = "Rossio"
			},
			["right terminus"] = {
				{"Stockholm Central", "Oslo Central"},
				["Stockholm"] = "Stockholm Central",
				["Oslo"] = "Oslo Central"
			}
		}
	}
}

return p