Modulo:Sandbox/M.casanova/Beni: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica
mNessun oggetto della modifica
Riga 121:
local ww, t, wwid, wwlabel, wwlink
local tabella2 = {}
table.insert(tabella2, '{| class="wikitable sortable" width=100%\n|-\n!style="width:45px|Num !!style="width:100px"|Immagine !!style="width:25%"|Elemento !!Tipologia !!style="width:25%"|Luogo !!style="width:50px"|Mappa !!style="width:50px"|Commons')
while (benicul[i] and i<151) do
wid = benicul[i]
Riga 187:
wlat = entita.claims.P625[1].mainsnak.datavalue.value.latitude
wlon = entita.claims.P625[1].mainsnak.datavalue.value.longitude
wmappa = '{{#tag:maplink|[ { "type": "ExternalData", "service": "geoshape", "ids": "' .. comune ..'", "properties": { "stroke": "#8000060c0", "fill-opacity": 0 } },'..
'{ "type": "Feature", "properties": {"title": "'.. wlabel ..'", "marker-color": "0060c0"},'..
'"geometry": { "type": "Point", "coordinates": [ '.. wlon .. ',' .. wlat ..' ] } } ] |text=Mappa}}'
Riga 203:
table.insert(tabella2, wdesc)
table.insert(tabella2, '\n|style="font-size:90%"|' .. wtipo)
--table.insert(tabella2, '\n| ' .. wluogo)
table.insert(tabella2, '\n|align=center| ' .. wmappa)
table.insert(tabella2, '\n|align=center| ' .. wcommons)