Module:Country links: Difference between revisions
Content deleted Content added
improve fallback |
No edit summary |
||
Line 60:
local name
if country_names_data[language_code] == nil then
end
if country_names_data[language_code][country_code] == nil then
else
end
return name
Line 99:
function p.build_all_regions( language_code )
local
for i,v in ipairs(p.regions) do
local region_name = p.get_country_name( language_code, v.name_code )
out = out .. '<div class="mw-collapsible-toggle continent-header">' .. region_name .. '</div>\n'
wikitext = wikitext .. p.make_donate_links( language_code, v.countries )▼
out = out .. '<div class="mw-collapsible-content country-list">\n'
out = out .. '</div>\n'
out = out .. '</div>\n'
end
return
end
function p.main( frame )
end
function p.page_language( frame )
local full_title = mw.title.getCurrentTitle().prefixedText
|