Module:Settlement short description: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported: Template for journal )
imported>Jonesey95
(Undid revision 1071438822 by Jonesey95 (talk). false positive?)
 
Line 83: Line 83:
return
return
else
else
return p.shortdesc(short_description, frame)
local language = mw.language.getContentLanguage()
return p.shortdesc(language:ucfirst(short_description), frame)
end
end
end
end
Line 123: Line 124:
if location then location =  " in " .. location else location = "" end
if location then location =  " in " .. location else location = "" end
 
return p.shortdesc(settlement_type..location, frame)..p.categories
local language = mw.language.getContentLanguage()
return p.shortdesc(language:ucfirst(settlement_type..location), frame)..p.categories
end
end


return p
return p