模組:Road data/strings/USA/MN

维基百科,自由的百科全书
文档图示 模块文档[创建]
--明尼蘇達州
local MN = {}

MN.I = {shield = "I-%route%.svg",
		name = "Interstate %route%",
        link = "%route%號州際公路明尼蘇達州段",
        abbr = "%route%號州際公路",
        width = "expand"}

MN["I-Alt"] = {	shield = "I-%route%.svg",
				name = "Interstate %route% Alternate",
    			link = "Interstate %route% Alternate (Minnesota)",
        		abbr = "I-%route% Alt.",
        		width = "expand",
        		banner="Alternate plate blue.svg"}

MN.BL = {shield = "Business Loop %route%.svg",
		 name = "Interstate %route% Business Loop",
         link = "%route%號州際公路商業線 (明尼蘇達州[dab||%dab%|])",
         abbr = "%route%號州際公路商業線",
         width = "expand"}

MN.US = {shield = "US %route%.svg",
		 name = "U.S. Highway %route%",
         link = "%route%號美國國道明尼蘇達州段",
         abbr = "%route%號美國國道",
         width = "expand"}

MN["US 1926"] = {shield = "US %route% (1926).svg",
				 name = MN.US.name,
                 link = MN.US.link,
                 abbr = MN.US.abbr,
                 width = "US1926"}         
 
MN["US 1948"] = {shield = "US %route% (1948).svg",
				 name = MN.US.name,
                 link = MN.US.link,
                 abbr = MN.US.abbr}
                 
MN["US 1961"] = {shield = "US %route% (1961).svg",
				 name = MN.US.name,
                 link = MN.US.link,
                 abbr = MN.US.abbr}
                 
MN["US-Bus"] = {shield = MN.US.shield,
				name = "U.S. Highway %route% Business",
                link = "U.S. Route %route% Business ([dab||%dab%, |]Minnesota)",
                abbr = "US %route% Bus.",
                banner = "Business plate.svg",
                width = "expand"}

MN.MN = {shield = {hook = "split",
                   split = 100,
                   above = "MN-%route% wide.svg",
                   below = "MN-%route%.svg"},
	 name = "Trunk Highway %route%",
         link = "%route%號明尼蘇達州州道",
         abbr = "%route%號明尼蘇達州州道",
         width = "expand"}

MN.TH = MN.MN

MN["MN-Bus"] = {shield = "MN-%route% Business.svg",
				name = "Trunk Highway %route% Business",
                link = "Minnesota State Highway %route% Business",
                abbr = "MN %route% Bus.",
                bannersuffix = "green"}

MN.CSAH = {shield = {arg = "county",
                   default    = "County %route% square.svg",
                   Anoka      = "County %route% (MN).svg",
                   ["Blue Earth"] = "County %route% (MN).svg",
                   Brown      = "County %route% (MN).svg",
                   Chisago    = "County %route% (MN).svg",
                   Clearwater = "County %route% (MN).svg",
                   Cottonwood = "County %route% (MN).svg",
                   Dakota     = "County %route% (MN).svg",
                   Fillmore   = "County %route% (MN).svg",
                   Freeborn   = "County %route% (MN).svg",
                   Goodhue    = "County %route% (MN).svg",
                   Hennepin   = "County %route% (MN).svg",
                   Isanti     = "County %route% (MN).svg",
                   Kittson    = "County %route% (MN).svg",
                   Lincoln    = "County %route% (MN).svg",
                   Martin     = "County %route% (MN).svg",
                   Mower      = "County %route% (MN).svg",
                   Murray     = "County %route% (MN).svg",
                   Nobles     = "County %route% (MN).svg",
                   Pennington = "County %route% (MN).svg",
                   Pope       = "County %route% (MN).svg",
                   Ramsey     = "County %route% (MN).svg",
                   ["Red Lake"]   = "County %route% (MN).svg",
                   Redwood    = "County %route% (MN).svg",
                   ["St. Louis"]  = "County %route% (MN).svg",
                   Scott      = "County %route% (MN).svg",
                   Stearns    = "County %route% (MN).svg",
                   Washington = "County %route% (MN).svg",
                   Wright     = "County %route% (MN).svg",
                   ["Yellow Medicine"] = "County %route% (MN).svg"},
           name = "County Road %route%",
           link = {ifexists = true,
                    default = "County Road %route% (%county% County, Minnesota)",
                  otherwise = ""},
           abbr = "CSAH %route%",
		bannersuffix = {
			hook = "match",
			entry = "shield",
			actions = {
				-- %S+ represents a nonempty sequence of characters containing no spaces.
				-- Also need to escape parentheses and dot with %.
				["County %S+ %(MN%)%.svg"] = "county"
			}
		}
	}

MN.CR = {shield = {arg = "county",
                   default    = "County %route% square.svg",
                   Anoka      = "County %route% (MN).svg",
                   ["Blue Earth"] = "County %route% (MN).svg",
                   Hennepin   = "County %route% (MN).svg",
                   Mower      = "County %route% (MN).svg",
                   Murray     = "County %route% (MN).svg",
                   Ramsey     = "County %route% (MN).svg",
                   ["Red Lake"]   = "County %route% (MN).svg",
                   Inter      = "Inter County Route %route% MN.svg"},
         name = {arg = "county",
         	    	default = MN.CSAH.name,
         	    	Inter = "Inter-"..MN.CSAH.name},
		link = {ifexists = true,
                    default = "County Road %route% (%county% County, Minnesota)",
                  otherwise = ""},
         abbr = {arg = "county",
                   default    = "CR %route%",
                   Inter      = "Inter-County %route%"},
         bannersuffix = {
			arg = "county",
			Inter = "county",
			default = {
				hook = "match",
				entry = "shield",
				actions = {
					-- %S+ represents a nonempty sequence of characters containing no spaces.
					-- Also need to escape parentheses and dot with %.
					["County %S+ %(MN%)%.svg"] = "county"
				}
			}
		}
}

MN.GRR = {shield = "GreatRiverRoad.svg",
	      link = "Great River Road",
	      abbr = "Great River Road [route||(%route% Route)|]",
             banner = {arg = "route",
          default = "",
           National = "National Route plate.svg",
            ["Alternate National"] = "Alternate plate.svg",
            Alternate = "Alternate plate.svg"
}
}

MN.Tour = {shield = {default = "Great Lakes Circle Tour.svg",
                     LSCT = "Lake Superior Circle Tour.svg",
                     LMCT = "Lake Michigan Circle Tour.svg",
                     LHCT = "Lake Huron Circle Tour.svg",
                     LECT = "Lake Erie Circle Tour.svg",
                     ["LSCT-Spur"] = "Lake Superior Circle Tour brown.svg",
                     ["LMCT-Spur"] = "Lake Michigan Circle Tour brown.svg",
                     ["LHCT-Spur"] = "Lake Huron Circle Tour brown.svg"},
           link = {default = "Great Lakes Circle Tour",
                   LSCT = "Lake Superior Circle Tour",
                   LMCT = "Lake Michigan Circle Tour",
                   LHCT = "Lake Huron Circle Tour",
                   LECT = "Lake Erie Circle Tour",
                   ["LSCT-Spur"] = "Lake Superior Circle Tour",
                   ["LMCT-Spur"] = "Lake Michigan Circle Tour",
                   ["LHCT-Spur"] = "Lake Huron Circle Tour"},
           abbr = {default = "GLCT",
                   LSCT = "LSCT",
                   LMCT = "LMCT",
                   LHCT = "LHCT",
                   LECT = "LECT",
                   ["LSCT-Spur"] = "LSCT Spur",
                   ["LMCT-Spur"] = "LMCT Spur",
                   ["LHCT-Spur"] = "LHCT Spur"},
           bannersuffix = {default = "green",
                   ["LSCT-Spur"] = "brown",
                   ["LMCT-Spur"] = "brown",
                   ["LHCT-Spur"] = "brown"}
            }
           
MN["MN 1920"] = {shield = "MN-%route% (1920).svg",
		 name = MN.MN.name,
                 link = "Minnesota State Highway %route% (1920)",
                 abbr = "TH %route%"}

MN["MN 1975"] = {shield = "MN-%route%.svg",
		 name = MN.MN.name,
                 link = MN.MN.link,
                 abbr = MN.MN.abbr}

                 
MN.IL = {alias = {module = "USA/IL", type = "IL"}}
MN.IA = {alias = {module = "USA/IA", type = "IA"}}
MN.ND = {alias = {module = "USA/NE", type = "ND"}}
MN.SD = {alias = {module = "USA/SD", type = "SD"}}
MN.WI = {alias = {module = "USA/WI", type = "WI"}}                 
MN.MB = {alias = {module = "CAN/MB", type = "Hwy"}}                 
MN.ON = {alias = {module = "CAN/ON", type = "Hwy"}}                 

return MN