Module:Jcon/data
Appearance
| This module is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on help pages and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through sandbox testing rather than repeated trial-and-error editing. |
| Editing of this module by new or unregistered users is currently disabled. See the protection policy and protection log for more details. If you cannot edit this module and you wish to make a change, you can submit an edit request, discuss changes on the talk page, request unprotection, log in, or create an account. |
| This module depends on the following other modules: |
This module contains the data used by Module:Jcon, which is used by Template:Jcon.
--[[
Other signs (not roads)
]]--
local miscTable = {
["hospital"] = "[[File:Ontario M401.svg|19px]]",
["airport"] = "[[File:Ontario M502.svg|19px]]",
["bus"] = "[[File:Ontario M506.svg|19px]]",
["ferry"] = "[[File:Ontario M508.svg|19px]]",
["train station"] = "[[File:Ontario M509.svg|19px]]",
}
--[[
Turn proper division into type
]]--
local typeTable = {
["Highway"] = "Highway",
["Sudbury"] = "Municipal",
["Brant"] = "County",
["Bruce"] = "County",
["Chatham-Kent"] = "County",
["Dufferin"] = "County",
["Elgin"] = "County",
["Essex"] = "County",
["Frontenac"] = "County",
["Haldimand"] = "County",
["Grey"] = "County",
["Haliburton"] = "County",
["Hastings"] = "County",
["Huron"] = "County",
["Leeds and Grenville"] = "County",
["Lennox and Addington"] = "County",
["Lambton"] = "County",
["Middlesex"] = "County",
["Norfolk"] = "County",
["Northumberland"] = "County",
["Oxford"] = "County",
["Perth"] = "County",
["Lanark"] = "County",
["Peterborough"] = "County",
["Prescott and Russell"] = "County",
["Prince Edward"] = "County",
["Renfrew"] = "County",
["Simcoe"] = "County",
["Stormont, Dundas and Glengarry"] = "County",
["Wellington"] = "County",
["Muskoka"] = "District",
["Durham"] = "Regional",
["Hamilton"] = "Regional",
["Halton"] = "Regional",
["Niagara"] = "Regional",
["Peel"] = "Regional",
["Ottawa"] = "Regional",
["Waterloo"] = "Regional",
["York"] = "Regional",
["Kawartha Lakes"] = "Municipal",
-- Regional/Country Highways below
["Brant County Highway"] = "County Highway",
["Durham Regional Highway"] = "Regional Highway",
["Haldimand County Highway"] = "County Highway",
["Norfolk County Highway"] = "County Highway",
}
--[[
Turn improper names for division into proper division
]]--
local divisionTable = {
["hwy"] = "Highway",
["highway"] = "Highway",
["sb"] = "Sudbury",
["gs"] = "Sudbury",
["greater sudbury"] = "Sudbury",
["sudbury"] = "Sudbury",
["brant"] = "Brant",
["bruce"] = "Bruce",
["chatham kent"] = "Chatham-Kent",
["ck"] = "Chatham-Kent",
["chatham-kent"] = "Chatham-Kent",
["dufferin"] = "Dufferin",
["durham"] = "Durham",
["elgin"] = "Elgin",
["essex"] = "Essex",
["frontenac"] = "Frontenac",
["grey"] = "Grey",
["hamilton"] = "Hamilton",
["haldimand"] = "Haldimand",
["hh"] = "Haliburton",
["haliburton"] = "Haliburton",
["halton"] = "Halton",
["hastings"] = "Hastings",
["huron"] = "Huron",
["kawartha lake"] = "Kawartha Lakes",
["kl"] = "Kawartha Lakes",
["klinfo"] = "Kawartha Lakes",
["kawartha lakes"] = "Kawartha Lakes",
["lanark"] = "Lanark",
["lambton"] = "Lambton",
["lg"] = "Leeds and Grenville",
["leeds and grenville"] = "Leeds and Grenville",
["la"] = "Lennox and Addington",
["lennox and addington"] = "Lennox and Addington",
["muskoka"] = "Muskoka",
["niagara"] = "Niagara",
["norfolk"] = "Norfolk",
["northumberland"] = "Northumberland",
["ottawa"] = "Ottawa",
["oxford"] = "Oxford",
["middlesex"] = "Middlesex",
["peel"] = "Peel",
["perth"] = "Perth",
["pb"] = "Peterborough",
["peterborough"] = "Peterborough",
["pr"] = "Prescott and Russell",
["prescott and russell"] = "Prescott and Russell",
["pec"] = "Prince Edward",
["prince edward"] = "Prince Edward",
["renfrew"] = "Renfrew",
["simcoe"] = "Simcoe",
["sdg"] = "Stormont, Dundas and Glengarry",
["stormont, dundas and glengarry"] = "Stormont, Dundas and Glengarry",
["stormont, dundas, glengarry"] = "Stormont, Dundas and Glengarry",
["stormont dundas and glengarry"] = "Stormont, Dundas and Glengarry",
["waterloo"] = "Waterloo",
["wellington"] = "Wellington",
["yr"] = "York",
["york"] = "York",
-- Regional/Country Highways below
["bch"] = "Brant",
["brant county highway"] = "Brant County Highway",
["drh"] = "Durham Regional Highway",
["durham regional highway"] = "Durham Regional Highway",
["hch"] = "Haldimand County Highway",
["haldimand county highway"] = "Haldimand County Highway",
["nch"] = "Norfolk County Highway",
["norfolk county highway"] = "Norfolk County Highway",
}
--[[
Give code needed to make most pictures
]]--
local pictureTable = {
["Durham"] = {"RR "," jct.svg"},
["Essex"] = {"RR "," jct.svg"},
["Halton"] = {"Halton RR "," jct.svg"},
["Highway"] = {"Ontario "," crown.svg"},
["Kawartha Lakes"] = {"RR "," jct.svg"},
["Niagara"] = {"RR "," jct blue.svg"},
["Peel"] = {"Peel RR "," jct.svg"},
["Simcoe"] = {"RR "," jct.svg"},
["York"] = {"RR "," jct.svg"},
-- Regional/Country Highways below
["Durham Regional Highway"] = {"RR "," jct.svg"}
}
return {
pictureTable = pictureTable,
divisionTable = divisionTable,
typeTable = typeTable,
miscTable = miscTable
}