Module:Sandbox/Tom Morris

From blackwiki
< Module:Sandbox
Revision as of 13:39, 19 May 2013 by blackwiki>Tom Morris (debugging)
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()
    local label = entity.claims.p26[0].mainsnak.datavalue.value["numeric-id"]
    return label
end

return p