Module:ISO 3166/data: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 May 2024

  • curprev 13:0713:07, 12 May 2024Insui talk contribs 4,286 bytes +4,286 Created page with "local p = {} local data = mw.loadData("Module:ISO 3166/data/National") function p.list(frame) --Returns a list of subpages and associated countries local codes = {} for alpha2,cdata in pairs(data) do codes[#codes+1] = {alpha2,cdata.name} end table.sort(codes, function(t1,t2) return t1[1]<t2[1] end) local out = {"* National"} for _,cdata in ipairs(codes) do out[#out+1] = "* [[Module:ISO 3166/data/"..cdata[1].."|"..cdata[1].." ("..c..."