Jump to content

Module:CountryData/cacheU

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GKFX (talk | contribs) at 20:20, 3 May 2021 (Put the redirects all on the summary cache. *** existing text overwritten ***). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local CountryData = require('Module:CountryData')
local pages = {'U.S. Virgin Islands', 'UNESCO', 'Uganda', 'Ukraine', 'Ukrainian Soviet Socialist Republic', 'Union of South Africa', 'United Arab Emirates', 'United Arab Republic', 'United Kingdom of Great Britain and Ireland', 'United Kingdom', 'United Nations', 'United States Army', 'United States Federal Government', 'United States Marine Corps', 'United States Navy', 'United States military', 'United States', 'Upper Volta', 'Uruguay', 'Utah', 'Uzbekistan'}
local p = {
	data = {}
}
local frame = mw.getCurrentFrame()

for _,v in ipairs(pages) do
	p.data[v] = CountryData.gettable(frame, v, {})
end

return p