Module:Country links: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 20: Line 20:
function p.make_donate_links( frame )
function p.make_donate_links( frame )


local country_list = frame.args
local language_code = p.page_language( frame )
local language_code = p.page_language( frame )
local t = {}
local t = {}
for key, value in ipairs(country_list) do
for key, value in ipairs(frame.args) do
table.insert(t, {value, p.get_country_name(language_code, value)})
table.insert(t, {value, p.get_country_name(language_code, value)})
end
end