אונטערשייד צווישן ווערסיעס פון "יחידה:Coordinates"

9 בייטן אראפגענומען ,  פֿאַר 8 יאָר
קיין רעדאגירונג באמערקונג
(געשאַפֿן בלאַט מיט '--[[ 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 = '[[קטגוריה:דפים עם נקודות ציון בוויקינתונים]]' -- coordinates exist both here and on Wikidata, and can be compared
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 = '[[קטגוריה:דפים עם נקודות ציון חסרות בוויקינתונים]]' -- we have to either import the coordinates to Wikidata or remove them here
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
אַנאנימער באַניצער