קיין רעדאגירונג באמערקונג
(געשאַפֿן בלאַט מיט '--[[ This module is intended to replace the functionality of {{Coord}} and related templates. It provides several methods, including {{#Invoke:Coordinates |...') |
אין תקציר עריכה |
||
| שורה 310: | שורה 310: | ||
return specPrinter( args, result ) | return specPrinter( args, result ) | ||
else | else | ||
return specPrinter( args, result ) .. " " .. errorPrinter(errors) .. '[[ | return specPrinter( args, result ) .. " " .. errorPrinter(errors) .. '[[קאטעגאריע:בלעטער מיט פעלעדיקע קאארדינאטן טאגן]]'; | ||
end | end | ||
end | end | ||
| שורה 607: | שורה 607: | ||
local snaktype = entity.claims.P625[1].mainsnak.snaktype | local snaktype = entity.claims.P625[1].mainsnak.snaktype | ||
if snaktype == 'value' then | if snaktype == 'value' then | ||
wikidata_cat = '[[ | wikidata_cat = '[[קאטעגאריע:קאארדינאטן אויף וויקידאטן]]' -- coordinates exist both here and on Wikidata, and can be compared | ||
--elseif snaktype == 'somevalue' then | --elseif snaktype == 'somevalue' then | ||
-- wikidata_cat = '[[Category:Coordinates on Wikidata set to unknown value]]' | -- wikidata_cat = '[[Category:Coordinates on Wikidata set to unknown value]]' | ||
--elseif snaktype == 'novalue' then | --elseif snaktype == 'novalue' then | ||
-- wikidata_cat = '[[ | -- wikidata_cat = '[[קאטעגאריע:דפים עם נקודות ציון חסרות ערך בוויקינתונים]]' | ||
end | end | ||
else | else | ||
wikidata_cat = '[[ | wikidata_cat = '[[קאטעגאריע:קאארדינאטן נישט אויף וויקידאטן]]' -- we have to either import the coordinates to Wikidata or remove them here | ||
end | end | ||
if wikidata_cat then | if wikidata_cat then | ||