Jump to content

Module:CountryData/cacheU

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by GKFX (talk | contribs) at 20:09, 5 May 2021 (Re-arrange cache data by popularity). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local CountryData = require('Module:CountryData')
local pages = {'British_Columbia', 'British_Virgin_Islands', 'Connecticut', 'Cook_Islands', 'Empire_of_Japan', 'French_Polynesia', 'Marshall_Islands', 'New_Caledonia', 'North_Carolina', 'Pennsylvania', 'South_Carolina', 'United_Nations'}
local p = {
    data = {}
}
local frame = mw.getCurrentFrame()

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

return p