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 division into type ---------------------------------------------
--------------------------------------------------------------------------------
local typeTable = {
["Hwy"] = "Highway",
["Highway"] = "Highway",
["Sudbury"] = "Municipal",
["SB"] = "Municipal",
["Greater Sudbury"] = "Municipal",
["GS"] = "Municipal",
["Brant"] = "County",
["Bruce"] = "County",
["CK"] = "County",
["Chatham-Kent"] = "County",
["Dufferin"] = "County",
["Elgin"] = "County",
["Essex"] = "County",
["Frontenac"] = "County",
["Haldimand"] = "County",
["Grey"] = "County",
["HH"] = "County",
["Haliburton"] = "County",
["Hastings"] = "County",
["Huron"] = "County",
["LG"] = "County",
["Leeds and Grenville"] = "County",
["LA"] = "County",
["Lennox and Addington"] = "County",
["Lambton"] = "County",
["Middlesex"] = "County",
["Norfolk"] = "County",
["Northumberland"] = "County",
["Oxford"] = "County",
["Perth"] = "County",
["PB"] = "County",
["Lanark"] = "County",
["Peterborough"] = "County",
["Prescott and Russell"] = "County",
["PR"] = "County",
["Prince Edward County"] = "County",
["PEC"] = "County",
["Renfrew"] = "County",
["Simcoe"] = "County",
["Stormont, Dundas and Glengarry"] = "County",
["SDG"] = "County",
["Wellington"] = "County",
["Muskoka"] = "District",
["Durham"] = "Regional",
["Hamilton"] = "Regional",
["Halton"] = "Regional",
["Niagara"] = "Regional",
["Peel"] = "Regional",
["Ottawa"] = "Regional",
["Waterloo"] = "Regional",
["York"] = "Regional",
["KLinfo"] = "City",
["KL"] = "City",
["Kawartha Lakes"] = "City",
["Brant County Highway"] = "County Highway",
["BCH"] = "County Highway",
["Norfolk County Highway"] = "County Highway",
["NCH"] = "County Highway",
["Durham Regional Highway"] = "Regional Highway",
["DRH"] = "Regional Highway",
["Haldimand County Highway"] = "County Highway",
["HCH"] = "County Highway",
}
--------------------------------------------------------------------------------
---------- Turn alt names for division into division ---------------------------
--------------------------------------------------------------------------------
local altDivTable = {
["Hwy"] = "Highway",
["SB"] = "Sudbury",
["GS"] = "Sudbury",
["Greater Sudbury"] = "Sudbury",
["Brant County Highway"] = "Brant",
["BCH"] = "Brant",
["Chatham Kent"] = "Chatham-Kent",
["CK"] = "Chatham-Kent",
["Haldimand County Highway"] = "Haldimand",
["HCH"] = "Haldimand",
["HH"] = "Haliburton",
["LG"] = "Leeds and Grenville",
["LA"] = "Lennox and Addington",
["Norfolk County Highway"] = "Norfolk",
["NCH"] = "Norfolk",
["PB"] = "Peterborough",
["PR"] = "Prescott and Russell",
["PEC"] = "Prince Edward",
["SDG"] = "Stormont, Dundas and Glengarry",
["DRH"] = "Durham",
["Durham Regional Highway"] = "Durham",
["Prince Edward County"] = "Prince Edward",
["KL"] = "Kawartha Lakes",
["KLinfo"] = "Kawartha Lakes",
["YR"] = "York",
}
--------------------------------------------------------------------------------
---------- Give code needed to make most pictures ------------------------------
--------------------------------------------------------------------------------
local pictureTable = {
["Essex"] = {"Essex County Road ",".png"},
["York"] = {"York Regional Road ",".svg"},
["Kawartha Lakes"] = {"KawarthaLakesRoad",".png"},
["Durham"] = {"Durham Regional Road ",".svg"},
["Niagara"] = {"Niagara Regional Road ",".svg"},
["Peel"] = {"Peel Regional Road ",".svg"},
["Halton"] = {"Halton Regional Road ",".svg"},
["Simcoe"] = {"Simcoe Road "," sign.png"},
["Highway"] = {"Ontario ",".svg"},
}
return{
pictureTable=pictureTable,
altDivTable=altDivTable,
typeTable=typeTable,
miscTable=miscTable
}