Module:Adjacent stations/Pakistan Railways

local p = { ["system title"] = "Pakistan Railways", ["name format"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; line-height: 120%; color: #FFFFFF; background-color:#7FB17F; padding: 0.3em 0;", ["header background color"] = "f2f7e8", ["header text color"] = "000000", ["station format"] = { "%1 railway station", ["Dadu"] = "Dadu railway station (Pakistan)", ["Jammu"] = "Jammu", ["Walton"] = "Walton railway station (Pakistan)", ["Warburton"] = "Warburton (Pakistan) railway station" },	["lines"] = { ["_default"] = { ["color"] = "7FB17F", ["title"] = "%1 Line" },		["Akbar Bugti"] = { ["title"] = "Akbar Express", ["left terminus"] = "Quetta", ["right terminus"] = "Lahore Junction" },		["Allama Iqbal"] = { ["title"] = "Allama Iqbal Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Sialkot Junction" },		["Attock Passenger"] = { ["title"] = "Attock Passenger", ["left terminus"] = "Mari Indus", ["right terminus"] = "Attock City Junction" },		["Awam"] = { ["title"] = "Awam Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Peshawar Cantonment" },		["Badin"] = { ["title"] = "Badin Express", ["left terminus"] = "Hyderabad Junction", ["right terminus"] = "Badin" },		["Bahauddin Zakaria"] = { ["title"] = "Bahauddin Zakaria Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Multan Cantonment" },		["Bolan Mail"] = { ["title"] = "Bolan Mail", ["left terminus"] = "Karachi City", ["right terminus"] = "Quetta" },		["Chaman Mixed"] = { ["title"] = "Chaman Mixed", ["left terminus"] = "Quetta", ["right terminus"] = "Chaman" },		["Fareed"] = { ["title"] = "Fareed Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Lahore Junction" },		["Green Line Express"] = { ["title"] = "Green Line Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Islamabad" },		["Hazara"] = { ["title"] = "Hazara Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Havelian" },		["Islamabad"] = { ["title"] = "Islamabad Express", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Islamabad" },		["Jaffar"] = { ["title"] = "Jaffar Express", ["left terminus"] = "Quetta", ["right terminus"] = "Peshawar Cantonment" },		["Karachi"] = { ["title"] = "Karachi Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Lahore Junction" },		["Karakoram"] = { ["title"] = "Karakoram Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Lahore Junction" },		["Khushal Khan Khattak"] = { ["title"] = "Khushhal Khan Khattak Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Peshawar Cantonment" },		["Khyber Mail"] = { ["title"] = "Khyber Mail", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Peshawar Cantonment" },		["Khyber Steam"] = { ["title"] = "Khyber Steam Safari", ["left terminus"] = "Peshawar Cantonment", ["right terminus"] = "Attock Khurd" },		["Margalla"] = { ["title"] = "Margalla Express", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Rawalpindi" },		["Mehr"] = { ["title"] = "Mehr Express", ["left terminus"] = "Multan Cantonment", ["right terminus"] = "Rawalpindi" },		["Millat"] = { ["title"] = "Millat Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Malakwal Junction" },		["Night Coach Express"] = { ["title"] = "Night Coach Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Lahore Junction" },		["Pakistan"] = { ["title"] = "Pakistan Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Rawalpindi" },		["Rawal"] = { ["title"] = "Rawal Express", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Rawalpindi" },		["Shalimar"] = { ["title"] = "Shalimar Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Lahore Junction" },		["Subak Kharam"] = { ["title"] = "Subak Kharam Express", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Rawalpindi" },		["Subak Raftar"] = { ["title"] = "Subak Raftar Express", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Rawalpindi" },		["Sukkur"] = { ["title"] = "Sukkur Express", ["left terminus"] = "Karachi City", ["right terminus"] = "Jacobabad Junction" },		["Tezgam"] = { ["title"] = "Tezgam", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Rawalpindi" },		["Thar"] = { ["title"] = "Thar Express", ["left terminus"] = "Karachi Cantonment", ["right terminus"] = "Zero Point" }, -- ML 1 ["Karachi–Peshawar"] = { ["color"] = "4444CC", ["left terminus"] = "Kiamari", ["right terminus"] = "Peshawar Cantonment" }, -- ML 2 ["Kotri–Attock"] = { ["color"] = "cc44cc", ["left terminus"] = "Kotri Junction", ["right terminus"] = "Attock City Junction" }, -- ML 3 ["Rohri–Chaman"] = { ["color"] = "44cc44", ["left terminus"] = "Rohri Junction", ["right terminus"] = "Chaman" }, -- ML 4 ["Quetta–Taftan"] = { ["color"] = "cc4444", ["left terminus"] = "Quetta", ["right terminus"] = "Zahedan" }, -- Other ["Dandot Light"] = { ["title"] = "Dandot Light Railway", ["color"] = "a6acaf", ["left terminus"] = "Dandot", ["right terminus"] = "Chalisa Junction" },		["Gharibwal Cement Works"] = { ["title"] = "Gharibwal Cement Works", ["color"] = "17202a", ["left terminus"] = "Haranpur Junction", ["right terminus"] = "Gharibwal" },		["Malakwal–Bhera"] = { ["title"] = "Malakwal–Bhera Railway", ["color"] = "99cc33", ["left terminus"] = "Malakwal Junction", ["right terminus"] = "Bhera" },		["Nowshera–Dargai"] = { ["title"] = "Nowshera–Dargai Railway", ["color"] = "3CB371", ["left terminus"] = "Nowshera Junction", ["right terminus"] = "Dargai" },		["Khushalgarh–Kohat–Thal"] = { ["title"] = "Khushalgarh–Kohat–Thal Railway", ["color"] = "2471a3", ["left terminus"] = "Golra Sharif Junction", ["right terminus"] = "Thal" },		["Larkana–Jacobabad Light"] = { ["title"] = "Larkana–Jacobabad Light Railway", ["color"] = "f1ff33", ["left terminus"] = "Larkana Junction", ["right terminus"] = "Jacobabad Junction" },		["Taxila–Khunjerab"] = { ["title"] = "Taxila–Khunjerab Line", ["color"] = "fdea01", ["left terminus"] = "Taxila Cantonment Junction", ["right terminus"] = "Khunjerab Junction" }, -- Branch lines, ["Bahawalnagar–Fort Abbas Branch"] = { ["color"] = "F6CEF5", ["left terminus"] = "Bahawalnagar Junction", ["right terminus"] = "Fort Abbas" },		["Bannu–Tank Branch"] = { ["color"] = "d7bde2", ["left terminus"] = "Bannu", ["right terminus"] = "Tank Junction" },		["Daud Khel–Lakki Marwat Branch"] = { ["color"] = "FF7F50", ["left terminus"] = "Daud Khel Junction", ["right terminus"] = "Laki Marwat Junction" },		["Hyderabad–Badin Branch"] = { ["color"] = "cad089", ["left terminus"] = "Kotri Junction", ["right terminus"] = "Badin" },		["Hyderabad–Khokhrapar Branch"] = { ["color"] = "d0b389", ["left terminus"] = "Kotri Junction", ["right terminus"] = "Zero Point" },		["Islamabad–Muzaffarabad Branch"] = { ["color"] = "FAFAFA", ["left terminus"] = "Nur (Rawalpindi)", ["right terminus"] = "Islamabad" },		["Khanewal–Wazirabad Branch"] = { ["color"] = "d4ff00", ["left terminus"] = "Khanewal Junction", ["right terminus"] = "Wazirabad Junction" },		["Lahore–Wagah Branch"] = { ["color"] = "0bfb8a", ["left terminus"] = "Lahore Junction", ["right terminus"] = "Wagah" },		["Lodhran–Khanewal Chord"] = { ["color"] = "FFFF00", ["left terminus"] = "Lodhran Junction", ["right terminus"] = "Khanewal Junction" },		["Lodhran–Raiwind Branch"] = { ["color"] = "ffbf00", ["left terminus"] = "Lodhran Junction", ["right terminus"] = "Raiwind Junction" },		["Malakwal–Khushab Branch"] = { ["color"] = "f9e79f", ["left terminus"] = "Malakwal Junction", ["right terminus"] = "Khushab Junction" },		["Samasata–Amruka Branch"] = { ["color"] = "D8F6CE", ["left terminus"] = "Samasata Junction", ["right terminus"] = "Amruka" },		["Sangla Hill–Kundian Branch"] = { ["color"] = "90EE90", ["left terminus"] = "Sangla Hill Junction", ["right terminus"] = "Kundian Junction" },		["Shahdara Bagh–Chak Amru Branch"] = { ["color"] = "C70039", ["left terminus"] = "Shahdara Bagh Junction", ["right terminus"] = "Chak Amru" },		["Shahdara Bagh–Sangla Hill Branch"] = { ["color"] = "000080", ["left terminus"] = "Shahdara Bagh Junction", ["right terminus"] = "Sangla Hill Junction" },		["Sher Shah–Kot Addu Branch"] = { ["color"] = "6B8E23", ["left terminus"] = "Sher Shah Junction", ["right terminus"] = "Kot Adu Junction" },		["Shorkot–Lalamusa Branch"] = { ["color"] = "380B61", ["left terminus"] = "Shorkot Cantonment Junction", ["right terminus"] = "Lala Musa Junction" },		["Shorkot–Sheikhupura Branch"] = { ["color"] = "088A4B", ["left terminus"] = "Shorkot Cantonment Junction", ["right terminus"] = "Qila Sheikhupura Junction" },		["Wazirabad–Narowal Branch"] = { ["color"] = "A0522D", ["left terminus"] = "Wazirabad Junction", ["right terminus"] = "Narowal Junction" }, -- Defunct ["Kandahar State"] = { ["title"] = "Kandahar State Railway", ["color"] = "f7dc6f", ["left terminus"] = "Sibi Junction", ["right terminus"] = "Zardalu" },		["Khyber Pass"] = { ["title"] = "Khyber Pass Railway", ["note-mid"] = "(defunct)", ["color"] = "a6e4ea", ["left terminus"] = "Peshawar City", ["right terminus"] = "Landi Khana" },		["Jammu–Sialkot"] = { ["title"] = "Jammu–Sialkot line", ["note-mid"] = "(defunct)", ["color"] = "000000", ["left terminus"] = "Jammu", ["right terminus"] = "Sialkot Junction" },		["Khanpur–Chachran"] = { ["title"] = "Khanpur–Chachran Railway", ["note-mid"] = "(defunct)", ["color"] = "8053ac", ["left terminus"] = "Khanpur", ["right terminus"] = "Chachran" },		["Mandra–Bhaun"] = { ["title"] = "Mandra–Bhaun Railway", ["note-mid"] = "(defunct)", ["color"] = "00bfff", ["left terminus"] = "Mandra Junction", ["right terminus"] = "Bhaun" },		["Mirpur Khas–Nawabshah"] = { ["title"] = "Mirpur Khas–Nawabshah Railway", ["note-mid"] = "(defunct)", ["color"] = "FA8072", ["left terminus"] = "Mirpur Khas", ["right terminus"] = "Nawabshah" },		["Zhob Valley"] = { ["title"] = "Zhob Valley Railway", ["note-mid"] = "(defunct)", ["color"] = "669999", ["left terminus"] = "Bostan Junction", ["right terminus"] = "Zhob" }	},	["aliases"] = { ["akbarbugti"] = "Akbar Bugti", ["allamaiqbal"] = "Allama Iqbal", ["attockpassenger"] = "Attock Passenger", ["awam"] = "Awam", ["badin"] = "Badin", ["bahauddinzakaria"] = "Bahauddin Zakaria", ["bolanmail"] = "Bolan Mail", ["chamanmixed"] = "Chaman Mixed", ["fareed"] = "Fareed", ["greenlineexpress"] = "Green Line Express", ["hazara"] = "Hazara", ["islamabad"] = "Islamabad", ["jaffar"] = "Jaffar", ["karachi"] = "Karachi", ["karakoram"] = "Karakoram", ["khushalkhankhattak"] = "Khushal Khan Khattak", ["khybermail"] = "Khyber Mail", ["khybersteam"] = "Khyber Steam", ["margalla"] = "Margalla", ["mehr"] = "Mehr", ["millat"] = "Millat", ["nightcoachexpress"] = "Night Coach Express", ["pakistan"] = "Pakistan", ["rawal"] = "Rawal", ["shalimar"] = "Shalimar", ["subakkharam"] = "Subak Kharam", ["subakraftar"] = "Subak Raftar", ["sukkur"] = "Sukkur", ["tezgam"] = "Tezgam", ["thar"] = "Thar", ["ml1"] = "Karachi–Peshawar", ["ml2"] = "Kotri–Attock", ["ml3"] = "Rohri–Chaman", ["ml4"] = "Quetta–Taftan", } }

return p