You can edit almost every page by Creating an account and confirming your email.

Module:Road data/banners/USA

From EverybodyWiki Bios & Wiki

Documentation for this module may be created at Module:Road data/banners/USA/doc

local USA = {}

USA.to = {
	shield = {
		arg = "type",
		["US 1926"] = "",
		default = "To plate"
	},
	shieldsize = "20"
}

USA.dir = {
	shield = {
		arg = "type",
		["US 1926"] = "",
		default = {
			arg = "dir",
			east = "East plate",
			north = "North plate",
			south = "South plate",
			west = "West plate",
			begins = "Begin plate",
			ends = "End plate"
		}
	},
	shieldsize = "20"
}

USA.suffix = {
	shield = {
		arg = "type",
		I = "blue",
		["I-Toll"] = "blue",
		BL = "green",
		BS = "green",
		CR = {
			hook = "match",
			entry = "shield",
			actions = {
				-- %S+ represents a nonempty sequence of characters containing no spaces.
				-- Also need to escape dot with %.
				["CR %S+ jct%.svg"] = "county",
				["CR %S+ jct wide%.svg"] = "county",
				["County %S+ square%.svg"] = ""
			}
		},
		GRR = "Vermont",
		["US-Hist"] = "brown",
		default = {
			hook = "beginswith",
			base = "type",
			actions = {
				CA = "green",
				MN = "blue",
				SC = "South Carolina",
				SD = "South Dakota",
				VT = "Vermont",
				WY = "Wyoming"
			}
		}
	}
}

return USA