66 654
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 405: | Riga 405: | ||
-- return "https://secure.sky-map.org/v2?ra=" .. RA .. "&de=" .. D | -- return "https://secure.sky-map.org/v2?ra=" .. RA .. "&de=" .. D | ||
local URI | local URI | ||
local Int | |||
local Frac | |||
URI = "http://www.wikisky.org/v2?ra=" .. RA .. "&de=" .. D .. "&zoom=4" | URI = "http://www.wikisky.org/v2?ra=" .. RA .. "&de=" .. D .. "&zoom=4" | ||
Int, Frac = math.modf(RA) | |||
return "[" .. URI .. " " .. | return "[" .. URI .. " " .. Int .. " " .. Frac .. "]" | ||
end | end | ||
--- Function to expand template contained within description, | --- Function to expand template contained within description, |