View source for Module:List of countries
MyWikiBiz, Author Your Legacy — Tuesday July 15, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local debug = false
--local get = require('Module:Transcluder').get
local p = {}
function p.ISO(frame)
local source = mw.title.new('List of countries in '..frame.args[1]):getContent()
if source then
local codes = ''
for code in string.gmatch(source, '%u%u%u') do
codes = codes..'%|'..code
end
if debug then
return 'List of countries in '..frame.args[1]
else
return codes
end
end
end
return p
000
1:0
Templates used on this page:
Return to Module:List of countries.