Difference between revisions of "Module:sandbox/getProps"

From Rhizome Catalog
Jump to: navigation, search
Line 2: Line 2:
  
 
function p.getProps(frame)
 
function p.getProps(frame)
     local props = mw.wikibase.entity:getProperties (Q4940)
+
     local props = mw.wikibase.entity:getProperties ('Q4940')
 
     return props
 
     return props
 
     end
 
     end
 
      
 
      
 
return p
 
return p

Revision as of 01:16, 9 May 2016

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

local p = {}

function p.getProps(frame)
    local props = mw.wikibase.entity:getProperties ('Q4940')
    return props
    end
    
return p