Module:Road data/banners/USA: Difference between revisions

Content deleted Content added
move/fix county
Tag: Reverted
fix
 
(6 intermediate revisions by the same user not shown)
Line 5:
arg = "type",
["US 1926"] = "",
["US 19261948"] = "",
["SR 1927"] = "",
["SR 1934 S"] = "",
Line 18 ⟶ 19:
shield = {
arg = "type",
["US 1926"] = "",
["SR 1927"] = "",
["SR 1934 S"] = "",
Line 49:
BS = "green",
["BL 1957"] = "green",
["BS 1957"] = "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",
["IA 1926"] = "1926",
["M 1948"] = "1961",
["M 1948-Bus"] = "1961",
["M 1948-Byp"] = "1961",
["M 1948-Conn"] = "1961",
["M 1948-Spur"] = "1961",
["M 1948-Truck"] = "1961",
["MN 1920"] = "1926",
["US-Hist"] = "brown",
["US 1926"] = "1926",
["US 1948"] = "1948",
["US 1961"] = "1961",
["US 1956 E"] = "brown",
["US 1956 W"] = "blue",
Line 59 ⟶ 80:
PR = {
arg = "state",
PR = "blue (es)"
},
Urban = "(es)",
Line 77 ⟶ 98:
VT = "Vermont",
WY = "Wyoming",
CR = {"county"
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"] = ""
}
}
}