Module:CountryData/cacheF
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 = {'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