Razlika između verzija stranice "Modul:Coordinates"

[pregledana izmjena][pregledana izmjena]
Uklonjeni sadržaj Dodani sadržaj
No edit summary
No edit summary
Red 101:
if uriComponents == "" then
-- RETURN error, should never be empty or nil
return "ERRORGREŠKA paramparametar wasje emptybio prazan"
end
if args["name"] then
Red 107:
end
local geodmshtml = '<span class="geo-dms" title="Karte, Maps, aerialzračne photosfotografije, and otheri dataostali forpodacije thisove locationlokacije">'
.. '<span class="latitude">' .. coordinateSpec["dms-lat"] .. '</span> '
.. '<span class="longitude">' ..coordinateSpec["dms-long"] .. '</span>'
Red 130:
end
local geodechtml = '<span class="geo-dec" title="Karte, Maps, aerialzračne photosfotografije, and otheri dataostali forpodacije thisove locationlokacije">'
.. geodeclat .. ' '
.. geodeclong
Red 249:
if strong then
if lat_d < 0 then
table.insert(errors, {source, "latitudestepeni degreesgeografske širine < 0 withsa zastavicom hemisphereza flaghemisferu"})
end
if long_d < 0 then
table.insert(errors, {source, "longitudestepeni degreesgeografske dužine < 0 witha zastavicom hemisphereza flaghemisferu"})
end
--[[
Red 267:
if lat_d > 90 then
table.insert(errors, {source, "latitudestepeni degreesgeografske širine > 90"})
end
if lat_d < -90 then
table.insert(errors, {source, "latitudestepeni degreesgeografske širine < -90"})
end
if lat_m >= 60 then
table.insert(errors, {source, "latitudeminute minutesgeografske širine >= 60"})
end
if lat_m < 0 then
table.insert(errors, {source, "latitudeminute minutesgeografske širine < 0"})
end
if lat_s >= 60 then
table.insert(errors, {source, "latitudesekunde secondsgeografske širine >= 60"})
end
if lat_s < 0 then
table.insert(errors, {source, "latitudesekunde secondsgeografske širine < 0"})
end
if long_d >= 360 then
table.insert(errors, {source, "longitudestepeni degreesgeografske dužine >= 360"})
end
if long_d <= -360 then
table.insert(errors, {source, "longitudestepeni degreesgeografske dužine <= -360"})
end
if long_m >= 60 then
table.insert(errors, {source, "longitudeminute minutesgeografske dužine >= 60"})
end
if long_m < 0 then
table.insert(errors, {source, "longitudeminute minutesgeografske dužine < 0"})
end
if long_s >= 60 then
table.insert(errors, {source, "longitudesekunde secondsgeografske dužine >= 60"})
end
if long_s < 0 then
table.insert(errors, {source, "longitudesekunde secondsgeografske dužine < 0"})
end
Red 459:
args[3], nil, nil, args[4], args.format)
if args[6] then
table.insert(errors, {'formatTest', 'ExtraDodatni unexpectedneočekivani parametersparametri'})
end
if not result then
Red 496:
if snaktype == 'value' then
-- coordinates exist both here and on Wikidata, and can be compared.
ret = 'CoordinatesKoordinate onna WikidataWikipodacima'
elseif snaktype == 'somevalue' then
ret = 'CoordinatesKoordinate onna WikidataWikipodacima setsa tonepoznatom unknown valuevrijednostću'
elseif snaktype == 'novalue' then
ret = 'CoordinatesKoordinate onna WikidataWikipodacima setbez to no valuevrijednosti'
end
else
-- We have to either import the coordinates to Wikidata or remove them here.
ret = 'CoordinatesKoordinate notkoje onnisu Wikidatana Wikipodacima'
end
end
if ret then
return string.format('[[CategoryKategorija:%s]]', ret)
else
return ''