Module:Jcon/data
Appearance
![]() | This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
![]() | 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",
["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"] = {"Durham Regional Road ",".svg"},
["Essex"] = {"Essex County Road ",".png"},
["Halton"] = {"Halton Regional Road ",".svg"},
["Highway"] = {"Ontario ",".svg"},
["Kawartha Lakes"] = {"KawarthaLakesRoad",".png"},
["Niagara"] = {"Niagara Regional Road ",".svg"},
["Peel"] = {"Peel Regional Road ",".svg"},
["Simcoe"] = {"Simcoe Road "," sign.png"},
["York"] = {"York Regional Road ",".svg"},
-- Regional/Country Highways below
["Durham Regional Highway"] = {"Durham Regional Highway ",".svg"}
}
return {
pictureTable = pictureTable,
divisionTable = divisionTable,
typeTable = typeTable,
miscTable = miscTable
}