Module:Adjacent stations/Viaurea: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
["_default"] = {
["_default"] = {
["title"] = "[[File:Viaurea%1.svg|25px|link=Viaurea]]",
["title"] = "[[File:Viaurea%1.svg|25px|link=Viaurea]]",
["icon"] = "[[File:Viaurea%1.svg|25px|link=Viaurea]]"
},
},
-- Viaurea lines
-- Viaurea lines
Line 21: Line 22:
["left terminus"] = "Precea",
["left terminus"] = "Precea",
["right terminus"] = "Montecara",
["right terminus"] = "Montecara",
["icon"] = "[[File:ViaureaA.svg|25px]]"
},
},
["B"] = {
["B"] = {

Revision as of 17:02, 5 April 2023

Lines

LineKeysColorHex colorIcon
ViaureaA.svg A   FF0000 File:Viaurea%1.svg
ViaureaB.svg B   FF7F2A File:Viaurea%1.svg
ViaureaC.svg C   5599FF File:Viaurea%1.svg
ViaureaD.svg D   44AA00 File:Viaurea%1.svg
ViaureaE.svg E   D83777 File:Viaurea%1.svg
ViaureaF.svg F   808080 File:Viaurea%1.svg

local x = "%1 railway station"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Viaurea]]",
	["system color"] = "ECECEC",
	["station format"] = {
		"%1 railway station",
		["Montecara"] = "[[Montecara Pòrta Conìxia railway station|Montecara Pòrta Conìxia]]",
	},
	["name format"] = "font-size:160%; font-family:Helvetica; font-weight:bold; font-kerning:auto; font-stretch:expanded; color:#1D1D1D; background-color:#ECECEC;  padding:0.5em 4px; text-align:center; align-items:center;",
	["header background color"] = "ECECEC",
	["header text color"] = "FFFFFF",
	["lines"] = {
		["_default"] = {
			["title"] = "[[File:Viaurea%1.svg|25px|link=Viaurea]]",
			["icon"] = "[[File:Viaurea%1.svg|25px|link=Viaurea]]"
		},
		-- Viaurea lines
		["A"] = {
			["color"] = "FF0000",
			["left terminus"] = "Precea",
			["right terminus"] = "Montecara",
		},
		["B"] = {
			["color"] = "FF7F2A",
			["left terminus"] = "Santa Fátima",
			["right terminus"] = "Montecara",
		},
		["C"] = {
			["color"] = "5599FF",
			["left terminus"] = "Gahã",
			["right terminus"] = "Montecara",
		},
		["D"] = {
			["color"] = "44AA00",
			["left terminus"] = "Sirganha",
			["right terminus"] = "Montecara",
		},
		["E"] = {
			["color"] = "D83777",
			["left terminus"] = "Xarìa",
			["right terminus"] = "Montecara",
		},
		["F"] = {
			["color"] = "808080",
			["left terminus"] = "Chorto",
			["right terminus"] = "Xarìa",
		},
    },
}
return p