Module:CountryData/cacheU

MyWikiBiz, Author Your Legacy — Thursday November 14, 2024
Jump to navigationJump to search

Documentation for this module may be created at Module:CountryData/cacheU/doc

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