Module:Coordinates: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 4:
-- Attempt is not really to write a nice and proper module from scratch :D
local math_mod = require "Module:Math";
local wikitext = require "Module:Wikitext"
 
globalFrame = nil
Line 12 ⟶ 11:
function displaytitle (s)
local l = "[[Geographic coordinate system|Coordinates]]: " .. s
local co = wikitext.tag({name="<span",contents=l,params={ id="'coordinates'>" .. l .. "</span>"}});
return "<span font-size='small'>" .. co .. "</span>";
local p = {}
p["font-size"] = "small"
return wikitext.tag({name="span",contents=co,params=p})
end