Difference between revisions of "Module:Jcon/data"
Jump to navigation
Jump to search
blackwiki>BrandonXLF |
blackwiki>BrandonXLF (Added comments) |
||
| Line 3: | Line 3: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| − | local miscTable = { | + | local miscTable = { --------------- ADD OTHER PICTURES HERE |
["hospital"] = "[[File:Ontario M401.svg|19px]]", | ["hospital"] = "[[File:Ontario M401.svg|19px]]", | ||
["airport"] = "[[File:Ontario M502.svg|19px]]", | ["airport"] = "[[File:Ontario M502.svg|19px]]", | ||
| Line 15: | Line 15: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| − | local typeTable = { | + | local typeTable = { --------------- ADD PROPER AND IMPROPER NAMES HERE |
["Hwy"] = "Highway", | ["Hwy"] = "Highway", | ||
["Highway"] = "Highway", | ["Highway"] = "Highway", | ||
| Line 67: | Line 67: | ||
["Waterloo"] = "Regional", | ["Waterloo"] = "Regional", | ||
["York"] = "Regional", | ["York"] = "Regional", | ||
| + | ["YR"] = "Regional", | ||
["KLinfo"] = "City", | ["KLinfo"] = "City", | ||
["KL"] = "City", | ["KL"] = "City", | ||
| Line 84: | Line 85: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| − | local altDivTable = { | + | local altDivTable = { --------------- ADD IMPROPER NAMES HERE |
["Hwy"] = "Highway", | ["Hwy"] = "Highway", | ||
["SB"] = "Sudbury", | ["SB"] = "Sudbury", | ||
| Line 116: | Line 117: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| − | local pictureTable = { | + | local pictureTable = { --------------- ADD PICTURE RULES HERE (TRY TO USE SVG) |
["Essex"] = {"Essex County Road ",".png"}, | ["Essex"] = {"Essex County Road ",".png"}, | ||
["York"] = {"York Regional Road ",".svg"}, | ["York"] = {"York Regional Road ",".svg"}, | ||
Revision as of 21:07, 4 October 2018
Documentation for this module may be created at Module:Jcon/data/doc
--------------------------------------------------------------------------------
---------- Other signs (not roads) ---------------------------------------------
--------------------------------------------------------------------------------
local miscTable = { --------------- ADD OTHER PICTURES HERE
["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 = { --------------- ADD PROPER AND IMPROPER NAMES HERE
["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",
["YR"] = "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 = { --------------- ADD IMPROPER NAMES HERE
["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 = { --------------- ADD PICTURE RULES HERE (TRY TO USE SVG)
["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
}