وحدة:Wikidata2: الفرق بين النسختين

[نسخة منشورة][نسخة منشورة]
تم حذف المحتوى تمت إضافة المحتوى
إضافة إمكانية التحكم في عدد claims -تحسين
التعديلات سببت خللًا في {{قيمة ويكي بيانات/قالب تحقق}}
سطر 708:
end
end
local numval = options.numval
if numval and type(numval) == "number" and #claims > 1 then
local claimsnumval= {}
local ic = 1
while (numval >= ic) and (#claims >= ic) do
table.insert( claimsnumval, claims[ic] )
ic =ic +1
end
claims = claimsnumval;
end
return claims
end
السطر 841 ⟵ 831:
end
local tot = mw.text.listToText( valuetable, Separator, Conjunction )
tot = priff .. tot
if #valuetable > 1 then
tot = priff .. tot
end
if tot == '' then tot = nil end