Module:Sandbox/SUM1/UK place short description explained

local p = local plain = require('Module:Plain text')._mainlocal getArgs = require('Module:Arguments').getArgs

function p.shortdesc(frame) return frame:expandTemplateend

function p.main(frame) local args = getArgs (frame,) local countryName = plain(args.country) local text = countyName .. ', ' .. countryName if plain(args.lieutenancy_general) then if (plain(args.lieutenancy_general)

"London" or "London") then countyName = "Greater London" else countyName = plain(args.lieutenancy_general) end else countyName = "" end if short_description then if (short_description

'no') then return else return p.shortdesc(short_description, frame) end end

return p.shortdesc('Settlement in ' .. text, frame)end

return p