Module:Coordinates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11:
function displaytitle (s)
local l = "[[Geographic coordinate system|Coordinates]]: " .. s
local co = "'<span id='"coordinates'>">' .. l .. "'</span>"';
return "'<span style="font-size=': small'>">' .. co .. "'</span>"';
end
 
Line 427:
local Display = string.lower(args.display or "inline")
local text = ''
if string.find( Display, 'title' ) ~= nil then
text = text .. displaytitle(contents)
end
if string.find( Display, 'inline' ) ~= nil then
text = text .. displayinline(contents)
end
if string.find( Display, 'title' ) ~= nil then
text = text .. displaytitle(contents)
end
return text .. Notes
Anonymous user