Module:CountryData/cacheC
Appearance
From Wikipedia, the free encyclopedia
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.
Add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this module.
local CountryData = require('Module:CountryData') local pages = {'Denmark', 'Finland', 'Great_Britain', 'Hungary', 'Mexico', 'New_Zealand', 'Norway', 'Portugal', 'Romania', 'South_Africa', 'South_Korea', 'Ukraine'} local p = { data = {} } local frame = mw.getCurrentFrame() for _,v in ipairs(pages) do p.data[v] = CountryData.gettable(frame, v, {}) end return p