Difference between revisions of "Module:Jcon/data"

From blackwiki
Jump to navigation Jump to search
blackwiki>BrandonXLF
(←Replaced content with '-- May be used')
blackwiki>Happy5214
(Reverted 1 edit by BrandonXLF (talk): Parent module reverted to old version that uses this data module. (TW))
Line 1: Line 1:
−
-- May be used
+
local p = {}
 +
 
 +
p.types = {Hwy = "Hwy", Highway = "Hwy", Sudbury = "Municipal", SB = "Municipal",
 +
          ["Greater Sudbury"] = "Municipal", GS = "Municipal", Muskoka = "District",
 +
          Durham = "Regional", Hamilton = "Regional", Halton = "Regional",
 +
          Niagara = "Regional", Peel = "Regional", Ottawa = "Regional",
 +
          Waterloo = "Regional", York = "Regional", KL = "KLR", ["Kawartha Lakes"] = "KLR",
 +
          ["Durham Regional Highway"] = "RH", DRH = "RH", BCH = "CH",
 +
          ["Brant County Highway"] = "CH", NCH = "CH", ["Norfolk County Highway"] = "CH"}
 +
 
 +
p.regions = {Hwy = '', Highway = '', KL = "Kawartha Lakes", SB = "Sudbury",
 +
            ["Greater Sudbury"] = "Sudbury", GS = "Sudbury", BCH = "Brant",
 +
            ["Brant County Highway"] = "Brant", CK = "Chatham-Kent",
 +
            HH = "Haliburton", LG = "Leeds and Grenville", LA = "Lennox and Addington",
 +
            NCH = "Norfolk", ["Norfolk County Highway"] = "Norfolk",
 +
            PB = "Peterborough", PR = "Prescott and Russell",
 +
            PEC = "Prince Edward", ["Prince Edward County"] = "Prince Edward",
 +
            SDG = "Stormont, Dundas and Glengarry", ["Durham Regional Highway"] = "Durham",
 +
            DRH = "Durham"}
 +
 
 +
return p

Revision as of 06:30, 4 October 2018

Documentation for this module may be created at Module:Jcon/data/doc

local p = {}

p.types = {Hwy = "Hwy", Highway = "Hwy", Sudbury = "Municipal", SB = "Municipal",
           ["Greater Sudbury"] = "Municipal", GS = "Municipal", Muskoka = "District",
           Durham = "Regional", Hamilton = "Regional", Halton = "Regional",
           Niagara = "Regional", Peel = "Regional", Ottawa = "Regional",
           Waterloo = "Regional", York = "Regional", KL = "KLR", ["Kawartha Lakes"] = "KLR",
           ["Durham Regional Highway"] = "RH", DRH = "RH", BCH = "CH",
           ["Brant County Highway"] = "CH", NCH = "CH", ["Norfolk County Highway"] = "CH"}

p.regions = {Hwy = '', Highway = '', KL = "Kawartha Lakes", SB = "Sudbury",
             ["Greater Sudbury"] = "Sudbury", GS = "Sudbury", BCH = "Brant",
             ["Brant County Highway"] = "Brant", CK = "Chatham-Kent",
             HH = "Haliburton", LG = "Leeds and Grenville", LA = "Lennox and Addington",
             NCH = "Norfolk", ["Norfolk County Highway"] = "Norfolk",
             PB = "Peterborough", PR = "Prescott and Russell",
             PEC = "Prince Edward", ["Prince Edward County"] = "Prince Edward",
             SDG = "Stormont, Dundas and Glengarry", ["Durham Regional Highway"] = "Durham",
             DRH = "Durham"}

return p