Content deleted Content added
attempting again to change the way colours are displayed |
No edit summary |
||
Line 1:
local melbourne = "%1 railway station, Melbourne"
local victoria = "%1 railway station, Victoria"
local s = "background-color: #%s; font-size: 160%%; color: #%s; padding: 0.4em; white-space: nowrap; margin: 0.25em;"
local c = {
Alamein = '152C6B', Belgrave = '152C6B', Craigieburn = 'FFBE00', Cranbourne = '279FD5',
Line 13 ⟶ 14:
["system icon"] = "[[File:Melbourne_train_logo.svg|18px|link=Railways in Melbourne|alt=Railways in Melbourne]]",
["system color"] = "0072ce",
["name format"] = {
string.format(s, c.sys, c.wht),
["Alamein"] = string.format(s, "152c6b", c.wht),
["Belgrave"] = string.format(s, "152c6b", c.wht),
["Craigieburn"] = string.format(s, "FFBE00", c.blk),
["Cranbourne"] = string.format(s, "279FD5", c.blk),
["Frankston"] = string.format(s, "028430", c.wht),
["Glen Waverley"] = string.format(s, "152c6b", c.wht),
["Hurstbridge"] = string.format(s, "BE1014", c.wht),
["Lilydale"] = string.format(s, "152c6b", c.wht),
["Mernda"] = string.format(s, "BE1014", c.wht),
["Pakenham"] = string.format(s, "279FD5", c.blk),
["Sandringham"] = string.format(s, "F178AF", c.wht),
["Sunbury"] = string.format(s, "FFBE00", c.blk),
["Upfield"] = string.format(s, "FFBE00", c.blk),
["Werribee"] = string.format(s, "028430", c.wht),
["Williamstown"] = string.format(s, "028430", c.wht)
},
["header background color"] = "0072ce",
["header text color"] = "ffffff",
|