Module:Adjacent stations/NSW TrainLink

This is a data module for Module:Adjacent stations. It supports services operated by NSW TrainLink.

This module covers style requirements for all NSW TrainLink lines.

Intercity

mali niŋ
LineKeysColorHex colorIcon
Blue Mountains Line Blue Mountains
or BMT
  f99d1c
Central Coast & Newcastle Line Central Coast & Newcastle
or CNN
  d11f2f
Hunter Line Hunter
or HUN
  833134
South Coast Line South Coast
or SCO
  005aa3
Southern Highlands Line Southern Highlands
or SHL
  008846

Regional

mali niŋ
LineKeysColorHex colorIcon
NSW TrainLink North Coast Line North Coast   f6891f
NSW TrainLink North Western Line North Western   f6891f
NSW TrainLink Southern Line Southern   f6891f
NSW TrainLink Western Line Western   f6891f
LineKeysColorHex colorIcon
NSW TrainLink Coach Services Coach   732a82

local nsw = "%1 railway station, New South Wales"
local sydney = "%1 railway station, Sydney"

local p = {
	["lang"] = "en-GB",
	["system title"] = "[[NSW TrainLink]]",
	["system icon"] = "[[File:TfNSW T.png|17px|link=NSW TrainLink]]",
	["system color"] = "dd3f1d",
	["name format"] = {
		"font-size: 170%; font-family: sans-serif; font-weight: bolder; line-height: 100%; color: #ffffff; background-color: #dd3f1d; padding: 0.5em 0 0.5em 0;",
		["NSW TrainLink regional"] = "font-size: 170%; font-family: sans-serif; font-weight: bolder; line-height: 100%; color: #ffffff; background-color: #f6891f; padding: 0.5em 0 0.5em 0;",
	},
	["station format"] = {
		["Aberdeen"] = nsw,
		["Adamstown"] = nsw,
		["Bathurst"] = nsw,
		["Bell"] = nsw,
		["Blackheath"] = nsw,
		["Brisbane"] = "Roma Street railway station",
		["Broadmeadows"] = "Broadmeadows railway station, Melbourne",
		["Cardiff"] = nsw,
		["Central"] = sydney,
		["Coniston"] = nsw,
		["Epping"] = sydney,
		["Exeter"] = nsw,
		["Glenbrook"] = nsw,
		["Glenfield"] = sydney,
		["Gloucester"] = nsw,
		["Gordon"] = sydney,
		["Grafton"] = nsw,
		["Hamilton"] = nsw,
		["Hexham"] = nsw,
		["High Street"] = nsw,
		["Ivanhoe"] = nsw,
		["Kings Cross"] = sydney,
		["Linden"] = nsw,
		["Loftus"] = sydney,
		["Melbourne"] = "Southern Cross railway station",
		["Newcastle Interchange"] = "Newcastle Interchange",
		["Orange"] = nsw,
		["Otford"] = nsw,
		["Paterson"] = nsw,
		["Penrith"] = sydney,
		["Penrose"] = nsw,
		["Sandgate"] = nsw,
		["Scarborough"] = nsw,
		["Singleton"] = nsw,
		["Sydney"] = sydney,
		["Tamworth"] = nsw,
		["Thornton"] = nsw,
		["Town Hall"] = sydney,
		["Victoria Street"] = nsw,
		["Waterfall"] = sydney,
		["Waverton"] = sydney,
		["Wellington"] = nsw,
		["Wingham"] = nsw,
		["Wynyard"] = sydney,
		"%1 railway station",
	},
	["lines"] = {
		["Blue Mountains"] = {
			["title"] = "[[Blue Mountains Line]]",
			["color"] = "f99d1c",
			["icon"] = "[[File:TfNSW BMT.svg|16px|alt=]]",
			["left terminus"] = "Bathurst",
			["right terminus"] = "Central",
		},
		["Central Coast & Newcastle"] = {
			["title"] = "[[Central Coast & Newcastle Line]]",
			["color"] = "d11f2f",
			["icon"] = "[[File:TfNSW CCN.svg|16px|alt=]]",
			["left terminus"] = "Newcastle Interchange",
			["right terminus"] = "Central",
		},
		["Coach"] = {
			["title"] = "[[NSW TrainLink#Coach services|NSW TrainLink]] Coach Services",
			["color"] = "732a82",
			["icon"] = "[[File:TfNSW C.svg|16px|alt=]]",
			["left terminus"] = "Broken Hill",
			["right terminus"] = "Central",
		},
		["Hunter"] = {
			["title"] = "[[Hunter Line]]",
			["color"] = "833134",
			["icon"] = "[[File:TfNSW HUN.svg|16px|alt=]]",
			["left terminus"] = {"Dungog", "Scone"},
			["right terminus"] = "Newcastle Interchange",
		},
		["North Coast"] = {
			["title"] = "[[NSW TrainLink#North Coast|NSW TrainLink North Coast Line]]",
			["color"] = "f6891f",
			["left terminus"] = {"Grafton", "Casino", "Brisbane"},
			["right terminus"] = "Sydney",
		},
		["North Western"] = {
			["title"] = "[[NSW TrainLink#North Western|NSW TrainLink North Western Line]]",
			["color"] = "f6891f",
			["left terminus"] = {"Moree", "Armidale"},
			["right terminus"] = "Sydney",
		},
		["Southern"] = {
			["title"] = "[[NSW TrainLink#Southern|NSW TrainLink Southern Line]]",
			["color"] = "f6891f",
			["left terminus"] = {"Canberra", "Griffith", "Melbourne"},
			["right terminus"] = "Sydney",
		},
		["South Coast"] = {
			["title"] = "[[South Coast Line]]",
			["color"] = "005aa3",
			["icon"] = "[[File:TfNSW SCO.svg|16px|alt=]]",
			["left terminus"] = {"Kiama", "Port Kembla"},  -- The Bomaderry Service is covered by a separate shuttle
			["right terminus"] = {"Central", "Bondi Junction"},
		},
		["Southern Highlands"] = {
			["title"] = "[[Southern Highlands Line]]",
			["color"] = "008846",
			["icon"] = "[[File:TfNSW SHL.svg|16px|alt=]]",
			["left terminus"] = "Goulburn",
			["right terminus"] = "Central",
		},
		["Western"] = {
			["title"] = "[[NSW TrainLink#Western|NSW TrainLink Western Line]]",
			["color"] = "f6891f",
			["left terminus"] = {"Broken Hill", "Dubbo"},
			["right terminus"] = "Sydney",
		},
	},
	["aliases"] = {
		["ccn"] = "Central Coast & Newcastle",
		["shl"] = "Southern Highlands",
		["bmt"] = "Blue Mountains",
		["sco"] = "South Coast",
		["hun"] = "Hunter",
	},
}

return p