Modulo:Coord/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
aggiorno con versione in campo |
sostituita getEntity con getEntityObject |
||
Riga 61:
local entity, value, lat, long
entity = mw.wikibase.
if entity and entity.claims and entity.claims.
entity.claims.
value = entity.claims.
lat = round(value.latitude, 6)
long = round(value.longitude, 6)
|