947
edits
m (65 revisions imported: infobox) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 120:
if not args[1] then
if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
return catnocountry, '<span style="font-size:100%" class="error">"No parameter for the country given"</span>'
end
Line 133 ⟶ 134:
end
end
if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
return catnocountry
else --3166-2 code
Line 150 ⟶ 152:
end
end
if mw.title.getCurrentTitle().namespace ~= 0 then catnosubdivision = '' end
end
end
if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry = '' end
return catnocountry
end
Line 258:
if region == '' then
region = p.luacode({country, nocat = 'true'})
if mw.title.getCurrentTitle().namespace ~= 0 then catnocountry, catnosubdivision = '', '' end
if region == '' then
tracking = tracking .. catnocountry
|