Module:CountryData/cacheX

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

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

local CountryData = require('Module:CountryData')
local pages = {'Arizona', 'Europe', 'Guadeloupe', 'Guernsey', 'Montana', 'Montserrat', 'Netherlands_Antilles', 'Northern_Mariana_Islands', 'Ottoman_Empire', 'Prussia', 'Washington,_D.C.', 'West_Indies'}
local p = {
    data = {}
}
local frame = mw.getCurrentFrame()

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

return p