Difference between revisions of "Module:sandbox/getProps"

From Rhizome Catalog
Jump to: navigation, search
(Created page with "local p = {} function p.getProps(frame) return mw.wikibase.entity:getProperties (frame.args[1]) end return p")
 
Line 2: Line 2:
  
 
function p.getProps(frame)
 
function p.getProps(frame)
     return mw.wikibase.entity:getProperties (frame.args[1])
+
     return mw.wikibase.entity:getProperties (Q4896)
 
     end
 
     end
 
      
 
      
 
return p
 
return p

Revision as of 00:59, 9 May 2016

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

local p = {}

function p.getProps(frame)
    return mw.wikibase.entity:getProperties (Q4896)
    end
    
return p