Jump to content

Module:Road data/strings/CAN/ON

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Happy5214 (talk | contribs) at 10:29, 24 March 2014 (Created page with '-- Ontario local ON = {} ON.I = {shield = "I-%route%.svg", link = "Interstate %route%", abbr = "I-%route%"} ON.ON = {shield = {["2A"] = "Ontari...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

-- Ontario
local ON = {}

ON.I = {shield = "I-%route%.svg",
        link = "Interstate %route%",
        abbr = "I-%route%"}

ON.ON = {shield = {["2A"] = "Ontario 2A.svg",
                   ["7A"] = "Ontario 7A.svg",
                   ["58A"] = "Ontario 58A.svg",
                   ["407"] = "Highway407crest.png",
                   ["QEW"] = "Ontario QEW.svg",
                   default = {hook = "split",
                              split = 500,
                              above = {ifexists = true,
                                       default = "Ontario Highway %route%.svg",
                                       otherwise = "Ontario Highway %route%.png"},
                              below = {ifexists = true,
                                       default = "Ontario %route%.svg",
                                       otherwise = "Ontario Highway %route%.svg"}}},
         link = {["QEW"] = "Queen Elizabeth Way",
                 default = "Ontario Highway %route%"},
         abbr = {["QEW"] = "QEW",
                 default = "Highway %route%"}}

ON.Hwy = ON.ON
ON.Highway = ON.ON

ON.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"}
           }

ON.TCH = {shield = "TCH blank.svg",
          link = "Trans-Canada Highway",
          abbr = "TCH"}

ON.QEW = {shield = "Ontario QEW.svg",
          link = "Queen Elizabeth Way",
          abbr = "QEW"}

ON.NY = {shield = "NY-%route%.svg",
         link = "New York State Route %route% [dab||(%dab%)|]",
         abbr = "NY %route%"}

ON.KLR = {shield = "KawarthaLakesRoad%route%.png",
          link = "Kawartha Lakes Road %route%",
          abbr = "KL Road %route%"}

ON.RR = {shield = {arg = "county",
                   ["Essex"] = "Essex County Road %route%.png",
                   ["York"] = "York Regional Road %route%.svg",
                   ["Kawartha Lakes"] = "KawarthaLakesRoad%route%.png",
                   ["CKL"] = "KawarthaLakesRoad%route%.png",
                   ["KL"] = "KawarthaLakesRoad%route%.png",
                   ["Simcoe"] = "Simcoe county road %route%.png"},
         link = {arg = "county",
                 ["CKL"] = "Kawartha Lakes Road %route%",
                 ["KL"] = "Kawartha Lakes Road %route%",
                 ["Kawartha Lakes"] = "Kawartha Lakes Road %route%",
                 ["Muskoka"] = "Muskoka District Road %route%",
                 ["Prescott and Russell"] = "Prescott and Russell County Road %route%",
                 ["Stormont, Dundas and Glengarry"] = "Stormont, Dundas and Glengarry County Road %route%",
                 ["Brant"] = "Brant County Road %route%",
                 ["Essex"] = "Essex County Road %route%",
                 ["Elgin"] = "Elgin County Road %route%",
                 ["Lambton"] = "Lambton County Road %route%",
                 ["Middlesex"] = "Middlesex County Road %route%",
                 ["Oxford"] = "Oxford County Road %route%",
                 ["Wellington"] = "Wellington County Road %route%",
                 ["Peterborough"] = "Peterborough County Road %route%",
                 ["Northumberland"] = "Northumberland County Road %route%",
                 ["Hastings"] = "Hastings County Road %route%",
                 ["Lennox and Addington"] = "Lennox and Addington County Road %route%",
                 ["Leeds and Grenville"] = "Leeds and Grenville County Road %route%",
                 ["Frontenac"] = "Frontenac County Road %route%",
                 ["Simcoe"] = "Simcoe County Road %route%",
                 ["Niagara"] = "Niagara Regional Road %route%",
                 ["Peel"] = "Peel Regional Road %route%",
                 ["Halton"] = "Halton Regional Road %route%",
                 ["Hamilton"] = "Hamilton Regional Road %route%",
                 ["Waterloo"] = "Waterloo Regional Road %route%",
                 ["Durham"] = "Durham Regional Road %route%",
                 ["York"] = "York Regional Road %route%",
                 ["Chatham-Kent"] = "Chatham-Kent Road %route%",
                 ["Ottawa"] = "Ottawa Road %route%"},
         abbr = {arg = "county",
                 ["Muskoka"] = "DR %route%",
                 ["Prescott and Russell"] = "CR %route%",
                 ["Stormont, Dundas and Glengarry"] = "CR %route%",
                 ["Brant"] = "CR %route%",
                 ["Chatham-Kent"] = "CR %route%",
                 ["Essex"] = "CR %route%",
                 ["Elgin"] = "CR %route%",
                 ["Lambton"] = "CR %route%",
                 ["Middlesex"] = "CR %route%",
                 ["Oxford"] = "CR %route%",
                 ["Wellington"] = "CR %route%",
                 ["Peterborough"] = "CR %route%",
                 ["Northumberland"] = "CR %route%",
                 ["Hastings"] = "CR %route%",
                 ["Lennox and Addington"] = "CR %route%",
                 ["Leeds and Grenville"] = "CR %route%",
                 ["Frontenac"] = "CR %route%",
                 ["Simcoe"] = "CR %route%",
                 ["Niagara"] = "RR %route%",
                 ["Peel"] = "RR %route%",
                 ["Hamilton"] = "RR %route%",
                 ["Halton"] = "RR %route%",
                 ["Ottawa"] = "RR %route%",
                 ["Waterloo"] = "RR %route%",
                 ["Durham"] = "RR %route%",
                 ["York"] = "RR %route%",
                 ["Kawartha Lakes"] = "KL Road %route%",
                 ["KL"] = "KL Road %route%"}}

ON.CR = ON.RR
ON.DR = ON.RR

return ON