local p = {}
function p.functionname(frame)
local entity = mw.wikibase.getEntityObject(mw.wikibase.getEntityIdForCurrentPage())
if not entity then
return "no entity"
end
if type(entity) == 'table' then
local snak = entity:getProperties()
return '<b>' .. snak[0] .. ' </b>'
end
end
return p