Module:sandbox/getProps

From Rhizome Artbase
Jump to navigation Jump to search

Documentation for this module may be created at Module:sandbox/getProps/doc

local p = {}

function p.getProps(frame)
    for item_num = 4930,4940 do
        local item_id = "Q" .. item_num
        local props = mw.wikibase.entity:getProperties ( item_id )
        if props == nil then 
            props = ""
            end
    end
return props
end
return p