Modulo:Sandbox/Laurentius: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 32:
end
 
function p._map_data(qidsargs)
local points = {}
 
if args.area then
for _, qid in pairs(qids) do
local shape = {
type = "ExternalData",
service = "geoshape",
ids = args.area,
service = "geomask"
}
table.insert(points, shape)
end
 
for _, qid in= 1, pairs(qids)#args do
if mWikidata._getProperty({'P625', from = qid, snaktype = 'value'}) then
table.insert(points, p.map_point(qid))