มอดูล:Adjacent stations/MRT

local BL =  "%1"
local PP =  "%1"
local OR =  "%1"
local BR =  "%1"
local GL =  "%1"
local p = {
	"system title" = "รถไฟฟ้ามหานคร",
	"system icon" = "link=รถไฟฟ้ามหานคร",
	"name format" = {
		"font-size: 160%; font-family: Arial; font-weight: Regular; padding: 0.3em 4px; line-height: 0.8em",
		"Blue" = "font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_redbar" = "border-top: 6px solid #cc2a2a; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_pinkbar" = "border-top: 6px solid #e42e5c; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_bluebar" = "border-top: 6px solid #1964b7; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_greenbar" = "border-top: 6px solid #06ac4f; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_orangebar" = "border-top: 6px solid #ff8c00; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_yellowbar" = "border-top: 6px solid #FFFF00; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_lightbluebar" = "border-top: 6px solid #00a5db; font-size: 200%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 0.8em",
		"Blue_purplebar" = "border-top: 6px solid #606; font-size: 160%; font-family: cordia new, Arial; font-weight: Regular; color: #FFC90E; background-color: #20147d; padding: 0.3em 4px; line-height: 110%",
		"Purple" = "text-align: left; font-size: 160%; font-family: Arial; font-weight: Regular; color: #FFF; background-color: #606; padding: 0.3em 4px; line-height: 130%",
		"Yellow" = "border-bottom: 6px solid #Yellow; background-color: #000060; font-size: 200%; font-family:TH Sarabun New,TH SarabunPSK, sans-serif; font-weight: bold; color: #FFFFFF; line-height: 0.8em; padding: 0.5em;",
		"Pink" = "border-bottom: 6px solid #Pink; background-color: #000060; font-size: 200%; font-family:TH Sarabun New,TH SarabunPSK, sans-serif; font-weight: bold; color: #FFFFFF; line-height: 0.8em; padding: 0.5em;",
	},
"header background color" = {
"Blue" = "20147d",
"Blue_redbar" = "20147d",
"Blue_pinkbar" = "20147d",
"Blue_bluebar" = "20147d",
"Blue_greenbar" = "20147d",
"Blue_orangebar" = "20147d",
"Blue_yellowbar" = "20147d",
"Blue_lightbluebar" = "20147d",
"Blue_purplebar" = "20147d",
		"Purple" = "606",
		"Yellow" = "000060",
		"Pink" = "000060",
	},
	"header text color" = {
"Blue" = "FFC90E",
"Blue_redbar" = "FFC90E",
"Blue_pinkbar" = "FFC90E",
"Blue_bluebar" = "FFC90E",
"Blue_greenbar" = "FFC90E",
"Blue_orangebar" = "FFC90E",
"Blue_yellowbar" = "FFC90E",
"Blue_lightbluebar" = "FFC90E",
"Blue_purplebar" = "FFC90E",
		"Purple" = "FFFFFF",
		"Yellow" = "FFFFFF",
		"Pink" = "FFFFFF",
	},
	"station format" = {
		"สถานี%1",
		"บางซื่อ" = "บางซื่อ",
		"ศิริราช" = "ศิริราช",
		"พหลโยธิน" = "พหลโยธิน",
		"เพชรบุรี" = "เพชรบุรี",
		"บางหว้า" = "บางหว้า",
		"ลาดพร้าว" = {
			"Blue" = "ลาดพร้าว",
			"Yellow" = "ลาดพร้าว",
},
"ศูนย์วัฒนธรรมแห่งประเทศไทย" = {
			"Blue" = "ศูนย์วัฒนธรรมแห่งประเทศไทย",
			"Orange" = "ศูนย์วัฒนธรรมแห่งประเทศไทย",
		},
		"บางซ่อน" = "บางซ่อน",
		"หัวหมาก" = "หัวหมาก",
		"สำโรง" = "สำโรง",
		"หลักสี่" = "หลักสี่",
		"ศูนย์ราชการนนทบุรี" = {
			"Purple" = "ศูนย์ราชการนนทบุรี",
			"Pink" = "ศูนย์ราชการนนทบุรี",
			"Brown" = "ศูนย์ราชการนนทบุรี",
		},
		"พุทธมณฑล สาย 2" = BL,
		"ทวีวัฒนา" = BL,
		"หนองแขม" = BL,
		"พุทธมณฑล สาย 4" = BL,
		"รัฐสภา" = PP,
		"ศรีย่าน" = PP,
		"วชิรพยาบาล" = PP,
		"หอสมุดแห่งชาติ" = PP,
		"บางขุนพรหม" = PP,
		"อนุสาวรีย์ประชาธิปไตย" = PP,
		"สะพานพุทธ" = PP,
		"วงเวียนใหญ่" = PP,
		"โรงพยาบาลสมเด็จพระปิ่นเกล้า" = PP,
		"ดาวคะนอง" = PP,
		"บางปะแก้ว" = PP,
		"บางปะกอก" = PP,
		"แยกประชาอุทิศ" = PP,
		"ราษฎร์บูรณะ" = PP,
		"พระประแดง" = PP,
		"ครุใน" = PP,
		"บางขุนนนท์" = {
			"Blue" = "บางขุนนนท์",
			"Orange" = OR,
		},
		"สนามหลวง" = OR,
		"อนุสาวรีย์ประชาธิปไตย" = OR,
		"ยมราช" = OR,
		"ราชเทวี" = OR,
		"ประตูน้ำ" = OR,
		"ราชปรารภ" = OR,
		"ดินแดง" = OR,
		"ประชาสงเคราะห์" = OR,
		"แยกลำสาลี" = {
			"" = "แยกลำสาลี",
			"Yellow" = "แยกลำสาลี",
			"Orange" = OR,
			"Brown" = BR,
		},
		"มีนบุรี" = {
			"" = "มีนบุรี",
			"Pink" = "มีนบุรี",
			"Orange" = OR,
		},
		"ต่างระดับฉลองรัช" = {
			"Brown" = "ต่างระดับฉลองรัช",
		},
		"บางเขน" = BR,
		"มหาวิทยาลัยเกษตรศาสตร์" = BR,
	},
	"lines" = {
		"_default" = {
			"title" = "สาย%1",
		},
		"Blue" = {
			"color" = "1964b7",
			"title" = "สายเฉลิมรัชมงคล",
			"icon" = "link=รถไฟฟ้ามหานคร สายเฉลิมรัชมงคล",
			"text color" = "FFFFFF",
			"short name" = "สายสีน้ำเงิน",
			"left terminus" = "หลักสอง",
			"right terminus" = "ท่าพระ",
			"circular" = false,
			"types" = {
				 "Loop" = {
					"title" = "",
					"left terminus" = "ถัดไป ทวนเข็มนาฬิกา",
					"right terminus" = "ถัดไป ตามเข็มนาฬิกา",
					"circular" = true,
				},
				"Tha Phra loop" = {
					"title" = "",
					"left terminus" = "มุ่งหน้า หลักสอง",
					"right terminus" = "ถัดไป ตามเข็มนาฬิกา",
					"circular" = true,
				}
			}
		},
		"Purple" = {
			"title" = "สายฉลองรัชธรรม",
			"color" = "606",
			"icon" = "link=รถไฟฟ้ามหานคร สายฉลองรัชธรรม",
			"text color" = "FFFFFF",
			"short name" = "สายสีม่วง",
			"left terminus" = "คลองบางไผ่",
			"right terminus" = "เตาปูน",
		},
		"Yellow" = {
			"title" = "สายนัคราพิพัฒน์",
			"color" = "f4da01",
			"icon" = "link=รถไฟฟ้ามหานคร สายนัคราพิพัฒน์",
			"text color" = "000000",
			"short name" = "สายสีเหลือง",
			"left terminus" = "ลาดพร้าว",
			"right terminus" = "สำโรง",
		},
		"Orange" = {
			"title" = "สายสีส้ม",
			"color" = "ff6601",
			"icon" = "link=รถไฟฟ้ามหานคร สายสีส้ม",
			"text color" = "FFFFFF",
			"short name" = "สายสีส้ม",
			"left terminus" = "ศูนย์วัฒนธรรมแห่งประเทศไทย",
			"right terminus" = "แยกร่มเกล้า",
		},
		"Pink" = {
			"title" = "สายสีชมพู",
			"color" = "ce5981",
			"icon" = "link=รถไฟฟ้ามหานคร สายสีชมพู",
			"text color" = "FFFFFF",
			"short name" = "สายสีชมพู",
			"left terminus" = "ศูนย์ราชการนนทบุรี",
			"right terminus" = "มีนบุรี",
			"types" = {
				"Impact" = {
					"title" = "สายเมืองทองธานี",
					"short name" = "สายเมืองทองธานี",
					"left terminus" = "เมืองทองธานี",
					"right terminus" = "ทะเลสาบเมืองทองธานี",
				},
			}
		},
		"Brown" = {
			"title" = "สายสีน้ำตาล",
			"color" = "a52a2a",
			"icon" = "link=รถไฟฟ้ามหานคร สายสีน้ำตาล",
			"text color" = "FFFFFF",
			"short name" = "สายสีน้ำตาล",
			"left terminus" = "ศูนย์ราชการนนทบุรี",
			"right terminus" = "แยกลำสาลี",
		},
		"Light Blue" = {
			"title" = "สายสีฟ้า",
			"color" = "9cf",
			"icon" = "link=รถไฟฟ้าสายสีฟ้า",
			"text color" = "000000",
			"short name" = "สายสีฟ้า",
			"left terminus" = "ประชาสงเคราะห์",
			"right terminus" = "ช่องนนทรี",
		},
		"Grey" = {
			"title" = "สายสีเทา",
			"color" = "808080",
			"icon" = "link=รถไฟฟ้าสายสีเทา",
			"text color" = "FFFFFF",
			"short name" = "สายสีเทา",
			"left terminus" = "วัชรพล",
			"right terminus" = "ทองหล่อ",
		},
		"Silver" = {
			"title" = "สายสีเงิน",
			"color" = "ddd",
			"icon" = "link=รถไฟฟ้ารางคู่ขนาดเบา สายบางนา–ท่าอากาศยานสุวรรณภูมิ",
			"text color" = "000000",
			"short name" = "สายสีเงิน",
			"left terminus" = "บางนา",
			"right terminus" = "สุวรรณภูมิ",
		}
	},
	"aliases" = {
		"blue" = "Blue",
		"bl" = "Blue",
"chaleom ratchamongkon" = "Chaleom Ratchamongkon",
"chrcmk" = "Chaleom Ratchamongkon",
		"purple" = "Purple",
		"pp" = "Purple",
"Chalong Ratchadham" = "Chalong Ratchadham",
"chrchm" = "Chalong Ratchadham",
		"orange" = "Orange",
		"or" = "Orange",
		"pink" = "Pink",
		"pk" = "Pink",
		"yellow" = "Yellow",
		"yl" = "Yellow",
		"ylex" = "Yellow",
"nakkhara phiphat" = "Nakkhara Phiphat",
"naphpht" = "Nakkhara Phiphat",
		"brown" = "Brown",
		"light blue" = "Light Blue",
		"grey" = "Grey",
	}
}
return p