Documentation for this module may be created at Module:NewModule/doc
local p = {}
function p.functionname(frame)
local frame = mw.getCurrentFrame()
local id = frame.args.id
local data = mw.wikibase.getEntityObject(id)
if not data then
return "no data"
end
local name = data:getLabel( "en" )
return '<b>' .. name .. '</b>'
end
return p