Modul:Wikidata: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
fix
HenkvD (bicara | kontrib)
Upper and lower case properties
Baris 50:
end
 
if (entity.claims == nil) or (not entity.claims[string.lower(options.property)]) then
return '' --TODO error?
end
Baris 56:
--Format statement and concat them cleanly
local formattedStatements = {}
for i, statement in pairs( entity.claims[string.lower(options.property)] ) do
table.insert( formattedStatements, formatStatement( statement, options ) )
end