Module:Sandbox/Tom Morris

From blackwiki
< Module:Sandbox
Revision as of 13:25, 19 May 2013 by blackwiki>Tom Morris (let's try again)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sandbox/Tom Morris/doc

local p = {}

p.spouse = function(frame)
    local entity = mw.wikibase.getEntity()
    return tostring(entity.claims.p26.mainsnak.datavalue.value["numeric-id"])
end

return p