Jump to content

Module:Road data/banners/USA

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fredddie (talk | contribs) at 05:20, 18 April 2016 (stupid error). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local USA = {}

USA.to = {
	shield = "To plate",
	shieldsize = "20px"
}

USA.dir = {
	shield = {
		arg = "dir",
		east = "East plate",
		north = "North plate",
		south = "South plate",
		west = "West plate",
		begins = "Begin plate",
		ends = "End plate"
	},
	shieldsize = "20px"
}

USA.suffix = {
	shield = {
		arg = "type",
		I = "blue",
		["I-Toll"] = "blue",
		BL = "green",
		BS = "green",
		CR = "county", -- this will need some nuance as not all CRs use the pentagon
		GRR = "Vermont",
		["US-Hist"] = "brown",
		default = {
			hook = "beginswith",
			base = "type",
			actions = {
				MN = "blue",
				SC = "South Carolina",
				SD = "South Dakota",
				VT = "Vermont",
				WY = "Wyoming"
			}
		}
	}
}

return USA