मोड्युल:CountryData/cacheF
Module documentation[create]
You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this module. |
local CountryData = require('Module:CountryData')
local pages = {'Algeria', 'Azerbaijan', 'Bosnia_and_Herzegovina', 'Georgia_(country)', 'Hong_Kong', 'Latvia', 'Lithuania', 'Morocco', 'Pakistan', 'Republic_of_Ireland', 'Singapore', 'Uruguay'}
local p = {
data = {}
}
local frame = mw.getCurrentFrame()
for _,v in ipairs(pages) do
p.data[v] = CountryData.gettable(frame, v, {})
end
return p