FANDOM


local p = {}
local format = mw.ustring.format
 
-- Countries with separate state modules --
local countriesWithStates = {}
--- United States ---
local USA = {'AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MI', 'MN', 'MO', 'MS',
             'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'}
 
countriesWithStates.USA = USA
 
-- Countries without separate state modules --
 
local countries = {'HKG'}
 
-- Processing --
 
for country, states in pairs(countriesWithStates) do
	local countryTable = {}
	p[country] = countryTable
	for _, state in pairs(states) do
		countryTable[state] = format("Module:Road data/strings/%s/%s", country, state)
	end
end
 
for _, country in pairs(countries) do
	p[country] = format("Module:Road data/strings/%s", country)
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.