Jump to content

Module:Adjacent stations/Iarnród Éireann

Permanently protected module
From Wikipedia, the free encyclopedia

local QQQQ = "<span class=error>????</span>"

local p = {
	["system title"] = "[[Iarnród Éireann]]",
	["system icon"] = "[[File:Iarnrod Eireann simple logo 2013.png|13px]]",
	["station format"] = {
		"%1 railway station",
		["Drogheda"] = "[[Drogheda railway station|Drogheda MacBride]]",
		["Dublin Connolly"] = "Connolly Station",
		["Dundalk Clarke"] = "Dundalk railway station",
		
		-- Pseudo stations for prev and next
		["Howth, Portmarnock or Malahide"]="[[Howth Junction & Donaghmede railway station|Howth Junction]]<br/>or<br/>[[Portmarnock railway station|Portmarnock]]<br/>or<br/>[[Malahide railway station|Malahide]]",
		["Maynooth or Drumcondra"] = "[[Maynooth railway station|Maynooth]]<br/>or<br/>[[Drumcondra railway station|Drumcondra]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = QQQQ,
			["color"] = "000000"
		},
		["Enterprise"] = {
			["title"] = "[[Enterprise (train service)|Enterprise]]<br/><small>[[Belfast–Dublin line|Dublin-Belfast]]</small>",
			["color"] = "355E3B",
			["left terminus"] = "Lanyon Place",
			["right terminus"] = "Dublin Connolly",
		},
		["InterCity"] = {
			["title"] = "[[InterCity (Iarnród Éireann)|InterCity]]",
			["color"] = "ffa500",
			["left terminus"] = QQQQ,
			["right terminus"] = QQQQ,
			["types"] = {
				["Dublin-Rosslare"] = {
					["title"] = "[[Dublin–Rosslare railway line|Dublin-Rosslare]]",
					["left terminus"] = "Dublin Connolly",
					["right terminus"] = "Rosslare Europort",
				},
				["Dublin-Sligo"] = {
					["title"] = "[[Dublin–Sligo railway line|Dublin-Sligo]]",
					["left terminus"] = "Dublin Connolly",
					["right terminus"] = "Sligo Mac Diarmada"
				},
				["Dublin-Galway"] = {
					["title"] = "[[Dublin–Westport/Galway railway line|Dublin-Galway]]",
					["left terminus"] = "Dublin Heuston",
					["right terminus"] = "Galway Ceannt"
				},
				["Dublin-Westport"] = {
					["title"] = "[[Dublin–Westport/Galway railway line|Dublin-Westport]]",
					["left terminus"] = "Dublin Heuston",
					["right terminus"] = "Westport"
				},
				["Limerick-Galway"] = {
					["title"] = "[[Western Railway Corridor|Limerick-Galway]]",
					["left terminus"] = "Limerick Colbert",
					["right terminus"] = "Galway Ceannt"
				},
			},
		},
		["Commuter"] = {
			["title"] = "[[Commuter (Iarnród Éireann)|Commuter]]",
			["color"] = "00a550",
			["left terminus"] = QQQQ,
			["right terminus"] = QQQQ,
			["types"] = {
				["City"] = {
					["title"] = "[[Dublin Suburban Rail#Western Commuter|Western Commuter (City Branch)]]",
					["left terminus"] = "Dublin Pearse",
					["right terminus"] = "Longford",					
				},
				["Docklands"] = {
					["title"] = "[[Dublin Suburban Rail#Western Commuter|Western Commuter (Docklands Branch)]]",
					["left terminus"] = "Docklands",
					["right terminus"] = "M3 Parkway",					
				},
				["Northern"] = {
					["title"] = "[[Dublin Suburban Rail#Northern Commuter|Northern Commuter]]",
					["left terminus"] = {"Dundalk Clarke","Newry"},
					["right terminus"] = {"Dublin Connolly","Dublin Pearse"},
				},
				["South Eastern"] = {
					["title"] = "[[Dublin_Suburban_Rail#South_Eastern_Commuter|South Eastern Commuter]]",
					["left terminus"] = "Dublin Connolly",
					["right terminus"] = "Gorey",
				},
			},
		},
		["Red"] = {
			["title"] = "[[Great Northern Railway (Ireland)|Great Northern]]",
			["color"] = "c41e3a",
			["left terminus"] = QQQQ,
			["right terminus"] = QQQQ
		},
		["Donegal"] = {
			["title"] = "[[County Donegal Railways Joint Committee|CDRJC]]",
			["color"] = "00008b",
			["left terminus"] = QQQQ,
			["right terminus"] = QQQQ
		},
		
	},
	["aliases"] = {
		["e"] = "Enterprise",
		["i"] = "InterCity",
		["ic"] = "InterCity",
		["intercity"] = "InterCity",
		["c"] = "Commuter",
		["commuter"] = "Commuter",
		["d"] = "Donegal",
		["donegal"] = "Donegal",
		["cdrjc"] = "Donegal",
		["gn"] = "Red",
		["greatnorthern"] = "Red",
		["r"] = "Red",
		["red"] = "Red",
	}
}

return p